Defines | |
#define | BC_RGB565 2 |
#define | BC_BGR565 3 |
#define | BC_BGR888 4 |
#define | BC_BGR8888 5 |
#define | BC_RGB888 6 |
#define | BC_RGBA8888 7 |
#define | BC_RGB161616 8 |
#define | BC_RGBA16161616 9 |
#define | BC_YUVA8888 10 |
#define | BC_YUV422 13 |
#define | BC_YUV420P 14 |
#define | BC_YUV422P 15 |
#define | BC_YUV444P 16 |
#define | BC_YUV411P 17 |
#define | BC_YUVJ420P 18 |
#define | BC_YUVJ422P 19 |
#define | BC_YUVJ444P 20 |
#define | BC_YUV422P16 21 |
#define | BC_YUV444P16 22 |
#define | BC_YUV422P10 23 |
#define | BC_YUVJ422P10 24 |
#define | LQT_COLORMODEL_NONE -1 |
Functions | |
const char * | lqt_colormodel_to_string (int colormodel) |
Convert a colormodel to a human readable string. | |
int | lqt_string_to_colormodel (const char *str) |
Convert a description string to a colormodel. | |
int | lqt_colormodel_is_planar (int colormodel) |
Check if a colormodel is planar. | |
int | lqt_colormodel_has_alpha (int colormodel) |
Check if a colormodel has an alpha (transperency) channel. | |
int | lqt_colormodel_is_rgb (int colormodel) |
Check, if a colormodel is RGB based. | |
int | lqt_colormodel_is_yuv (int colormodel) |
Check, if a colormodel is YUV based. | |
void | lqt_colormodel_get_chroma_sub (int colormodel, int *sub_h, int *sub_v) |
Get the chroma subsampling factors. | |
void | lqt_get_default_rowspan (int colormodel, int width, int *rowspan, int *rowspan_uv) |
Get the default row span for a colormodel and an image width. | |
int | lqt_colormodel_has_conversion (int in_cmodel, int out_cmodel) |
Check if a colormodel conversion is supported by libquicktime. | |
int | lqt_num_colormodels () |
Get number of supported colormodels. | |
const char * | lqt_get_colormodel_string (int index) |
Get a colormodel string. | |
int | lqt_get_colormodel (int index) |
Get a colormodel. | |
int | lqt_get_best_source_colormodel (int const *source_options, int target) |
Select a source colormodel from a provided list that is best for conversion into a specified target colormodel. | |
int | lqt_get_best_target_colormodel (int source, int const *target_options) |
Select a target colormodel from a provided list that is best for conversion from a specified source colormodel. |
|
16 bit RGB. Each pixel is a uint16_t in native byte order. Color masks are: for red: 0xf800, for green: 0x07e0, for blue: 0x001f |
|
16 bit BGR. Each pixel is a uint16_t in native byte order. Color masks are: for red: 0x001f, for green: 0x07e0, for blue: 0xf800 |
|
24 bit BGR. Each color is an uint8_t. Color order is BGR |
|
32 bit BGR. Each color is an uint8_t. Color order is BGRXBGRX, where X is unused |
|
24 bit RGB. Each color is an uint8_t. Color order is RGB |
|
32 bit RGBA. Each color is an uint8_t. Color order is RGBARGBA |
|
48 bit RGB. Each color is an uint16_t in native byte order. Color order is RGB |
|
64 bit RGBA. Each color is an uint16_t in native byte order. Color order is RGBA |
|
Packed YCbCrA 4:4:4:4. Each component is an uint8_t. Component order is YUVA |
|
Packed YCbCr 4:2:2. Each component is an uint8_t. Component order is Y1 U1 Y2 V1 |
|
Planar YCbCr 4:2:0. Each component is an uint8_t. Chroma placement is defined by lqt_chroma_placement_t |
|
Planar YCbCr 4:2:2. Each component is an uint8_t |
|
Planar YCbCr 4:4:4. Each component is an uint8_t |
|
Planar YCbCr 4:1:1. Each component is an uint8_t |
|
Planar YCbCr 4:2:0. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff) |
|
Planar YCbCr 4:2:2. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff) |
|
Planar YCbCr 4:4:4. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff) |
|
16 bit Planar YCbCr 4:2:2. Each component is an uint16_t in native byte order. |
|
16 bit Planar YCbCr 4:4:4. Each component is an uint16_t in native byte order. |
|
10 bit values in uint16_t native byte order containers, planar YCbCr 4:2:2. |
|
10 bit values in uint16_t native byte order containers, planar YCbCr 4:2:2. Luma and chroma values are full range (0 .. 1023) |
|
This value is used for termination of colormodel arrays |
|
Convert a colormodel to a human readable string.
|
|
Convert a description string to a colormodel.
|
|
Check if a colormodel is planar.
|
|
Check if a colormodel has an alpha (transperency) channel.
|
|
Check, if a colormodel is RGB based.
|
|
Check, if a colormodel is YUV based.
|
|
Get the chroma subsampling factors.
|
|
Get the default row span for a colormodel and an image width.
|
|
Check if a colormodel conversion is supported by libquicktime.
|
|
Get number of supported colormodels.
|
|
Get a colormodel string.
|
|
Get a colormodel.
|
|
Select a source colormodel from a provided list that is best for conversion into a specified target colormodel.
|
|
Select a target colormodel from a provided list that is best for conversion from a specified source colormodel.
|