summaryrefslogtreecommitdiff
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-01-25 12:58:47 +0100
committerAnton Khirnov <anton@khirnov.net>2015-01-27 09:04:59 +0100
commit4b95e95dbae58c9b60891284bf8b5bbd83e5293a (patch)
tree0f2f1ba952e742727904252e41bbaff0f754b4a1 /libavcodec/hevc.h
parent36779a84051eae6744cc936d91b1d428143665ba (diff)
hevc: store the short term rps flag and size in the context
For future use by hardware accelerators. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index c4162e7353..b78b1645fc 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -543,6 +543,8 @@ typedef struct SliceHeader {
uint8_t colour_plane_id;
///< RPS coded in the slice header itself is stored here
+ int short_term_ref_pic_set_sps_flag;
+ int short_term_ref_pic_set_size;
ShortTermRPS slice_rps;
const ShortTermRPS *short_term_rps;
LongTermRPS long_term_rps;