FFmpeg
|
img_format.c File Reference
Include dependency graph for img_format.c:

Functions | |
const char * | ff_vo_format_name (int format) |
int | ff_mp_get_chroma_shift (int format, int *x_shift, int *y_shift, int *component_bits) |
Calculates the scale shifts for the chroma planes for planar YUV. More... | |
Function Documentation
int ff_mp_get_chroma_shift | ( | int | format, |
int * | x_shift, | ||
int * | y_shift, | ||
int * | component_bits | ||
) |
Calculates the scale shifts for the chroma planes for planar YUV.
- Parameters
-
component_bits bits per component
- Returns
- bits-per-pixel for format if successful (i.e. format is 3 or 4-planes planar YUV), 0 otherwise
Referenced by ff_mp_image_setfmt().
const char* ff_vo_format_name | ( | int | format | ) |
Generated on Sat Mar 8 2025 06:55:52 for FFmpeg by
