comparison avcodec.h @ 1138:e10e841c9bf0 libavcodec

field pic decoding cleanup
author michaelni
date Sun, 16 Mar 2003 20:22:22 +0000
parents 7fb0b38ab5a3
children 21c85c4ab2f0
comparison
equal deleted inserted replaced
1137:7fb0b38ab5a3 1138:e10e841c9bf0
185 used */ 185 used */
186 #define CODEC_CAP_PARSE_ONLY 0x0004 186 #define CODEC_CAP_PARSE_ONLY 0x0004
187 #define CODEC_CAP_TRUNCATED 0x0008 187 #define CODEC_CAP_TRUNCATED 0x0008
188 188
189 #define FF_COMMON_FRAME \ 189 #define FF_COMMON_FRAME \
190 /**\
191 * pointer to the picture planes.\
192 * this might be different from the first allocated byte\
193 * - encoding: \
194 * - decoding: \
195 */\
190 uint8_t *data[4];\ 196 uint8_t *data[4];\
191 int linesize[4];\ 197 int linesize[4];\
192 /**\ 198 /**\
193 * pointer to the first allocated byte of the picture. can be used in get_buffer/release_buffer\ 199 * pointer to the first allocated byte of the picture. can be used in get_buffer/release_buffer\
194 * this isnt used by lavc unless the default get/release_buffer() is used\ 200 * this isnt used by lavc unless the default get/release_buffer() is used\
304 */\ 310 */\
305 int repeat_pict; 311 int repeat_pict;
306 312
307 313
308 #define FF_BUFFER_TYPE_INTERNAL 1 314 #define FF_BUFFER_TYPE_INTERNAL 1
309 #define FF_BUFFER_TYPE_USER 2 // Direct rendering buffers 315 #define FF_BUFFER_TYPE_USER 2 ///< Direct rendering buffers
310 #define FF_BUFFER_TYPE_SHARED 4 // input frame for encoding(wont be dealloced) 316 #define FF_BUFFER_TYPE_SHARED 4 ///< buffer from somewher else, dont dealloc
311 317
312 318
313 #define FF_I_TYPE 1 // Intra 319 #define FF_I_TYPE 1 // Intra
314 #define FF_P_TYPE 2 // Predicted 320 #define FF_P_TYPE 2 // Predicted
315 #define FF_B_TYPE 3 // Bi-dir predicted 321 #define FF_B_TYPE 3 // Bi-dir predicted