You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
h264_ps: expose max_dec_frame_buffering
This commit is contained in:
@@ -176,7 +176,7 @@ static inline int decode_vui_parameters(GetBitContext *gb, void *logctx,
|
|||||||
get_ue_golomb_31(gb); /* log2_max_mv_length_horizontal */
|
get_ue_golomb_31(gb); /* log2_max_mv_length_horizontal */
|
||||||
get_ue_golomb_31(gb); /* log2_max_mv_length_vertical */
|
get_ue_golomb_31(gb); /* log2_max_mv_length_vertical */
|
||||||
sps->num_reorder_frames = get_ue_golomb_31(gb);
|
sps->num_reorder_frames = get_ue_golomb_31(gb);
|
||||||
get_ue_golomb_31(gb); /*max_dec_frame_buffering*/
|
sps->max_dec_frame_buffering = get_ue_golomb_31(gb);
|
||||||
|
|
||||||
if (get_bits_left(gb) < 0) {
|
if (get_bits_left(gb) < 0) {
|
||||||
sps->num_reorder_frames = 0;
|
sps->num_reorder_frames = 0;
|
||||||
|
@@ -80,6 +80,7 @@ typedef struct SPS {
|
|||||||
int32_t offset_for_ref_frame[256];
|
int32_t offset_for_ref_frame[256];
|
||||||
int bitstream_restriction_flag;
|
int bitstream_restriction_flag;
|
||||||
int num_reorder_frames;
|
int num_reorder_frames;
|
||||||
|
int max_dec_frame_buffering;
|
||||||
int scaling_matrix_present;
|
int scaling_matrix_present;
|
||||||
uint8_t scaling_matrix4[6][16];
|
uint8_t scaling_matrix4[6][16];
|
||||||
uint8_t scaling_matrix8[6][64];
|
uint8_t scaling_matrix8[6][64];
|
||||||
|
Reference in New Issue
Block a user