diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-10-18 21:14:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-10-21 10:11:20 +0200 |
commit | 0bfdcce4d42a6e654c00ea5f9237dc987626457f (patch) | |
tree | 9ffae08f0f686aa135571427d49709012652356d /libavcodec/hevc.h | |
parent | 096a8effa3f8f3455292c958c3ed07e798def7bd (diff) | |
download | ffmpeg-0bfdcce4d42a6e654c00ea5f9237dc987626457f.tar.gz |
hevc: move the SliceType enum to hevc.h
Those values are decoder-independent and are also use by the VA-API
encoder.
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r-- | libavcodec/hevc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 95366088f8..bb4f660586 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -52,6 +52,12 @@ enum HEVCNALUnitType { HEVC_NAL_SEI_SUFFIX = 40, }; +enum HEVCSliceType { + HEVC_SLICE_B = 0, + HEVC_SLICE_P = 1, + HEVC_SLICE_I = 2, +}; + /** * 7.4.2.1 */ |