comparison avcodec.h @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 96da66323faa
children dfdb6bf4b90f
comparison
equal deleted inserted replaced
2452:73a66a4a6ab4 2453:f67b63ed036d
336 used */ 336 used */
337 #define CODEC_CAP_PARSE_ONLY 0x0004 337 #define CODEC_CAP_PARSE_ONLY 0x0004
338 #define CODEC_CAP_TRUNCATED 0x0008 338 #define CODEC_CAP_TRUNCATED 0x0008
339 /* codec can export data for HW decoding (XvMC) */ 339 /* codec can export data for HW decoding (XvMC) */
340 #define CODEC_CAP_HWACCEL 0x0010 340 #define CODEC_CAP_HWACCEL 0x0010
341 /** codec has a non zero delay and needs to be feeded with NULL at the end to get the delayed data */ 341 /**
342 * codec has a non zero delay and needs to be feeded with NULL at the end to get the delayed data.
343 * if this is not set, the codec is guranteed to never be feeded with NULL data
344 */
342 #define CODEC_CAP_DELAY 0x0020 345 #define CODEC_CAP_DELAY 0x0020
343 346
344 //the following defines might change, so dont expect compatibility if u use them 347 //the following defines might change, so dont expect compatibility if u use them
345 #define MB_TYPE_INTRA4x4 0x0001 348 #define MB_TYPE_INTRA4x4 0x0001
346 #define MB_TYPE_INTRA16x16 0x0002 //FIXME h264 specific 349 #define MB_TYPE_INTRA16x16 0x0002 //FIXME h264 specific