aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_parse.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-01-24 18:00:11 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-26 15:23:30 +0100
commitded77f56549097cb69a00bc05a5a575c8dc06f8f (patch)
tree4eeecd41debd0b8ac667d92d373c3d1204968a24 /libavcodec/h264_parse.h
parent2f1716dcd6f25ba92fd0fe357174ca3bed307bf1 (diff)
downloadffmpeg-ded77f56549097cb69a00bc05a5a575c8dc06f8f.tar.gz
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264_parse.h b/libavcodec/h264_parse.h
index 52b224f4c5..201d983952 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,