VLC 4.0.0-dev
|
Chroma conversion probing. More...
Go to the source code of this file.
Data Structures | |
struct | vlc_chroma_conv_result |
Chroma conversion result structure. More... | |
struct | vlc_chroma_conv_entry |
Chroma conversion entry structure. More... | |
struct | vlc_chroma_conv_vec |
Macros | |
#define | VLC_CHROMA_CONV_MAX_INDIRECT_STEPS 1 |
#define | VLC_CHROMA_CONV_CHAIN_COUNT_MAX (2 /* in + out */ + VLC_CHROMA_CONV_MAX_INDIRECT_STEPS) |
#define | VLC_CHROMA_CONV_FLAG_ONLY_YUV 0x1 |
Only accept YUV output chromas (the input chroma can be RGB) | |
#define | VLC_CHROMA_CONV_FLAG_ONLY_RGB 0x2 |
Only accept RGB output chromas (the input chroma can be YUV) | |
#define | VLC_CHROMA_CONV_FLAG_SORT_COST 0x4 |
Sort results by cost instead of quality. | |
#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 | |
struct vlc_chroma_conv_result * | vlc_chroma_conv_Probe (vlc_fourcc_t in, vlc_fourcc_t out, unsigned width, unsigned height, unsigned max_indirect_steps, int flags, size_t *count) |
Probe possible chroma conversions. | |
char * | vlc_chroma_conv_result_ToString (const struct vlc_chroma_conv_result *res) |
Get a string representing the result. | |
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. | |
Chroma conversion probing.