mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
hevcdec: expose bits_used_for_short_term_rps
This commit is contained in:
parent
4e1f3ab184
commit
6eaca2abd8
@ -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…
x
Reference in New Issue
Block a user