comparison pixdesc.h @ 9187:e10efe27c6b1 libavcodec

Implement a name field for AVPixFmtDescriptor.
author stefano
date Wed, 18 Mar 2009 20:10:09 +0000
parents 14e656ca3e17
children 49340eb6f96f
comparison
equal deleted inserted replaced
9186:f7fda987b769 9187:e10efe27c6b1
39 * @note This is separate of the colorspace (RGB, YCbCr, YPbPr, JPEG-style YUV 39 * @note This is separate of the colorspace (RGB, YCbCr, YPbPr, JPEG-style YUV
40 * and all the YUV variants) AVPixFmtDescriptor just stores how values 40 * and all the YUV variants) AVPixFmtDescriptor just stores how values
41 * are stored not what these values represent. 41 * are stored not what these values represent.
42 */ 42 */
43 typedef struct AVPixFmtDescriptor{ 43 typedef struct AVPixFmtDescriptor{
44 const char *name;
44 uint8_t nb_channels; ///< The number of components each pixel has, (1-4) 45 uint8_t nb_channels; ///< The number of components each pixel has, (1-4)
45 46
46 /** 47 /**
47 * Amount to shift the luma width right to find the chroma width. 48 * Amount to shift the luma width right to find the chroma width.
48 * For YV12 this is 1 for example. 49 * For YV12 this is 1 for example.