Mercurial > libavcodec.hg
comparison mpegvideo.h @ 1945:32f68745c431 libavcodec
passing AVFrame instead of AVPicture around in ffmpeg, that way stuff like motion vectors can be passed from the decoder to the encoder
moving ref_index from Picture to AVFrame
author | michael |
---|---|
date | Sat, 17 Apr 2004 19:41:49 +0000 |
parents | a3f44c9168aa |
children | a3c60fa850dc |
comparison
equal
deleted
inserted
replaced
1944:a3f44c9168aa | 1945:32f68745c431 |
---|---|
136 /** | 136 /** |
137 * halfpel luma planes. | 137 * halfpel luma planes. |
138 */ | 138 */ |
139 uint8_t *interpolated[3]; | 139 uint8_t *interpolated[3]; |
140 int16_t (*motion_val_base[2])[2]; | 140 int16_t (*motion_val_base[2])[2]; |
141 int8_t *ref_index[2]; | |
142 uint32_t *mb_type_base; | 141 uint32_t *mb_type_base; |
143 #define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if theres just one type | 142 #define MB_TYPE_INTRA MB_TYPE_INTRA4x4 //default mb_type if theres just one type |
144 #define IS_INTRA4x4(a) ((a)&MB_TYPE_INTRA4x4) | 143 #define IS_INTRA4x4(a) ((a)&MB_TYPE_INTRA4x4) |
145 #define IS_INTRA16x16(a) ((a)&MB_TYPE_INTRA16x16) | 144 #define IS_INTRA16x16(a) ((a)&MB_TYPE_INTRA16x16) |
146 #define IS_PCM(a) ((a)&MB_TYPE_INTRA_PCM) | 145 #define IS_PCM(a) ((a)&MB_TYPE_INTRA_PCM) |