diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-01-24 18:00:11 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-24 20:12:18 +0100 |
commit | f9435aa154b16e4569dfaf87262911c44e6d5a68 (patch) | |
tree | dda44ea46510be9f39b0ae4c5daaff6426c7cb84 /libavcodec/h264_parse.h | |
parent | 100bb72953e2d4128c4cd0ef5912820afa87b2bd (diff) |
lavc/h264: move MB_TYPE defs from h264dec.h to h264_parse
Allows to stop including h264dec.h in h264data.c.
Diffstat (limited to 'libavcodec/h264_parse.h')
-rw-r--r-- | libavcodec/h264_parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264_parse.h b/libavcodec/h264_parse.h index 553f2812ab..3901b46ac2 100644 --- a/libavcodec/h264_parse.h +++ b/libavcodec/h264_parse.h @@ -33,6 +33,9 @@ #include "get_bits.h" #include "h264_ps.h" +#define MB_TYPE_REF0 MB_TYPE_ACPRED // dirty but it fits in 16 bit +#define MB_TYPE_8x8DCT 0x01000000 + // This table must be here because scan8[constant] must be known at compiletime static const uint8_t scan8[16 * 3 + 3] = { 4 + 1 * 8, 5 + 1 * 8, 4 + 2 * 8, 5 + 2 * 8, |