Mercurial > libavcodec.hg
diff dvdata.h @ 7614:1afa1171b7b2 libavcodec
Introducing DV_MAX_BPM macro instead of a hardcoded value for the
highest number of blocks per macroblock
author | romansh |
---|---|
date | Tue, 19 Aug 2008 16:00:26 +0000 |
parents | 06c291f42d5f |
children | 290fd3ae1219 |
line wrap: on
line diff
--- a/dvdata.h Tue Aug 19 10:43:47 2008 +0000 +++ b/dvdata.h Tue Aug 19 16:00:26 2008 +0000 @@ -2638,6 +2638,9 @@ /* largest possible DV frame, in bytes (PAL 50Mbps) */ #define DV_MAX_FRAME_SIZE 288000 +/* maximum number of blocks per macroblock in any DV format */ +#define DV_MAX_BPM 8 + static inline const DVprofile* dv_frame_profile(const uint8_t* frame) { if ((frame[3] & 0x80) == 0) { /* DSF flag */