aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/hevc.h
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-09-07 11:36:10 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-09-09 16:35:37 +0200
commitbf011695fd3a9cd717d5c13a6aa342d5e9c8840c (patch)
tree923f2354af2f9d1d431a2b5b66733e8552d0da0e /libavcodec/hevc.h
parent7055b28d988a59acb529b8043c70cd8cc65505e6 (diff)
downloadffmpeg-bf011695fd3a9cd717d5c13a6aa342d5e9c8840c.tar.gz
lavc/hevc: store VPS/SPS/PPS data
Diffstat (limited to 'libavcodec/hevc.h')
-rw-r--r--libavcodec/hevc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h
index be91010378..6a3c7506c2 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevc.h
@@ -387,6 +387,9 @@ typedef struct HEVCVPS {
uint8_t vps_poc_proportional_to_timing_flag;
int vps_num_ticks_poc_diff_one; ///< vps_num_ticks_poc_diff_one_minus1 + 1
int vps_num_hrd_parameters;
+
+ uint8_t data[4096];
+ int data_size;
} HEVCVPS;
typedef struct ScalingList {
@@ -483,6 +486,9 @@ typedef struct HEVCSPS {
int vshift[3];
int qp_bd_offset;
+
+ uint8_t data[4096];
+ int data_size;
} HEVCSPS;
typedef struct HEVCPPS {
@@ -557,6 +563,9 @@ typedef struct HEVCPPS {
int *tile_pos_rs; ///< TilePosRS
int *min_tb_addr_zs; ///< MinTbAddrZS
int *min_tb_addr_zs_tab;///< MinTbAddrZS
+
+ uint8_t data[4096];
+ int data_size;
} HEVCPPS;
typedef struct HEVCParamSets {