libavfilter/libmpcodecs/img_format.c File Reference

#include "config.h"
#include "img_format.h"
#include "stdio.h"

Go to the source code of this file.

Functions

const char * vo_format_name (int format)
int mp_get_chroma_shift (int format, int *x_shift, int *y_shift)
 Calculates the scale shifts for the chroma planes for planar YUV.


Function Documentation

int mp_get_chroma_shift ( int  format,
int *  x_shift,
int *  y_shift 
)

Calculates the scale shifts for the chroma planes for planar YUV.

Returns:
bits-per-pixel for format if successful (i.e. format is 3 or 4-planes planar YUV), 0 otherwise

Definition at line 110 of file img_format.c.

Referenced by mp_image_setfmt().

const char* vo_format_name ( int  format  ) 

Definition at line 23 of file img_format.c.

Referenced by find_best().


Generated on Fri Oct 26 02:46:12 2012 for FFmpeg by  doxygen 1.5.8