summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-08-21 18:02:02 +0200
committerAnton Khirnov <anton@khirnov.net>2016-10-16 20:26:47 +0200
commitf6e2f8a9ffda2247bffba991450990d075ea68e3 (patch)
tree9493109957348fdc0069541e7c1762db61d503a3 /libavcodec/hevc.h
parent150c896a9e46b23b97debb0a5f66fbaeaa32f153 (diff)
downloadffmpeg-streaming-f6e2f8a9ffda2247bffba991450990d075ea68e3.zip
ffmpeg-streaming-f6e2f8a9ffda2247bffba991450990d075ea68e3.tar.gz
hevcdec: move parameter set parsing into a separate header
This code is independent from the decoder, so it makes more sense for it to to have its own header.
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 66816b8..9536608 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -62,4 +62,9 @@ enum HEVCNALUnitType {
#define HEVC_MAX_SHORT_TERM_RPS_COUNT 64
#define HEVC_MAX_CU_SIZE 128
+#define HEVC_MAX_REFS 16
+#define HEVC_MAX_DPB_SIZE 16 // A.4.1
+
+#define HEVC_MAX_LOG2_CTB_SIZE 6
+
#endif /* AVCODEC_HEVC_H */
OpenPOWER on IntegriCloud