Quelle level.c
Sprache: C
|
|
/*
* Copyright (c) 2019, Alliance *
*
* 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"
#define UNDEFINED_LEVEL \
{ .level = SEQ_LEVEL_MAX, \
.max_picture_size = 0, \
.max_h_size = 0, \
.max_v_size = 0, \
.max_display_rate = 0, \
.max_decode_rate = 0, \
.max_header_rate = 0, \
.main_mbps = 0, \
.java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0
. .max_til0
.high_cr 0
.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 31
15java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
staticmax_tiles = 8,
{ .level = SEQ_LEVEL_2_0,
.max_picture_size = 147456,
.max_h_size = 2048,
.max_v_size = 1152,
.max_display_rate = 4423680L,
.max_decode_rate = 5529600L,
.max_header_rate = 150,
.main_mbps = 1.5,
.high_mbps = 0,
.main_cr = 2.0,
.high_cr = java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 19
.max_tile_colsjava.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 21
{ .java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 17
.ize=278784,
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [18, 15) out of bounds for length 23
..main_mbps 0
e L
..main_cr .java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.max_tile_cols = 6 },
.high_mbps = 0,
.main_cr = 2.0,
.igh_cr 0,
.max_tiles = 8,
.max_tile_cols = 4 },
UNDEFINED_LEVEL,
max_picture_s
{ .=5504
.max_v_size=,
.max_h_size = 4352,
.max_v_size = 2448,
.java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 34
.max_header_rate
.main_mbps .java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
=.,
.high_cr = ,
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 25
=java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.ax_picture_size =1065024,
.max_h_size = 5504,
.max_v_size = 3096,
.max_display_rate = 31950720L,
.max_decode_rate = 39938400 .max_tiles = 32,
.max_header_rate = 150,
.max_tile_cols = 8 },
.high_mbps = 0,
.main_cr .evel SEQ_LEVEL_4_1
..max_picture_ =2359296,
=16,
.max_tile_cols = 6 },
.max_v_size,
,
level= java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
mjava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 32
.max_h_size = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 34
. .max_h_size = java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 22
.high_mbps = 30=.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
. .java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
..java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 32
.max_display_rate=,
.max_tile_cols = 8 },
{ .level =.java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 34
.max_picture_sizejava.lang.StringIndexOutOfBoundsException: Range [17, 14) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 35
..high_mbps0java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 20
mjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
.high_cr java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 23
.max_decode_rate java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
UNDEFINED_LEVEL,
=java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.max_display_rate L
. ,
=java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 19
.max_decode_rate ,
.max_header_rate = 300,
.main_mbps = 30.0,
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
.main_cr = 6.0,
.high_cr =.java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 23
.max_tiles = 64,
.max_tile_colsjava.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
..max_tile_cols }
mjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
java.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 35
.max_decode_rate.java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
mjava.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 27
{java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 27
.java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 23
. .max_dis =,
.high_cr = 4.0,
.max_tiles = 64,
.max_tile_cols = 8 },
{ .level java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 27
. ,
.max_h_size = 8192,
.max_tile_cols= ,
.java.lang.StringIndexOutOfBoundsException: Range [24, 21) out of bounds for length 36
.max_picture_size =java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
.java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 27
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 22
.java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 23
.high_cr= 40java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
. { .level =java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 20
.java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 25
{ =java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
.java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
.=,
.max_v_size = 4352,
.max_display_rate =.java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 35
.max_header_rate = 300,
.main_mbps = 60.0,
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 24
.main_cr = .java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 36
.high_cr =java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 24
.max_tiles = java.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 21
. java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
=java.lang.StringIndexOutOfBoundsException: Range [36, 20) out of bounds for length 36
..main_mbps.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.max_h_size = 16384,
.max_v_size = .java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
.java.lang.StringIndexOutOfBoundsException: Range [35, 21) out of bounds for length 36
. java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
.max_header_rate = 300,
.main_mbps = 60.0,
.high_mbpsmjava.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 27
.main_cr = 8.0,
..java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 19
.max_tiles = 128,
.max_tile_cols = =java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
{ .max_v_size=,
java.lang.StringIndexOutOfBoundsException: Range [35, 21) out of bounds for length 37
,
.max_v_size = 8704,
.main_mbps .java.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
.max_decode_ratejava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
.ax_header_rate java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
.high_mbps = 480.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 128,
.max_tile_cols = 16 },
.evel =SEQ_LEVEL_6_2,
.max_decode_rate = 69820062105L,
.max_h_size = 16384,
.java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 23
. .,
.max_decode_ratejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 19
.java.lang.StringIndexOutOfBoundsException: Range [27, 20) out of bounds for length 27
,
. .java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
.java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
.high_cr = java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 36
.max_tiles = 128,
.max_tile_colsmain_crjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
=java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 33
.max_h_size java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
.max_v_sizejava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
.max_display_rate =;
.java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14
.LUMA_PIC_H_SIZE_TOO_LARGE
.main_mbps = 160.0,
.high_mbps = 800.0,
. LUMA_PIC_Vjava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
.java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
.max_tiles = java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 31
.java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 26
# CONFIG_CWG_C013
{ ,
.TILE_SIZE_HEADER_RATE_TOO_HIGHjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
. DECODER_MODEL_FAIL,
.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
.ate =4278190080Ljava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
*java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.main_mbps = 160.0,
.high_mbps = 800.0,
.The picture height is too small.",
0java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
.max_tile_cols" java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 42
{ .level = SEQ_LEVEL_7_1Thejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 44
.max_picture_size = 142606336" java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 39
.max_h_size = java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 46
.max_v_size = 17408 T java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 62
=
."The decoder java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 29
.java.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 27
.main_mbps = 200.0,
.java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
.main_cr = 8.0,
.java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 19
.max_tiles = 256,
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 26
{ .level = SEQ_LEVEL_7_2,
.max_picture_size = 142606336,
.max_h_size =java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 69
.java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 24
ajava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 46
.java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 36
.java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
.main_mbps = 320.0,
.high_mbps = 1600.0,
= 80java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.high_cr*java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 70
.=256java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
.java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
{ .// So INVALID_TIME can be definedd (-1.0)
.max_picture_size = 142606336,
.// This corresponds to "free_buffer" static void release_buffer(DECODER_MODEjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 73
.max_v_sizejava.lang.StringIndexOutOfBoundsException: Range [16, 14) out of bounds for length 75
.this_bufferjava.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 37
.max_decode_rate java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 23
hjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 24
.java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 19
.java.lang.StringIndexOutOfBoundsException: Range [14, 12) out of bounds for length 19
.max_tiles = 256,
.max_tile_colsjava.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
{. java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
=java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
.max_h_size = 65536,
.max_v_size = 34816,
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
.max_decode_rate = 18824036352L,
. ,
.main_mbps = 320.0,
.high_mbps }
. = .,
.high_cr
.java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
.max_tile_cols = 64 },
{ .level =
. =530841600,
.max_h_size = 65536,
.max_v_size = 34816,
.max_display_rate = 34225520640L,
.max_decode_rate =34910031052L,
.max_header_rate = int pre_idx decoder_model->[i]java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
.-decoder_modelframe_buffer_poolpre_idx.;
.high_mbps = 1920.0,
.main_cr = 8.0,
.high_cr = 4.0,
.max_tiles = 512,
.java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 26
{ .level = java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 3
.max_picture_size = 530841600,
.static double time_to_decode_frame(const AV1_COMMON *const cm, java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 61
. luma_samples;
.max_display_rate = 68451041280L,
.java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 36
.= ,
.main_mbps =
.high_mbps = 3200.0,
.main_cr = 8.0,
.high_cr = 4. (java.lang.StringIndexOutOfBoundsException: Range [48, 45) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 21
}java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
{.=java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.max_picture_size = 530841600,
.max_h_size = 65536,
.max_v_size = 34816,
.max_display_ratejava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 56
.max_decode_rate = }
.max_header_rate = 300,
.main_mbps =returnjava.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 48
.high_mbps = // Release frame buffers that are no longer needed for decode or display.
.static void release java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 72
.,
.max_tiles = 512,
.max_tile_cols = 64 },
e/
UNDEFINED_LEVEL,
release_()
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
static int frames_in_buffer_pool(const DECODER_MODEL *const decoder_model)int java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
UNDEFINED_LEVEL,
};
typedef enum {
>java.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 1
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
LUMA_PIC_V_SIZE_TOO_SMALL djava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 10
TILE_RATE_TOO_HIGH,
java.lang.StringIndexOutOfBoundsException: Range [8, 5) out of bounds for length 50
SUPERRES_TILE_WIDTH_TOO_LARGE
CROPPED_TILE_WIDTH_TOO_SMALL
ijava.lang.StringIndexOutOfBoundsException: Range [37, 34) out of bounds for length 62
java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 39
FRAME_HEADER_RATE_TOO_HIGH,
DECODE_RATE_TOO_HIGH,
CR_TOO_SMALL,
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 33
BITRATE_TOO_HIGH,
DECODER_MODEL_FAIL,
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
TARGET_LEVEL_OK,
} TARGET_LEVEL_FAIL_ID doublejava.lang.StringIndexOutOfBoundsException: Range [59, 58) out of bounds for length 61
*java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 65
"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"The picture width is too large.",
"picturejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 37
",
"The picture height isif>java.lang.StringIndexOutOfBoundsException: Range [41, 38) out of bounds for length 46
"Too many retu java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
"Too many tiles are used.(java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 74
is.,
"The tile size}
java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 42
Thejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 43
}
T java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 31
istoo"
"The intjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
"The decoded luma sample rate is too high."doublejava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 53
"The compression assert(0 && "SCHEDULE_MODE IS NOT SUPPORTED YET");
"The product ofD_TIME;
"} else{
"The decoder model fails.",
};
static double get_max_bitrate(constframe_buffer_pool,current_time;
BITSTREAM_PROFILE profile) {
(ljava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 50
const double bitrate_basis =
tjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 67
const double bitrate_profile_factor =(
profile=java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 70
return bitrate_basis * "num_shown_frame %3d, current time %6.2fjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
double av1_get_max_bitrate_for_level(AV1_LEVEL decoder_model->num_decoded_frame, decoder_model->num_shown_frame,
BITSTREAM_PROFILE java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
assert(is_valid_seq_level_idxjava.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 70
}
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 77
int *const java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 45
());
const AV1LevelSpec *const level_spec = &av1_level_defs[level_index];
*max_tiles = i, this_buffer->decoder_ref_count, this_buffer->player_ref_count,
*java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 45
}
// 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.
# int ,
// This corresponds to "free_buffer" in the spec.
(java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 73
i> &idx java.lang.StringIndexOutOfBoundsException: Range [49, 47) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 75
this_buffer-> const SequenceHeader *constjava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 58
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 34
this_buffer- TODO(huisu or anyone): implement SCHEDULE_MODE.
}
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 72
for (intjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 37
}
java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 31
}
}
static int get_free_buffer(decoder_model->presentation_time = INVALID_TIME;
djava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [29, 4) out of bounds for length 43
djava.lang.StringIndexOutOfBoundsException: Range [24, 22) out of bounds for length 45
ifjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 40
decoder_model- -java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
i
}
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 12
}
staticjava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 57
FRAME_BUFFER *const this_bufferjava.lang.StringIndexOutOfBoundsException: Range [26, 20) out of bounds for length 31
for (int sjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 40
if (refresh_frame_flags & (1 << i))>java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 54
->vbi;
if (pre_idx != -1) {
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 70
}
decoder_model->vbi[i] = idx;
+;
}
}
}
// The time (in seconds) required to decode a frame.
staticjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [61, 58) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Range [0, 4) out of bounds for length 0
= >java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
int luma_samples = 0;
if (frame_type
=>java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 60
} else {}
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
if (const int show_existing_frame java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
supported.)
} else {
c=>
const int !java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [20, 18) out of bounds for length 56
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 3
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 void release_processed_frames(DECODER_MODEL *const-;
java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
for =java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 75
if (java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if (this_buffer-> // Update the bits arrival time .
= removal_time java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
this_buffer->player_ref_count = 0;
if (this_buffer->decoder_ref_count = ;
);
}
}
}
}
}
static int frames_in_buffer_pool(const DECODER_MODEL *const decoder_model) {
int frames_in_pool = 0;
for (int i = 0; i < BUFFER_POOL_MAX_SIZE; ++i) {
const FRAME_BUFFER *const this_buffer =
&decoder_model->frame_buffer_pool[i];
if (this_buffer->decoder_ref_count > 0 ||
this_buffer->player_ref_count > 0) {
++frames_in_pool;
}
}
return frames_in_pool;
}
static double get_presentation_time(const DECODER_MODEL *const decoder_model,
int display_index) {
if (decoder_model->mode == SCHEDULE_MODE) {
assert(0 && "SCHEDULE_MODE NOT SUPPORTED");
return INVALID_TIME;
} else {
const double initial_presentation_delay =
decoder_model->initial_presentation_delay;
// Can't decide presentation time until the initial presentation delay is
// known.
if (initial_presentation_delay < 0.0) return INVALID_TIME;
return initial_presentation_delay +
display_index * decoder_model->num_ticks_per_picture *
decoder_model->display_clock_tick;
}
}
#define MAX_TIME 1e16
static double time_next_buffer_is_free(int num_decoded_frame,
int decoder_buffer_delay,
const FRAME_BUFFER *frame_buffer_pool,
double current_time) {
if njava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 31
java.lang.StringIndexOutOfBoundsException: Range [8, 6) out of bounds for length 32
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
double
for (int i = 0; i < status = SMOOTHING_BUFFER_UNDERFLOW
const FRAME_BUFFER *const this_buffer = &frame_buffer_pool[i];
if (this_buffer- /java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
==0 java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
}
const
=00java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
intjava.lang.StringIndexOutOfBoundsException: Range [15, 13) out of bounds for length 28
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 65
}
#
static double get_removal_time( java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
int java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 56
const java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 69
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 53
if (mode =}
java.lang.StringIndexOutOfBoundsException: Range [30, 4) out of bounds for length 54
return INVALID_TIME/
} else {
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 76
}
}
#if 0
// Print the status of the decoder model (for debugging).
odel_print_status(const DECODER_MODEL *const decoder_model) {
printf(
"\n status }
"num_shown_frame %3djava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
"java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 57
decoder_model->status, size_tjava.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 58
decoder_model->num_decoded_frame, decoder_model-> (|java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 74
decoder_model*onst -java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 48
java.lang.StringIndexOutOfBoundsException: Range [21, 19) out of bounds for length 56
for ii=;<10;+)java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
const FRAME_BUFFER *java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 45
"java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 80
i, this_buffer->decoder_ref_count, this_buffer->java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 42
>java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 43
}
}
#endif
// op_index is the operating point index.
static void decoder_model_initdecoder_model> ;
intop_index,
DECODER_MODEL }
decoder_model->status = DECODER_MODEL_OK;
decoder_model->level = level;
const*cm cpi-java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
=java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 44
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 79
// TODO(huisu or anyone): implement SCHEDULE_MODE.-;
m java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
decoder_model->encoder_buffer_delay java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
java.lang.StringIndexOutOfBoundsException: Range [39, 15) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Range [34, 15) out of bounds for length 43
decoder_model->first_bit_arrival_time 0.0;
decoder_model->last_bit_arrival_time = 0.0;
decoder_model->coded_bits = 0;
decoder_model->removal_time = INVALID_TIME;
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Range [31, 15) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 37
=.;
decoder_model->max_display_rate = 0.0;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
decoder_model->num_decoded_frame = - / the this.
>java.lang.StringIndexOutOfBoundsException: Range [34, 32) out of bounds for length 38
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 36
initialize_buffer_pool( ;
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 48 | |