diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2008-08-19 16:00:26 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2008-08-19 16:00:26 +0000 |
commit | cb879ec2fb67248adf9ca4762f36836cea0a8b26 (patch) | |
tree | f8de1e24b8802e24c2b798c2b116c93e6c87a284 /libavcodec/dvdata.h | |
parent | 2c8d438893ac37d15921b89014f749907c6cb239 (diff) | |
download | ffmpeg-cb879ec2fb67248adf9ca4762f36836cea0a8b26.tar.gz |
Introducing DV_MAX_BPM macro instead of a hardcoded value for the
highest number of blocks per macroblock
Originally committed as revision 14840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dvdata.h')
-rw-r--r-- | libavcodec/dvdata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h index c725e1a765..48ddfccd7a 100644 --- a/libavcodec/dvdata.h +++ b/libavcodec/dvdata.h @@ -2638,6 +2638,9 @@ enum dv_pack_type { /* 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 */ |