hevcdec: expose bits_used_for_short_term_rps
This commit is contained in:
parent
4e1f3ab184
commit
6eaca2abd8
2 changed files with 2 additions and 0 deletions
|
|
@ -703,6 +703,7 @@ static int hls_slice_header(HEVCContext *s)
|
|||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
sh->bits_used_for_short_term_rps = pos - get_bits_left(gb);
|
||||
sh->short_term_rps = &sh->slice_rps;
|
||||
} else {
|
||||
int numbits, rps_idx;
|
||||
|
|
|
|||
|
|
@ -268,6 +268,7 @@ typedef struct SliceHeader {
|
|||
|
||||
///< RPS coded in the slice header itself is stored here
|
||||
int short_term_ref_pic_set_sps_flag;
|
||||
int bits_used_for_short_term_rps;
|
||||
int short_term_ref_pic_set_size;
|
||||
ShortTermRPS slice_rps;
|
||||
const ShortTermRPS *short_term_rps;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue