summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2018-10-27 22:36:46 +0100
committerMark Thompson <sw@jkqxz.net>2018-11-18 17:33:26 +0000
commit7a20656474217cc84632b0738fa22fbaa13d1937 (patch)
treeb3e079294db64d554e82a27f8fef6ea72890780e /libavcodec/hevc.h
parent529debc98776f94651cc927c2c27cc6de611697f (diff)
downloadffmpeg-streaming-7a20656474217cc84632b0738fa22fbaa13d1937.zip
ffmpeg-streaming-7a20656474217cc84632b0738fa22fbaa13d1937.tar.gz
cbs_h265: Add a lot more SEI parsing support
Supports both prefix and suffix SEI, decoding all of the common SEI types and some more obscure ones. Most of this is tested by the existing tests in fate.
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index 670168e..56b5541 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -143,6 +143,9 @@ enum {
// A.4.1: table A.6 allows at most 20 tile columns for any level.
HEVC_MAX_TILE_COLUMNS = 20,
+ // A.4.2: table A.6 allows at most 600 slice segments for any level.
+ HEVC_MAX_SLICE_SEGMENTS = 600,
+
// 7.4.7.1: in the worst case (tiles_enabled_flag and
// entropy_coding_sync_enabled_flag are both set), entry points can be
// placed at the beginning of every Ctb row in every tile, giving an
OpenPOWER on IntegriCloud