FFmpeg
|
img_format.c File Reference
Include dependency graph for img_format.c:
Go to the source code of this file.
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
Definition at line 145 of file img_format.c.
Referenced by ff_mp_image_setfmt().
const char* ff_vo_format_name | ( | int | format | ) |
Definition at line 24 of file img_format.c.
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11