summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-10-18 21:14:18 +0200
committerAnton Khirnov <anton@khirnov.net>2016-10-21 10:11:20 +0200
commit0bfdcce4d42a6e654c00ea5f9237dc987626457f (patch)
tree9ffae08f0f686aa135571427d49709012652356d /libavcodec/hevcdec.h
parent096a8effa3f8f3455292c958c3ed07e798def7bd (diff)
downloadffmpeg-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/hevcdec.h')
-rw-r--r--libavcodec/hevcdec.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index 78080eb757..82adad20c6 100644
--- a/libavcodec/hevcdec.h
+++ b/libavcodec/hevcdec.h
@@ -85,12 +85,6 @@ enum RPSType {
NB_RPS_TYPE,
};
-enum SliceType {
- B_SLICE = 0,
- P_SLICE = 1,
- I_SLICE = 2,
-};
-
enum SyntaxElement {
SAO_MERGE_FLAG = 0,
SAO_TYPE_IDX,
@@ -242,7 +236,7 @@ typedef struct SliceHeader {
///< address (in raster order) of the first block in the current slice
unsigned int slice_addr;
- enum SliceType slice_type;
+ enum HEVCSliceType slice_type;
int pic_order_cnt_lsb;