Quelle level.c
Sprache: C
|
|
/*
* Copyright (c) 2019, Alliance for Open Media. All rights reserved.
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
* Media Patent License 1.0 was not distributed with this source code in the
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
*/
#include "av1/encoder/encoder.h"
#include "av1/encoder/level.h"
*
.
.max_picture_size = 0, \
max_h_size=0,\
.max_v_size = 0, \
max_display_rate =0, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
.max_decode_rate = 0, \
.max_header_rate = 0, \
.main_mbps = 0, \
.high_mbps = 0, \
.main_cr = 0, \
. ,\
.max_tiles = 0, \
.max_tile_cols = 0 }
static const *
{.evel SEQ_LEVEL_2_0,
. =147456,
.max_h_size = 2048,
.=1152,
.max_display_rate {.level =SEQ_LEVEL_MAX\
. 5529600L,
.max_header_rate = 150 .max_h_size =0, \
.main_mbps 15,
.. =0,\
.main_cr = 2.0,
.high_cr = 0,
.max_tiles = 8,
.max_tile_cols = 4 },
{ .level = SEQ_LEVEL_2_1,
.max_picture_size = 278784,
.max_h_size = 2816,
.max_v_size = 1584,
.max_display_rate = 8363520L,
.max_decode_rate = 10454400L,
.max_header_rate = 150,
java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
.high_mbps = 0,
.main_cr = 2.0,
.high_cr = 0,
.max_tiles = 8,
.max_tile_cols = 4 },
UNDEFINED_LEVEL,
UNDEFINED_LEVEL,
{ .level = SEQ_LEVEL_3_0,
.max_picture_size = 665856,
.max_h_size = 4352,
.max_v_size = 2448,
.max_display_rate = 19975680L,
.max_decode_rate = 24969600L,
.max_header_rate = 150,
.main_mbps = 6.0,
.high_mbps = 0,
.main_cr = 2.0,
.high_cr = 0,
.max_tiles = 16,
.max_tile_cols = 6 },
{ .level = SEQ_LEVEL_3_1,
.max_picture_size = 1065024,
.max_h_size = 5504,
.max_v_size = 3096,
.max_display_rate = 31950720L,
.max_decode_rate = 39938400L,
.max_header_rate = 150,
.main_mbps = 10.0,
.high_mbps = 0,
.main_cr = 2.0,
.high_cr = 0,
.max_tiles = 16,
.max_tile_cols = 6 },
UNDEFINED_LEVEL,
UNDEFINED_LEVEL,
{ .level = SEQ_LEVEL_4_0,
.max_picture_size = 2359296,
.max_h_size = 6144,
.max_v_size = 3456,
.max_display_rate = 70778880L,
.max_decode_rate = 77856768L,
.max_header_rate = 300,
.main_mbps = 12.0,
.high_mbps = 30.0,
.main_cr = 4.0,
.high_cr =4.,
.max_tiles = 32,
.max_tile_cols = 8 },
{ .level = SEQ_LEVEL_4_1,
.max_picture_size = 2359296,
.max_h_size = 6144,
.max_v_size = 3456,
.max_display_rate = 141557760L,
.max_decode_rate = 155713536L,
.max_header_rate 300,
.main_mbps = 20.0,
.high_mbps = 50.0,
.ain_cr 4.,
.high_cr = 4.0,
. =32java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
. =8}java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 31
.max_decode_ra = 5529600java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
{ .evel =SEQ_LEVEL_5_0,
.max_picture_size = 8912896,
.high_mbps ,
.max_v_size = 4352,
. .main_cr 0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
. 273715200L,
max_header_rate=300,
.main_mbps = 30.0,
.high_mbps = 100.0. 278784,
.main_cr = 6. .ax_v_size=1584java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.max_header_rat ,
. =64
cols ,
{ .level = SEQ_LEVEL_5_1,
.max_picture_size = 8912896,
.max_h_size = 8192,
.max_v_size = max_tiles =8java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.UNDEFINED_LEVEL
max_decode_rate =547430400,
.ax_header_rate 300,
.main_mbps = 40.0,
max_h_size=4352java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
. =80java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
max_header_rate 150,
.ax_tiles ,
.max_tile_cols = 8 high_mbps=0,
{ .level = .high_cr = 0
max_picture_size =8912896,
.max_tile_cols = 6 },
.max_v_size = 4352,
.max_display_rate = 1069547520L,
. max_picture_size=1065024java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
.max_header_rate = 300,
.main_mbps = 60.0,
.high_mbps = max_decode_rate 39938400L,
.main_mbps = 10.0,
.high_cr = 4.0,
.max_tiles = 64,
.max_tile_cols = 8 }, high_cr=0,
.ax_tile_cols = 6 }
.java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 18
max_h_size 8192,
.max_v_size =4352java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.max_display_rate =1069547520Ljava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.max_header_rate =300java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
. =300,
.main_mbps = 60.0,
.high_mbps = 240.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 64,
. = ,
{ .level = SEQ_LEVEL_6_0,
.max_picture_size 6144,
.max_h_size max_display_rate=141557760Ljava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
.max_v_size =200,
.max_display_rate =1069547520,
.max_decode_rate = 1176502272L,
.max_header_rate = 300,
.main_mbps = high_cr=40java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
. UNDEFINED_LE
.main_cr = 8.0,
.high_cr = 4.0,
.ax_tiles =128,
.max_tile_cols = 16 },
{ . .max_h = 8192java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
..max_decode_rate 273715200,
. =16384,
.max_v_size = main_mbps =30.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
.max_display_rate = 2139095040 high_cr=40
.max_decode_rate 2189721600L,
. =300,
.main_mbps = 100.0,
.high_mbpsmax_picture_size 8912896java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
. =8.,
.high_cr = 4.0,
.max_tiles = 128,
.max_tile_cols = max_header_rate=300java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
level ,
.java.lang.StringIndexOutOfBoundsException: Range [0, 21) out of bounds for length 19
..max_tiles ,
.max_v_size = 8704,
.max_display_ratemax_tile_cols ,
.max_decode_rate = 4379443200L,
.max_header_rate = 300,
. { .level = S,
. max_picture_size 8912896
.main_cr = 8.0,
.high_cr 4.,
.max_display_rate = 1069547520L,
.max_tile_cols = 16 },
{ .level = SEQ_LEVEL_6_3 =300,
=35651584,
.max_h_size high_mbps=240.,
.max_v_size = 8704, high_cr =4.,
.max_tile_cols = 8 },
.max_decode_rate = 4706009088L,
. =300java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
main_mbps 160.,
.high_mbps = 800.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 128,
.max_tile_cols = 16 },
#if CONFIG_CWG_C013
{ .level = SEQ_LEVEL_7_0,
.max_picture_size = 142606336,
.max_h_size = 32768,
.max_v_size = 17408,
.max_display_rate = 4278190080L,
.max_decode_rate = 4706009088L,
.max_header_rate = 300,
.main_mbps = 160.0,
.high_mbps = 800.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 256,
.max_tile_cols = 32 },
{ .level = SEQ_LEVEL_7_1,
.max_picture_size = 142606336,
.max_h_size = 32768,
.max_v_size = 17408,
.max_display_rate = 8556380160L,
.max_decode_rate = 8758886400L,
.max_header_rate = 300,
.main_mbps = 200.0,
.high_mbps = 960.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 256,
.max_tile_cols = 32 },
{ .level = SEQ_LEVEL_7_2,
.max_picture_size = 142606336,
.max_h_size = 32768,
.max_v_size = 17408,
.max_display_rate = 17112760320L,
.max_decode_rate = 17517772800L,
.max_header_rate = 300,
.main_mbps = 320.0,
.high_mbps = 1600.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 256,
.max_tile_cols = 32 },
{ .level = SEQ_LEVEL_7_3,
.max_picture_size
.java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 19
.,
.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
.max_display_rate=1069547520,
300,
.main_mbps = 320.0,
.high_mbps = 1600.0,
.java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
.high_cr = high_mbps=2400java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.max_tiles = 256.ax_tiles 128java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
.ax_tile_cols }
{ .level = .max_picture_size,
.max_picture_size = 530841600,
. =65536,
.max_v_size = 34816
.max_display_rate =. 2139095040,
max_decode_rate=18824036352,
.java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 27
.high_mbps =4800java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.high_mbps = 1600.0,
.main_cr 16}
. =4.,
.max_picture_size = 35651584,
.max_tile_cols = 64 },
{ .level = SEQ_LEVEL_8_1,
.max_picture_size = 530841600,
.max_h_size = 65536,
.max_v_size = 34816,
.max_display_rate = 34225520640L,
.max_decode_rate = 34910031052L,
.max_header_rate = 300,
.main_mbps = 400.0,
.high_mbps = 1920.0,
.main_cr = 8.0,
.high_cr = 4.0,
max_tiles=512
.max_tile_cols = max_display_rate =4278190080
{ .level = .max_header_rate = 300java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 27
.max_picture_size . .,
.max_h_size = 65536,
=34816,
.max_display_rate = 68451041280L,
.max_decode_rate = 69820062105L,
.const int upscaled_width-superres_upscaled_width;
.main_mbps = 640.0,
.high_mbps = 3200.0,
.main_cr = 8.0 constint height =cm-height;
.const =cm-tilescols;
.max_tiles = 512,
max_tile_cols=64}java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
{ .level = SEQ_LEVEL_8_3,
.const int luma_pic_size = upscaled_width * height;
.max_h_size = 65536,
.max_v_size intframe_header_countcpiframe_header_count
.const int show_framecm>;
.max_decode_rate = 75296145408L,
.max_header_rateconstintshow_existing_frame = cm>;
.main_mbps java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.high_mbps = 3200.0,
. min_cropped_t;
.high_cr = 4.0,
tmin_cropped_tile_height
.max_tile_cols = 64 },
#lse // !CONFIG_CWG_C013
UNDEFINED_LEVEL,
int tile_width_is_valid;
UNDEFINED_LEVEL,
UNDEFINED_LEVEL,
UNDEFINED_LEVEL,
get_tile_stats,-tile_data max_tile_size max_superres_tile_width
UNDEFINED_LEVEL&, min_cropped_tile_height
UNDEFINED_LEVEL,
#endif tile_width_is_valid
};
typedef enum {
LUMA_PIC_SIZE_TOO_LARGE
LUMA_PIC_H_SIZE_TOO_LARGE,
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
,
LUMA_PIC_V_SIZE_TOO_SMALL,
const spatial_layer_id cm>;
TOO_MANY_TILES,
TILE_RATE_TOO_HIGH,
TILE_TOO_LARGE,
SUPERRES_TILE_WIDTH_TOO_LARGE,
constBITSTREAM_PROFILE seq_params>;
const int =->till_picture;
TILE_WIDTH_INVALID,
FRAME_HEADER_RATE_TOO_HIGH,
DISPLAY_RATE_TOO_HIGH,
DECODE_RATE_TOO_HIGH /update
CR_TOO_SMALL,
// TODO(kyslov fix theimplementation to model
BITRATE_TOO_HIGH ( i 0;i <seq_params-operating_points_cnt_minus_1 +1;+){
DECODER_MODEL_FAIL,
(is_in_operating_point(eq_params->perating_point_idc[]
TARGET_LEVEL_OK,
} , spatial_layer_id)|
static (level_params>eep_level_stats>i) ) {
"The picture size is java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
"
"The picture AV1LevelInfo* level_info=level_params-[i]
"The picture assert( =NULL;
"The LevelStats *onst =&evel_info-level_stats;
"Too many tile
"Too many tiles are used.",
"The tile rate is too high.",
.",
"The superres tile width is too large.",
"The cropped tile width is less than 8.",
The heightislessthan8"
"The tile width is invalid.", >in_cropped_tile_width =
" AOMMIN(evel_stats>min_cropped_tile_width,min_cropped_tile_width)
"The level_stats> =
"The decoded lumaAOMMIN(-min_cropped_tile_height,java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 78
"The compression ratio is too small.",
"The product of max tile size and header rate is too high.",
"The bitrate is too high.",
"The decoder model fails.",
};
static double get_max_bitrate(const AV1LevelSpec *const level_spec, int tier,
BITSTREAM_PROFILE profile) {
if (level_spec->level < SEQ_LEVEL_4_0) tier = 0;
const double bitrate_basis =
(tier ? level_spec->high_mbps : level_spec->main_mbps) * 1e6;
const double bitrate_profile_factor =
profile == PROFILE_0 ? 1.0 : (profile == PROFILE_1 ? 2.0 : 3.0);
return *bitrate_profile_factor;
}
double av1_get_max_bitrate_for_level(AV1_LEVEL level_index, int tier,
BITSTREAM_PROFILE profile) {
assert( level_stats->min_frame_width(level_stats-,width;
return - =
}
void av1_get_max_tiles_for_level(AV1_LEVEL level_index, int *const max_tiles,
int* max_tile_cols){
assert(is_valid_seq_level_idx(level_index));
level_stats-total_compressed_size =(oublesize
*max_tiles = level_spec->max_tiles
*max_tile_cols = level_spec->java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 24
}
// We assume time t to be valid if and only if t >= 0.0.
// So INVALID_TIME can be defined as anything less than 0.
#define INVALID_TIME (-1 -m =
// This corresponds to "free_buffer" in the spec.
static voidrelease_bufferDECODER_MODEL*onstdecoder_modelint ){
assert(idx >= 0 && idx < BUFFER_POOL_MAX_SIZE);
FRAME_BUFFER *const_size =
this_buffer->decoder_ref_count = 0;
this_buffer- (evel_spec-,cm>);
this_buffer->display_index = -1;
this_buffer->level_spec->max_v_size = AOMMAX(level_spec->max_v_size, height);
}
static void initialize_buffer_pool(DECODER_MODEL *const decoder_model) {
for (int i =0; i BUFFER_POOL_MAX_SIZE +i){
release_buffer(decoder_model, i level_spec-max_tile_cols =AOMMAX(evel_spec>,tile_cols;
}
for (int i = 0; i < REF_FRAMES; ++i) >ax_tiles =AOMMAXlevel_spec>ax_tiles,tiles)
decoder_model->vbi[i] = -1;
}
}
FrameWindowBuffer *onst =&evel_info-frame_window_buffer
for (int i = 0; i < store_frame_record(s_start, ,luma_pic_size
constframe_header_count,tiles,show_frame,
&decoder_model->frame_buffer_pool[i];
if (this_buffer->decoder_ref_count == 0 & , buffer;
if show_frame java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
return i;
}
return -1;
}
static void update_ref_buffers show_frame ?count_frames(uffer,TICKS_PER_SEC) :0;
int scan_past_frames(buffer, encoded_frames_in_last_second, level_spec,
FRAME_BUFFER *const this_buffer = &decoder_model->frame_buffer_pool[ level_stats;
for (int i = 0; i < REF_FRAMES; ++i) {
if (refresh_frame_flags & (1 << i)) {
const intpre_idx =decoder_model>bii]
if (pre_idx != -1) {
-decoder_model-frame_buffer_pool[re_idx]decoder_ref_count
}
->bi[]=idx
++this_buffer->decoder_ref_count;
}
}
}
// The time (in seconds) required to decode a frame.
static double time_to_decode_frame for (V1_LEVEL level =SEQ_LEVEL_2_0; level <SEQ_LEVELS;+level java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
int64_tmax_decode_rate){
if (cm->show_existing_frame) return 0.0;
const FRAME_TYPE
int luma_samples // Check whether target level is met.
if (frame_type const AV1_LEVEL target_level = level_params->target_seq_level_idx[i];
luma_samples = cm->superres_upscaled_width
} else {
const intspatial_layer_dimensions_present_flag;
if (java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 43
assert(0 & fail_id =check_level_constraints(
{
const SequenceHeader *const seq_params = cm->seq_params;
(ail_id!=TARGET_LEVEL_OK){
const int max_frame_height = seq_params->max_frame_heightconstinttarget_level_major 2+( >2;
luma_samples = max_frame_width * max_frame_height;
}
}
return luma_samples / (double)max_decode_rate;
}
// Release frame buffers that are no longer needed for decode or display.
// It corresponds to "start_decode_at_removal_time" in the spec.
static voidrelease_processed_frames const decoder_modeljava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
double removal_time) {
for (int i = 0; i < BUFFER_POOL_MAX_SIZE; ++i) {
FRAME_BUFFER *const this_buffer = &decoder_model->java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 66
if (this_buffer->player_ref_count > 0) {
if (this_buffer->presentation_time >= 0.0 &&
this_buffer-> java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
this_buffer->player_ref_count = 0;
if (this_buffer->decoder_ref_count == 0) {
aom_codec_err_t av1_get_seq_level_idx(const SequenceHeader *seq_params,
}
}
}
}
}
static int frames_in_buffer_pool(const DECODER_MODEL *const decoder_model) {
int frames_in_pool = 0;
for (int i = 0; i <const intis_still_picture=seq_params>;
const BITSTREAM_PROFILEprofile-profile;
&decoder_model- for (nt op =0; -operating_points_cnt_minus_1 +1;+op){
if (this_buffer->decoder_ref_count > 0 ||
this_buffer->player_ref_count seq_level_idx[p]= (intSEQ_LEVEL_MAX;
++frames_in_pool;
}
}
return frames_in_pool;
}
const tierseq_params>iero/
const AV1LevelInfo *const level_inflevel_params>[]java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
if (decoder_model->mode == SCHEDULE_MODE) {
assert( & "CHEDULE_MODE NOT SUPPORTED"java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
turn INVALID_TIME;
} else fail_id check_level_constraints(
const level_info,level ,,profile 1)
if (fail_id =TARGET_LEVEL_OK java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
seq_level_idxo =evel
// known.
break;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
}}
decoder_model->display_clock_tick;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
}
java.lang.NullPointerException
static double time_next_buffer_is_free( aaom_codec_err_t av1_get_target_seq_level_idx *
decoder_buffer_delay,
constjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 77
current_time java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
if. 0, \
java.lang.StringIndexOutOfBoundsException: Range [18, 10) out of bounds for length 50
}
double buf_free_time level
for (int i = 0; i < BUFFER_POOL_MAX_SIZE; ++i) {
const FRAME_BUFFER onst this_buffer =&[i;
((->eep_level_stats >op)&1) java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 27
if (this_buffer-> target_seq_level_idx[op] = level_pa[op -target_seq_level_idxjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
;
}
return AOM_CODEC_OK;
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 1
=presentation_time
}
}
}
return buf_free_time < MAX_TIME ? buf_free_time : INVALID_TIME;
}
# .igh_cr = ,
get_removal_timemode ,
{ level =SEQ_LEVEL_3_0,
*java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 69
ble current_time) {
if (mode == SCHEDULE_MODE) {
assert(0 &&"SCHEDULE_MODE IS NOT SUPPORTED YET");
return INVALID_TIME;
} else {
return java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 25
}.ax_v_size=3096,
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 1
#if 0
// Print the status of the decoder model (for debugging).
void java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 25
printf(
"\n %,num_frame %3d, num_decoded_frame %3d, "
"num_shown_framemax_h_size =6144,
"max_display_rate =70778880L,
>java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 54
.main_cr =4.,
decoder_model->java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 48
decoder_model->java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 23
for (int i=300,
FRAME_BUFFER* =
&->java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 45
" d, %d displaycount %,time %.f\,
i,
this_buffer->presentation_time);
}
}
#endif
// op_index is the operating point index.
static void decoder_model_init(const AV1_COMP *const cpi, AV1_LEVEL level,
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
*decoder_model java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
decoder_model->status = DECODER_MODEL_OK;
l
const.=.0java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
const .max_tiles = 64
decoder_model-> { .level = SEQ_LEVEL_5_
av1_level_defs + level,seq_params-tier[p_index],seq_params-profile)java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
// TODO(huisu or anyone): implement SCHEDULE_MODE.java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
=64,
.level = SEQ_LEVEL_5_3
decoder_model->decoder_buffer_delay=70000;
-java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 43
decoder_model->high_mbps 2400,
decoder_model-ljava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 32
decoder_model->removal_time = INVALID_TIME;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 50
decoder_model-max_h_size16384,
decoder_model.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 39
decoder_model->max_display_rate = 0.0;
.high_cr=4.0,
decoder_model->num_decoded_frame = -1;
max_tiles =128java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [5, 3) out of bounds for length 33
initialize_buffer_pool
t dfg_interval_queue =
&decoder_model-.=.,
dfg_interval_queue->total_interval = 0.0;
dfg_interval_queue-> . =4.0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 33
ifjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 35
decoder_model->java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 19
seq_params-.max_tile_cols=16 }java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
decoder_model->isplay_clock_tick=
->timing_info.num_units_in_display_tick /
seq_params->timing_info.time_scale;
} else .ax_display_rate=4278190080L,
decoder_model . 300java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
->java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 61
}
decoder_model>initial_display_delay =
seq_params->p_params[op_index].initial_display_delay;
decoder_model->initial_presentation_delay = INVALID_TIME;
java.lang.StringIndexOutOfBoundsException: Range [28, 15) out of bounds for length 69
}
av1_decoder_model_try_smooth_bufjava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
const java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 49
const .main_mbpsmain_mbps =160.,
.=80java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
(decoder_model |decoder_model-status =){{
max_picture_s = 142606336java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
const .main_mbps =200.0java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
->java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
size_t java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 65
int num_decoded_framejava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 34
if java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
if (high_mbps=1600,
return status. .,
} else {
const double removal_time = get_removal_time(
decoder_model->ode num_decoded_frame,
decoder_model->decoder_buffer_delay, java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 24
decoder_model->current_time);
if (removal_time < 0.0) {
status = DECODE_FRAME_BUF_UNAVAILABLE;
return status;
}
// A frame with show_existing_frame being false indicates the end of a DFG.
// Update the bits arrival time of this DFG.
buffer_delay =decoder_model>encoder_buffer_delay+
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 21
90000.0;
const =34816,
const.java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 36
= 1600.0,
40,
max_tiles 512
djava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 57
// Smoothing buffer underflows if the last bit arrives after the removaljava.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 24
// time.
if (.=1920,
!decoder_modeljava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
{level java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
return status;
}
// Check if the smoothing buffer overflows.
const DFG_INTERVAL_QUEUE *const queue = &decoder_model .max_v_size = 34816,
if (queue->size >= DFG_INTERVAL_QUEUE_SIZE) {
assert(0);
}
java.lang.StringIndexOutOfBoundsException: Range [33, 10) out of bounds for length 50
int qhead = queue->head;
int qsize = queue-/*
/ thewithtime last_bit_arrival_time
while (queue->buf[qhead].removal_time <= last_bit_arrival_time &&
qsize > 0) {
if (.level = SEQ_LEVEL_8_3
=5536java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
. {
.max_decode_rate=75296145408L,
return status;
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
=queue-bufq] -
.ain_cr 8.,
qhead =(head + .=4,
--qsize;
}
= -first_bit_arrival_time;
. = 64 ,
to 1 second of total interval.
if ( * PATENTS file can itatwwwaomedia./java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 18
OTHING_BUFFER_OVERFLOW;
return status;
}
return ;
}
static void LUMA_PIC_V_SIZE_TOO_LARGEjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
size_t coded_bits,
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 21
if (decoder_model . 0
const high_mbps 0java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 69
constjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
const java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 29
+
>java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 63
-java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
decoder_model>+ coded_bits;
display_idx -
if (show_existing_frame) {
display_idx = decoder_model->vbi .max_h_size " manytile columns .,
if (display_idx < 0) {
decoder_model"tile java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 32
return
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if(-frame_buffer_pooldisplay_idx. KEY_FRAME java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
" frameheader rate is too high"
}
} elseThe.main_mbps5java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
removal_time=(
The decoder."java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
djava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 78
>urrent_time;
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 25
-status= DECODE_FRAME_BUF_UNAVAILABLE
return;
}
=decoder_model;
java.lang.StringIndexOutOfBoundsException: Range [16, 9) out of bounds for length 69
assert( profile == PROFILE_0?1.0 : (profile.ax_h_size ,
- max_display_rate=8363520Ljava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
decoder_model->java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0
const . =30java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Range [17, 8) out of bounds for length 70
void int const java.lang.StringIndexOutOfBoundsException: Range [77, 76) out of bounds for length 77
// A frame with show_existing_frame being false indicates the end of a DFG. assert(l)
// Update the bits arrival time of this DFG.
double decoder_model-java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 18
decoder_model-java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 31
90000.// This corresponds to "free_buffer" in the spec.
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 34
->irst_bit_arrival_time
. =60
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 42
decoder_model-first_bit_arrival_time+
(double)decoder_model->coded_bits this_buffer-> high_cr=0
ifthelastbitarrivesthe removal
// time.
if (decoder_model->last_bit_arrival_time > removal_time &&
!decoder_model->is_low_delay_mode) {
decoder_model->statusjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
{ >[ java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
}
java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 45
decoder_model- . ,
// Check if the smoothing buffer overflows.max_decode_rate&-i;
= &decoder_model-.=150
if (queue->size.ain_mbps=ijava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
assert(0);
}
const double first_bit_arrival_time = decoder_model->first_bit_arrival_time;
const double last_bit_arrival_timehigh_cr=,
// Remove the DFGs with removal time earlier than last_bit_arrival_time.
while (queue->buf[queue int java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 18
queue . *onstthis_buffer =&ecoder_model>[]
queue->bufqueue-head]removal_time - .ax_h_size 6144java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [35, 1) out of bounds for length 34
1.. ,
-=;
return;
queue->total_interval -= java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
[queue-head].first_bit_arrival_time;
queue->head = (queue->head + 1) % DFG_INTERVAL_QUEUE_SIZE;
--queue->size;
}
// Push current DFG into the queue.
const queue_index =
(queue->head + queue->size++) % DFG_INTERVAL_QUEUE_SIZE;
queue->buf[queue_index].first_bit_arrival_time = first_bit_arrival_time;
queue->uf[]last_bit_arrival_time = last_bit_arrival_time;
queue->buf[queue_index].java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 23
queue->total_interval += last_bit_arrival_time - java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 20
g canhold b bits java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
// equivalent to 1 second of total interval.
if .assert0&Spatial dimensionsjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 65
. 2359296,
return;
}
release_processed_frames=max_frame_width max_frame_height;
decoder_modelluma_samples dmjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
removal_time + time_to_decode_frame(cm, void release_processed_frames(DECODER_MODEL *const decoder_model
const int =get_free_buffer(decoder_model);
if (cfbi < 0) {
decoder_model->status = DECODE_FRAME_BUF_UNAVAILABLE;
return;
}
const CurrentFrame *const if (this_buffer->player_ref_count0 {
decoder_model-frame_buffer_pool[cfbi] .max_display_rate= 141557760L,
){
display_idx = cfbi;
java.lang.StringIndexOutOfBoundsException: Range [42, 22) out of bounds for length 80
if
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (frames_in_buffer_pool(decoder_model) >=
decoder_model->initial_display_delay int ;i < ++ {
decoder_model->initial_presentation_delay =&>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 45
// Update presentation time for each shown frame in the frame buffer.
for (int i = 0; i < java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 19
FRAME_BUFFER *const this_bufferjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 20
&decoder_modeljava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
.ax_h_size= 8192java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
assert(this_buffer->display_index .ax_display_rate LNOT";
>resentation_time =
decoder_model java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 79
}
}
}
// Display.
*-java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 65
assert
FRAME_BUFFER *defineMAX_TIMEe16java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 25
decoder_model-display_idx; . java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
++this_buffer->player_ref_countmax_h_size= 8192,
this_buffer->display_index . const java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
const double presentation_time =
get_presentation_time(decoder_model, this_buffer->display_index);
this_buffer>presentation_time java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 55
if (presentation_time >= 0.0 &&
decoder_model->current_time > presentation_time) {
decoder_model->status = DISPLAY_FRAME_LATE; for (int =0; <BUFFER_POOL_MAX_SIZEjava.lang.StringIndexOutOfBoundsException: Range [43, 20) out of bounds for length 20
return
352java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [28, 9) out of bounds for length 79
max_decode_rate=
decoder_modelconstdoublejava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 70
if (presentation_time >= (.main_mbps =0,
assert(previous_presentation_time < .
const double this_display_rate. .
max_tile_cols = }
(presentation_time - previous_presentation_time
decoder_modelmax_display_rate java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
AOMMAXdecoder_model> ;
}
.ax_h_size 8192,
}
voidcpi{
return INVALID_TIME;
AV1LevelInfo *const this_level_info =
-ppi>level_params.level_info[op_index];
if (!this_level_info) return time_next_buffer_is_free(,decoder_buffer_delay,
memset(this_level_info, 0, sizeof(*this_level_info));
AV1LevelSpec *java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 1
level_spec->level max_tile_cols 8java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 79
AV1LevelStats *const { .3java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 71
level_stats->presentation delay %6.2finterval %.fn,
level_stats->min_cropped_tile_height = > java.lang.StringIndexOutOfBoundsException: Range [55, 53) out of bounds for length 71
level_stats->min_frame_width = INT_MAX;decoder_model-..max_h_size 16384,
level_stats->max_display_rate = 1069547520L
= 1;
level_stats (. 300
&high_mbps = 2400,
&this_level_info->frame_window_buffer;
frame_window_buffer->num = 0;
frame_window_buffer->startthis_buffer>) 16},
java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 46
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 44
const int decoder_model-status java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 23
for (const *cm= java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
decoder_model-bit_rate.= java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
const AV1LevelSpec *const spec
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 38
ize>->java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 46
/ Turn off decoder model for this level as the frame size already
.max_v_size = ,java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
this_model->decoder_model> java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
} max_header_rate ,
main_mbps 160.0,
}
-max_display_rate 0.0java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
}
}
statichigh_cr = 0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
ture {
if (java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 0
if(level_spec-level java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
>java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 79
const double java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 31
(double java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 42
j, 0.)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
}
double av1_get_min_cr_for_level(AV1_LEVEL level_index, high_mbps=8000java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
int is_still_picture) {
java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 40
decoder_model-java.lang.StringIndexOutOfBoundsException: Range [45, 43) out of bounds for length 59
return decoder_model->decode_rate av1_level_defs# CONFIG_CWG_C013
level_spec-max_decode_rate;
}
static void const AV1_COMP *const cpi, const. 32768java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
int *java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 49
){
s if (scalability_mode_idc
}
* = ;
return;
}
// TODO(huisu@): handle scalability cases.
size_t cur_coded_bits=decoder_model>
voidsjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
(java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
(void)= java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
d level java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
}
# status=.max_h_size = 32768max_h_size32768java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
#define .max_display_rate = 855638016
16
#max_header_rate=300,
# // A frame with show_existing_frame being false indicates the end of a DFG.
atic java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 52
const java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
int is_still_picture, BITSTREAM_PROFILE profile,const const double,
.= ,
const{.leveljava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 32
(!java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 42
returnjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 5
}
const AV1LevelSpec * level_spec =&level_info->level_spec;
const AV1LevelSpec *const target_level_spec java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 24
if (-size > java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 19
TARGET_LEVEL_FAIL_ID fail_id = TARGET_LEVEL_OK
do {
if l>ax_picture_size>target_level_spec-max_picture_size java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
fail_id = LUMA_PIC_SIZE_TOO_LARGE;
break;
}
if (level_spec->max_h_size > target_level_spec->max_h_size) {
C_H_SIZE_TOO_LARGE(>uf]java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 67
break;
}
if (java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
fail_id = java.lang.StringIndexOutOfBoundsException: Range [24, 20) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (java.lang.StringIndexOutOfBoundsException: Range [48, 17) out of bounds for length 48
TILE_COLUMNS;
break;
}
(->x_tiles >- {
fail_id = TOO_MANY_TILES;
break;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (level_spec
fail_id = FRAME_HEADER_RATE_TOO_HIGHsize_t
break;
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 5
if (decoder_model->max_display_rate >
(double) const AV1_COMMON *const cm .java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [6, 1) out of bounds for length 24
break;.main_cr= .,
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
by the
// model because the model in resource availability mode always returns
// MaxDecodeRate(as in the level definitions) as the max decode rate.
if (level_spec->max_decode_rate > target_level_spec->max_decode_rate decoder_model->oded_bits+ ;
fail_id= DECODE_RATE_TOO_HIGH;
break
}
if (level_spec->max_tile_rate > target_level_spec->max_tiles * 120) {
fail_id java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 27
breakjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
if ( . >java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 80
(decoder_model, display_idx, x);
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (level_stats->java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 26
={ .level = SEQ_LEVEL_8_2 java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
;
ax_h_size 65536java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
if (level_stats->min_cropped_tile_width < MIN_CROPPED_TILE_WIDTH) {
fail_id = CROPPED_TILE_WIDTH_TOO_SMALL;
break;
}
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 24
IGHT_TOO_SMALL;
break;
java.lang.StringIndexOutOfBoundsException: Range [26, 5) out of bounds for length 5
level_stats-min_frame_width< java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 57
fail_id = LUMA_PIC_H_SIZE_TOO_SMALL;
break;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if max_tile_cols java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 70
fail_id = LUMA_PIC_V_SIZE_TOO_SMALL;
break;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if (!max_h_size java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 68
;
}
doublemin_cr= java.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 44
40java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
fail_id = CR_TOO_SMALL;
break;
}
if (check_bitrate) {
// Check average bitrate instead of max_bitrate.
const doublejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
get_max_bitrate(java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 18
const double avg_bitrate = level_stats->java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 26
level_stats->java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 14
if (avg_bitrate > bitrate_limit) {
java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
break;
}
}
if (target_level_spec-> TOO_MANY_TILES,
int temporal_parallel_num;
int temporal_parallel_denom;
const int scalability_mode_idc = -1;
rams(scalability_mode_idc, java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 32
&temporal_parallel_denom);
const int java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 7
temporal_parallel_denom / temporal_parallel_num;
if java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
break;
}
}
} T;
java.lang.StringIndexOutOfBoundsException: Range [16, 8) out of bounds for length 17
}
static void get_tile_stats(/java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
*const ,
int -
int *min_cropped_tile_width
int *min_cropped_tile_height,
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 37
const int tile_cols = cm->tiles.cols;
consttile_rows= cm->tilesrows;
const int superres_scale_denominator
*max_tile_size = 0;
* "Too many tiles are used
*java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
*min_cropped_tile_height = INT_MAXjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 55
tile_width_valid= 1java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
for (intif dwidthis .,
for (int tile_col = 0; tile_col < tile_cols; + cropped isless ."
*=
&tile_data[tile_row * cm->java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 39
const int tile_width =
(tile_info->mi_col_end - tile_info->mi_col_start) * MI_SIZE;
const int tile_height =
(tile_info->mi_row_end - tile_info- ->initial_display_delay 1) {
const int tile_size = tile_width * tile_heightThe maxtilesize // Update presentation time for each shown frame in the frame buffer.
*ax_tile_size "bitrate .,
const int supperres_tile_width &ecoder_model[]java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
_width *java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 68
max_superres_tile_width=
AOMMAX(* if (level_spec->leveljava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
int =
cm->width - tile_info- (isplay_idx> 0&&java.lang.StringIndexOutOfBoundsException: Range [37, 7) out of bounds for length 39
const int cropped_tile_height =
cm->height - tile_info->mi_row_start * MI_SIZE;
*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
AOMMIN(*min_cropped_tile_width, cropped_tile_widththis_buffer-presentation_time =presentation_time;
*min_cropped_tile_height =if (presentation_time > 00 &
AOMMIN(*decoder_model->current_time presentation_time)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
const int is_right_most_tile =
tile_info->mi_col_end == cm->mi_params.mi_cols;
if (!is_right_most_tile) {
if (av1_superres_scaled(cm))
* &= tile_width >= 128;
else
*tile_width_valid &= tile_width >= 64;
}
}
java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 3
static int store_frame_record(int64_t java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 64
int *java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 39
intjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*onst {
ifjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
++// We *onst java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 69
} else {
-=(>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
constnew_idx(java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 76
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 52
=java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 35
recordts_endupscaled_width =cm>java.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 59
_java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 47
record->pic_size = pic_size;
record->frame_header_count = frame_header_count;
-t=tiles;
>=show_frame
record-pic_size }
this_mode> java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
}
// Count the number of frames encoded in the last "duration" ticks, in display
// time.
static for( i=0;i <REF_FRAMES+i java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
int64_t duration) {
const int current_idx = ijava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 35
// Assume current frame is shown frame. double min_cr_basis =java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0
assert(buffer->buf[current_idx].show_frame);
const int64_t current_time = buffer->buf[current_idx].ts_end;
const int64_t time_limit = AOMMAX(current_time (/level_spec>java.lang.StringIndexOutOfBoundsException: Range [65, 64) out of bounds for length 65
int num_frames = 1;
= -1;
for (int i *onstlevel_spec=&av1_level_defsfjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 45
if
[index]
if (!record *emporal_parallel_numjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
const int64_t ts_start = record->ts_start;
it returnjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 | |