VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_chroma_conv_entry |
Chroma conversion entry structure. More... | |
struct | vlc_chroma_conv_vec |
Macros | |
#define | set_callback_chroma_conv_probe(activate) |
#define | vlc_chroma_conv_add_in_outlist(vec, cost_factor, in, ...) |
Helper that add a list of out chroma conversions. | |
#define | vlc_chroma_conv_add_out_inlist(vec, cost_factor, out, ...) |
Helper that add a list of in chroma conversions. | |
Typedefs | |
typedef void(* | vlc_chroma_conv_probe) (vlc_chroma_conv_vec *vec) |
Module probe function signature. | |
Functions | |
static void | vlc_chroma_conv_add (vlc_chroma_conv_vec *vec, float cost_factor, vlc_fourcc_t in, vlc_fourcc_t out, bool twoway) |
Helper that add a chroma conversion. | |
static void | vlc_chroma_conv_add_in_outarray (vlc_chroma_conv_vec *vec, float cost_factor, vlc_fourcc_t in, const vlc_fourcc_t *out_array, size_t out_count) |
Helper that add an array of out chroma conversions. | |
static void | vlc_chroma_conv_add_out_inarray (vlc_chroma_conv_vec *vec, float cost_factor, vlc_fourcc_t out, const vlc_fourcc_t *in_array, size_t in_count) |
Helper that add an array of in chroma conversions. | |
#define set_callback_chroma_conv_probe | ( | activate | ) |
#define vlc_chroma_conv_add_in_outlist | ( | vec, | |
cost_factor, | |||
in, | |||
... | |||
) |
Helper that add a list of out chroma conversions.
#define vlc_chroma_conv_add_out_inlist | ( | vec, | |
cost_factor, | |||
out, | |||
... | |||
) |
Helper that add a list of in chroma conversions.
typedef void(* vlc_chroma_conv_probe) (vlc_chroma_conv_vec *vec) |
Module probe function signature.
vec | pointer to an allocated vector |
|
inlinestatic |
Helper that add a chroma conversion.
Must be called inside vlc_chroma_conv_probe()
vec | pointer to the vector of chromas |
cost_factor | cf. vlc_chroma_conv_entry.cost_factor |
in | cf. vlc_chroma_conv_entry.in |
out | cf. vlc_chroma_conv_entry.out |
twoway | if true, 'out' can also be converted to 'in' |
References vlc_chroma_conv_entry::cost_factor, vlc_chroma_conv_entry::in, vlc_chroma_conv_entry::out, and vlc_vector_push.
|
inlinestatic |
Helper that add an array of out chroma conversions.
Must be called inside vlc_chroma_conv_probe()
vec | pointer to the vector of chromas |
cost_factor | cf. vlc_chroma_conv_entry.cost_factor |
in | cf. vlc_chroma_conv_entry.in |
out_array | a list of out chromas |
out_count | number of elements in the out_array |
References vlc_chroma_conv_entry::cost_factor, vlc_chroma_conv_entry::in, and vlc_vector_push.
|
inlinestatic |
Helper that add an array of in chroma conversions.
Must be called inside vlc_chroma_conv_probe()
vec | pointer to the vector of chromas |
cost_factor | cf. vlc_chroma_conv_entry.cost_factor |
out | cf. vlc_chroma_conv_entry.out |
in_array | a list of out chromas |
in_count | number of elements in the in_array |
References vlc_chroma_conv_entry::cost_factor, vlc_chroma_conv_entry::out, and vlc_vector_push.