Exemplo n.º 1
0
        struct audio_frame     *(*func_get_audio_frame) (void *state);
        const char               *func_get_audio_frame_str;
        void                    (*func_put_audio_frame) (void *state, struct audio_frame *frame);
        const char               *func_put_audio_frame_str;
        int                     (*func_reconfigure_audio) (void *state, int quant_samples, int channels,
                        int sample_rate);
        const char               *func_reconfigure_audio_str;

        void                     *handle;
} display_table_t;

static display_table_t display_device_table[] = {
        {
         0,
         NULL,
         MK_STATIC(display_aggregate_probe),
         MK_STATIC(display_aggregate_init),
         MK_STATIC(display_aggregate_run),
         MK_STATIC(display_aggregate_done),
         MK_STATIC(display_aggregate_finish),
         MK_STATIC(display_aggregate_getf),
         MK_STATIC(display_aggregate_putf),
         MK_STATIC(display_aggregate_reconfigure),
         MK_STATIC(display_aggregate_get_property),
         MK_STATIC(display_aggregate_get_audio_frame),
         MK_STATIC(display_aggregate_put_audio_frame),
         MK_STATIC(display_aggregate_reconfigure_audio),
         NULL
         },
#if defined HAVE_SDL || defined BUILD_LIBRARIES
        {
Exemplo n.º 2
0
        const char *vo_postprocess_str;
        vo_postprocess_done_t done;
        const char *done_str;

        void *handle; /* for dynamically loaded libraries */
};

struct vo_postprocess_state {
        struct vo_postprocess_t *handle;
        void *state;
};

struct vo_postprocess_t vo_postprocess_modules[] = {
        {"3d-interlaced",
                NULL,
                MK_STATIC(interlaced_3d_init),
                MK_STATIC(interlaced_3d_postprocess_reconfigure),
                MK_STATIC(interlaced_3d_getf),
                MK_STATIC(interlaced_3d_get_out_desc),
                MK_STATIC(interlaced_3d_get_supported_codecs),
                MK_STATIC(interlaced_3d_postprocess),
                MK_STATIC(interlaced_3d_done),
                NULL
        },
        {"split",
                NULL,
                MK_STATIC(split_init),
                MK_STATIC(split_postprocess_reconfigure),
                MK_STATIC(split_getf),
                MK_STATIC(split_get_out_desc),
                MK_STATIC(split_get_supported_codecs),
Exemplo n.º 3
0
    },
#endif
#if defined HAVE_LAVC || defined  BUILD_LIBRARIES
    {
        "libavcodec",
        "libavcodec",
        MK_NAME(libavcodec_compress_init),
        MK_NAME(NULL),
        MK_NAME(libavcodec_compress_tile),
        NULL
    },
#endif
    {
        "none",
        NULL,
        MK_STATIC(none_compress_init),
        MK_STATIC(none_compress),
        MK_STATIC(NULL),
        NULL
    },
};

#define MAX_COMPRESS_MODULES (sizeof(compress_modules)/sizeof(struct compress_t))

/// @brief List of available display devices.
///
/// initialized automatically
static struct compress_t *available_compress_modules[MAX_COMPRESS_MODULES];
/// @brief Count of @ref available_compress_modules.
///
/// initialized automatically