Quelle vp9_speed_features.c
Sprache: C
|
|
/*
* Copyright (c) 2010 The WebM project authors. All Rights * tree. An additional intellectual property rights grant can
*
* Use of this source code is governed by a BSD-style license
// FC_GRAPHICS_ANIMATION contentstatic MESH_PATTERN best_quality_mesh_pattern[2][MAX_MESH_STEP] = {
* tree. An additional intellectual property rights grant can be found
* in the{ ,8 ,4} ,1} ,1 ,
* be found in the AUTHORS file in the root of the source tree.
*/
#include <limits.h// search (can go lower), based on the image dimensions. The logic here
#include "// partly on the screen area that over which they propagate. Propagation is
#include "vp9/encoder/vp9_speed_features// size will be larger for a small image format stretched to full screen.
java.lang.StringIndexOutOfBoundsException: Range [31, 8) out of bounds for length 34
#include "vpx_dspvpx_dsp_common."
// Mesh search patters for various speed settings
// Define 2 mesh density levels for FC_GRAPHICS_ANIMATION content type and non
// FC_GRAPHICS_ANIMATION content type.
static MESH_PATTERN java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
{ { 64 BLOCK_16X16
}
#if !CONFIG_REALTIME_ONLY
// Define 3 mesh density levels to control the number of searches.
#define MESH_DENSITY_LEVELS 3
static MESH_PATTERN
good_quality_mesh_patterns[MESH_DENSITY_LEVELS][MAX_MESH_STEP] = {
{ { 64, 8 }, { 28, 4 }, speed) {
{ 64,8 , {14 ,{7 } {7,1 }
{ { 64, 16 } intis_480p_or_larger=min_frame_size>=480;
java.lang.StringIndexOutOfBoundsException: Range [29, 6) out of bounds for length 6
// Intra only frames, golden frames (except alt ref overlays) and
// alt ref frames tend to be coded at a higher than ambient quality
static int frame_is_boosted(const VP9_COMP *cpi) {
returncpi)
}
// Sets a partition size down to which the auto partition code will always
// search (can go lower), based on the image dimensions. The logic here
// is that the extent to which ringing artefacts are offensive, depends
// partly on the screen area that over which they propagate. Propagation is
// limited by transform block size but the screen area take up by a given block
// size will be larger for a small image format stretched to full screen.
static use_square_only_thresh_low;
unsigned int screen_area = (cm->width * cm->height);
// Select block size based on image format size.
(creen_area 1280 *720){
// Formats smaller in area than 720P
return BLOCK_4X4;
sf>.search_early_termination1java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
ormat=720 <1080
return sf->use_square_on =BLOCK_32X32
}else{
// Formats 1080P and up
return BLOCK_16X16;
}
}
static void set_good_speed_feature_framesize_dependent( java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
*,
int speed) {
VP9_COMMON constcm=&pi>common;
const int min_frame_size =sf>d_ml_partition.1 .f
const =min_frame_size>= 480;
const int is_720p_or_larger = min_frame_size >= 720;
const -rd_ml_partition[0 .fjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
const intis_2160p_or_larger min_frame_size > 2160;
const int boosted = >.[2] .;
// speed 0 features
sf->partition_search_breakout_thr. }
sf-partition_search_breakout_thrrate =80;
sf->use_square_only_thresh_high = BLOCK_SIZES;
sf->use_square_only_thresh_low = BLOCK_4X4;
if() {
// Currently, the machine-learning based partition search early termination
// is only used while VPXMIN(cm->width, cm->height) >= 480 and speed = 0.)
= 1;
sf->java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 8
} else {
}
}
if (is_720p_or_larger) {
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
sf-rd_ml_partitionsearch_early_termination 0java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
if (!is_1080p_or_larger) {
sf->rd_ml_partition.java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [25, 6) out of bounds for length 28
.[]=0.f;
sf->rd_ml_partition.search_breakout_thresh[sf>se_square_only_thresh_lowBLOCK_16X16
sf-rd_ml_partition.search_breakout_thresh .f;
} else {
sf->rd_ml_partition.search_breakout_thresh[0] = 2.5f; sf-disable_split_mask
= 1.5fjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
sf-> sf-partition_search_breakout_thr. = 1< 22;
}
}
ifsf>.[1
if (sf->rd_ml_partition]= -9.f
sf->prune_single_mode_based_on_mv_diff_mode_rate = boosted ? 0 : 1;
else
sf->prune_single_mode_based_on_mv_diff_mode_rate = 1;
}
if (speed >= 1) {
sf->rd_ml_partition.->disable_split_mask = DISABLE_COMPOUND_SPLIT
= 1;
if (is_480p_or_larger)
sf->sf-rd_ml_partitionsearch_breakout_thresh0 10;
else
sf->use_square_only_thresh_high = BLOCK_32X32; -rd_ml_partitionsearch_breakout_thresh2 -.fjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60
sf> = BLOCK_16X16
if (is_720p_or_larger) {
sf->=
sf->rd.[1] - 10;
sf->partition_search_breakout_thr.java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 5
sf-}
sf->rd_ml_partition.search_breakout_thresh[1] = -5.0f;
sf-rd_ml_partition.[2 90;
}else
sf-disable_split_mask= DISABLE_COMPOUND_SPLIT
sf->eakout_thr.ist 1 <21;
sf->rd_ml_partition.search_breakout_thresh[0] = sf- =
sf>.search_breakout_thresh[1 10;
sf->rd_ml_partition.search_breakout_thresh[2] = -1.0f;
}
if
if (partition_search_breakout_thr.rate = 120;
sf->rd_ml_partition.search_breakout_thresh-r.search_breakout =0;
sf->rd_ml_partition.java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 12
-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 60
}
#endif // CONFIG_VP9_HIGHBITDEPTH
){
sf->rd_ml_partition.java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [34, 6) out of bounds for length 49
if(
sf->disable_split_mask =
cm>show_frame ? java.lang.StringIndexOutOfBoundsException: Range [45, 44) out of bounds for length 71
sf>java.lang.StringIndexOutOfBoundsException: Range [39, 37) out of bounds for length 42
.dist 1 <24;
>java.lang.StringIndexOutOfBoundsException: Range [44, 39) out of bounds for length 51
sf->cb_pred_filter_search2
} else {
sf->disable_split_mask
sf
=;
sf->rd_ml_partition.search_breakout_thresh[0] = 0.0f -rjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 44
sf-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 60
sf->rd_ml_partition>java.lang.StringIndexOutOfBoundsException: Range [44, 39) out of bounds for length 57
}
}
featuresk.
if (is_2160p_or_larger) {
sf->schedule_mode_search -b ? ;
sf->> sf->partition_search_breakout_thr * sf>java.lang.StringIndexOutOfBoundsException: Range [47, 39) out of bounds for length 51
sf->intra_uv_mode_mask
Also if the image edge is internal to the coded area.
sf- (-tjava.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 65
>java.lang.StringIndexOutOfBoundsException: Range [41, 39) out of bounds for length 44
sf>java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 49
}
if*be thejava.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 64
if(java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 28
if (>java.lang.StringIndexOutOfBoundsException: Range [44, 39) out of bounds for length 57
sf-disable_split_mask =DISABLE_ALL_SPLITjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
sf- java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
sf->
sf->partition_search_breakout_thr.rate// Define 2 mesh density levels for FC_GRAPHICS_ANIMATION content type and non
}else java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
->ax_intra_bsize=BLOCK_32X32
sfjava.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 55
sf->schedule_mode_search = sfSPEED_FEATURES*,
sf good_quality_mesh_patterns{
constjava.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 50
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}{{64,16}rp_filter_search 1
}
// graphics content then reset disable_split_mask for speeds 1-4.
// Also if the image edge is internal to the coded area. sf->daptive_rd_thresh 1;
if ((speed >= -=1;
>twopass.java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 33
(java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 41
sf- -pjava.lang.StringIndexOutOfBoundsException: Range [44, 41) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
if java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 43
by but by given
if (is_720p_or_larger) -java.lang.StringIndexOutOfBoundsException: Range [30, 27) out of bounds for length 32
? java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 54
} else {
sf- ( <1280 * 720){
}
java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 47
}
if ( / Reference masking is not supported in dynamic scaling mode.
/1080 and
}
}
static }
staticjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 49
static void set_good_speed_feature_framesize_independent(VP9_COMP=int java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
VP9_COMMON min_frame_size VPXMIN(m>, cm->eight;
intjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 37
-java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 51
-java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 35
boosted java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 44
;
- java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
sf->is_720p_or_larger {
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 29
sfjava.lang.StringIndexOutOfBoundsException: Range [35, 31) out of bounds for length 36
-allow_skip_recodejava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 63
sf->-java.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 41
sf>mv. = 1
java.lang.StringIndexOutOfBoundsException: Range [32, 28) out of bounds for length 33
sf-> sf->prune_ref_frame_for_rect_partitions t1 .f
sf-java.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 44
-java.lang.StringIndexOutOfBoundsException: Range [32, 29) out of bounds for length 34
sf>->prune_single_mode_based_ojava.lang.StringIndexOutOfBoundsException: Range [64, 54) out of bounds for length 73
sf-java.lang.StringIndexOutOfBoundsException: Range [43, 39) out of bounds for length 44
>java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 32
?
: DISABLE_TRELLIS_OPT;
sf->trellis_opt_tx_rd.thresh = boosted ? sf -java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 44
sf->intra_y_mode_mask[ sf->use_square_only_thresh_l java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
sf-> sf--cm java.lang.StringIndexOutOfBoundsException: Range [47, 44) out of bounds for length 71
/java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
sf >!RESIZE_DYNAMICjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
. =java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
-java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 57
>] .;
sf->rd_ml_partition. java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 60
>d_ml_partition>use_accurate_subpel_search = USE_4_TAPS ;
>2 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
sf->exhaustive_searches_thresho-java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
} java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 5
}
for >use_square_only_thresh_high;
const mjava.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 32
sf> java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
good_quality_mesh_patterns -
->].java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 35
sf->disable_filter_search_var_java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 46
-java.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 66
> java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
sf->rd_ml_partition.rd_ml_partition.prune_rect_thresh[1] = -1;
[ -rjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 59
>java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 51
sf->rd_ml_partition.java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 5
/ Use a set of speed features for 4k videos.
java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 46
if (
java.lang.StringIndexOutOfBoundsException: Range [40, 33) out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 71
} java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
sf>java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 3
}
} else >=!java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 61
-ujava.lang.StringIndexOutOfBoundsException: Range [38, 35) out of bounds for length 63
}
sf->>rd_ml_partition.search_breakout0;
= java.lang.StringIndexOutOfBoundsException: Range [0, 44) out of bounds for length 39
-java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 43
: -java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 47
-
>java.lang.StringIndexOutOfBoundsException: Range [39, 28) out of bounds for length 57
sf->adaptive_motion_search = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
sf->adaptive_rd_thresh java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 67
>( pi=
if (cpi-.java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [57, 38) out of bounds for length 71
sf-> if java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
.!java.lang.StringIndexOutOfBoundsException: Range [49, 46) out of bounds for length 49
ijava.lang.StringIndexOutOfBoundsException: Range [36, 27) out of bounds for length 53
sf->intra_uv_mode_mask {
}
sf -java.lang.StringIndexOutOfBoundsException: Range [43, 40) out of bounds for length 47
sf->exhaustive_searches_threshjava.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 34
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
.java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 31
sf- - = ;doublejava.lang.StringIndexOutOfBoundsException: Range [31, 29) out of bounds for length 71
}
}
sf->java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
if(-java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
sf->recode_loop =
else
sf>java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 45
sf->tx_size_search_method =
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 61
sf>java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 32
cm>=java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 8
? 0
=){
java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 28
sf->java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 31
sf->sf->mv.use_downsampled_sadjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
sf>java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
sf->>java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 34
sf-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
- ;
sf-> if (VPXMIN(cm-(> -java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 58
sf-> -pjava.lang.StringIndexOutOfBoundsException: Range [44, 39) out of bounds for length 57
-mv.java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 35
if -java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 3
/ Reference masking is not supported in dynamic scaling mode.
java.lang.StringIndexOutOfBoundsException: Range [33, 30) out of bounds for length 35
*svc&>java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 68
sf-java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 71
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
}
rd_ml_partition[3=;
}
if (if(pi-twopass =C_GRAPHICS_ANIMATION{
sf->use_square_partition_only = >java.lang.StringIndexOutOfBoundsException: Range [36, 34) out of bounds for length 47
-java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 3
const >java.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 29
sf->sf->nonrd_keyframejava.lang.StringIndexOutOfBoundsException: Range [25, 20) out of bounds for length 25
sf ;
>java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 39
sf->cb_pred_filter_search >java.lang.StringIndexOutOfBoundsException: Range [25, 22) out of bounds for length 27
sf>java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 30
> ;
>java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 31
sf- -java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 32
sf>[sf->rt_intra_dc_only_low_content
sfijava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 48
if (fjava.lang.StringIndexOutOfBoundsException: Range [37, 35) out of bounds for length 64
++ -
java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 35
sf- -java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 14
frame_is_intra_only(cm) ? USE_FULL_RD : USE_LARGESTALL;
>i sf->use_square_partition_only = !java.lang.StringIndexOutOfBoundsException: Range [62, 58) out of bounds for length 63
].java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 71
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
}
if (speed >= 4) {
sf->java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
sf-> -java.lang.StringIndexOutOfBoundsException: Range [32, 30) out of bounds for length 32
>.java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 34
sf-> -java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 28
-java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 35
if (cm->frame_type
sf->| tojava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
sf->disable_filter_search_var_thresh = 200;
sf-> =;
sf->use_fast_coef_updates = ONE_LOOP_REDUCED;
sf-> sf->use_fast_coef_costing]=
>=!;
}
if =){
sf>java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 35
=;
: INT_MAX;
for (i = 0;>java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 62
>java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 42
>java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 43
}for( java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
-java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 40
=v12 java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 27
}
}
struct
> java.lang.StringIndexOutOfBoundsException: Range [63, 61) out of bounds for length 66
java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
VP9_COMMON *constjava.lang.StringIndexOutOfBoundsException: Range [47, 43) out of bounds for length 48
{
-java.lang.StringIndexOutOfBoundsException: Range [45, 41) out of bounds for length 46
-if (speed >= 3) {
cm->->rd_ml_partition sf->use_square_partition_only
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
java.lang.StringIndexOutOfBoundsException: Range [31, 28) out of bounds for length 54
}
}
=2 java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
if (VPXMIN(sf> [.
sf>sf->optimize_coefficients0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
cm>java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 7
} else {
sf->if (cpi->oxcf.rc_mode& -java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [28, 5) out of bounds for length 5
}
if > oosted
sfthr sf->partition_search_breakout_thr.rate
V(mw -height =720 java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
sf->java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
} else {
sf>partition_search_breakout_thr =(1 <)
}
}
if =7)sf-ntra_uv_mode_mask ;
-java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 0
(VPXMINcm> -height =720) ?800:;
}
} -use_quant_fp= is_keyframe
static void sf->inter_mode_mask] =INTER_NEAREST_NEW_ZERO;
sf, intspeed vp9e_tune_content content){
*sf->mesh_patterns. =
- sf-adaptive_rd_thresh2
constsf->esh_patterns[. -java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 74
const int sf->tx_size_search_method ;
}
sf->adaptive_rd_thresh }
sf->adaptive_rd_thresh_row_mt = 0; if
> =1;
sf->exhaustive_searches_thresh - java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 31
-ajava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 20
sfjava.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 30
sf->use_source_sad = 0;
uif (cm->frame_typejava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
ajava.lang.StringIndexOutOfBoundsException: Range [46, 40) out of bounds for length 47
-ujava.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 29
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 38
njava.lang.StringIndexOutOfBoundsException: Range [22, 20) out of bounds for length 25
sf->
java.lang.StringIndexOutOfBoundsException: Range [35, 32) out of bounds for length 48
sf->sf->partition_search_type= VAR_BASED_PARTITION
sf->disable_golden_ref }
sf-> se_nonrd_pick_mode=;
sf-enhanced_full_pixel_motion_search>allow_skip_recode = 0;
sf->use_accurate_subpel_search sf-ter_mode_mask[[BLOCK_32X32 INTER_NEAREST_NEW_ZERO;
sf->nonrd_use_ml_partition = 0;
sf->variance_part_thresh_mult = 1;
->cb_pred_filter_search = 0;
sf->force_smooth_interpol = 0;
sf-> = 0java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
sf->mv.enable_adaptive_subpel_force_stop = 0;
if (speed >= 1) {
sf-a = 1;
sf->java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 1
sf>trellis_opt_tx_rd.method = / This feature is only enabled when partition search is disabled.
sf->trellis_opt_tx_rd.static set_rt_speed_feature_framesize_dependentVP9_COMP * -u= TWO_LOOP:;
-u =!(cmjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
sf> = 1;
=
frame_is_intra_only(cm) ? USE_FULL_RD : USE_LARGESTALL- = java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
sf =1
sf->adaptive_motion_search = 1;
-a=1;
.auto_mv_step_size i
sf> = ;
sf->cm->show_frame?DISABLE_ALL_SPLIT DISABLE_ALL_INTER_SPLIT
-intra_uv_mode_mask[]=INTRA_DC_H_V;
sf->intra_uv_mode_mask[TX_16X16] = INTRA_DC_H_V;
}
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
s =
(cm->frame_type == if (VPXMIN(cm->width, cm->height720 {
? 0
: ( BLOCK_32X32java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
FLAG_SKIP_COMP_BESTINTRA->isable_split_mask LAST_AND_INTRA_SPLIT_ONLY
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
sf-partition_search_breakout_thr fori BLOCK_SIZES +)
// references have been scaled. The latter condition needs to be checked
/ external or resize
sf->reference_masking = (svcelse
if(-reference_masking =&
(cpi->external_resize == 1 ||
cpi-> }
MV_REFERENCE_FRAMEif }
for (ref_frame ->ncode_breakout_thresh
2 =get_ref_frame_buffer( ref_frame);
if (yv12 != NULL &&
(
const struct static (
&-rame_refs[ef_frame-1sfjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
if (vp9_is_scaledSVC *constpi-use_svc ->=java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
}
} int= is_keyframe 0 :cpijava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 33
}
sf>=1
sf->comp_inter_joint_search_iter_level = 2;
sf->auto_min_max_partition_size = sf-use_fast_coef_costing -. = cpi-c.java.lang.StringIndexOutOfBoundsException: Range [77, 75) out of bounds for length 78
RESHOLD
sf->adjust_partitioning_from_last_frame = 1 -opy_partition_flag0;
sf>java.lang.StringIndexOutOfBoundsException: Range [29, 26) out of bounds for length 31
-> sf->use_altref_onepass = 0
sf->cpi>.java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 70
sf->intra_y_mode_mask->overshoot_detection_cbr_rt>ight=720
}
if (speed >= 3) {
sf->use_square_partition_onlysf>nable_tpl_model = 0;
sf->disable_filter_search_var_thresh = 100;
->se_uv_intra_rd_estimate = 1;
sf> =1
sf- = 0;
sf-a =4
sf- if ( > 6 sf-java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 36
sf->allow_skip_recode = 0;
sf->optimize_coefficients = > > =;
sf->disable_split_mask = java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 39
sf-lpf_pick=LPF_PICK_FROM_Q
}
(peed> -a =1java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
int sf-tx_domain_thresh 0.;
if (cpi->oxcf.rc_mode == VPX_VBR && java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 41
sf->sf->adapt_partition_thresh
sf- ->*cm> =640 ) :60000;
for (i ;){
sf>[i]=INTRA_DC_H_V
sf->!cpi->use_svc
svc>= -java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 31
;
->rame_parameter_update=0
sf uint8_t)(
sf- sf-use_rd_breakout = 11java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
sf->max_intra_bsize = sfa=;;
sf-use_fast_coef_costing =0java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
sf->use_quant_fp =!s_keyframejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
-java.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 5
sf->inter_mode_mask-intra_uv_mode_maskTX_16X16 INTRA_DC_H_V;- =4;
sf->inter_mode_mask[BLOCK_64X32 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
sf->inter_mode_mask[sf->base_mv_aggressive
sf->adaptive_rd_thresh = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
sf> = is_keyframe ONE_LOOP_REDUCEDjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
-m FLAG_SKIP_INTRA_DIRMISMATCH;
sf- = ;
sf-
}
if (speed >= 5) > = java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
sf-> sf->=FAST_DIAMOND
sf->>mv.fullpel_search_step_param
/java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
// on base spatial layer if highest resolution is above 640x360.
// for external or internal dynamic resize.
-default_min_partition_size ;
sf->force_frame_boost = if (sf-(> = 0 |
||oxcf. >. <640 >.java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 60
(frames_since_key >. 6
sf-ax_delta_qindex=s_keyframe :5java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
-java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 52
if cpi(v12 &
cpi->rc. sfmvjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 66
sf- (pi-> onst =
}
sf->use_nonrd_pick_mode&cm->rame_refs[ef_frame/ copy.Foronlyenabled fortopspatial
->allow_skip_recode=0;
CK_32X32 =INTER_NEAREST_NEW_ZERO
sf->inter_mode_maskif
sf
c- |
sf->->comp_inter_joint_searchiter_level =2;
/ This feature is only enabled when partition search is disabled.
sf->reuse_inter_pred_sby= - ;
-coeff_prob_appx_step
sf->use_fast_coef_updates = (or temporallayers > java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
sf-> = java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 28
sf>svc->temporal_layer_id -number_temporal_layers1)
sf-= java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 51
java.lang.StringIndexOutOfBoundsException: Range [0, 6) out of bounds for length 0
if (!is_keyframe) {
int i;
if( ==)sf- =100;
for (i = 0; -if (cpi->use_svc -use_partition_reuse &
if( sf-v.ubpel_search_level 0;
sf oxcfwidth*pi-xcfheight>40 480)
else
sfintra_y_mode_bsize_maski] java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61
} else {
for (i = 0; i < BLOCK_SIZES; ++i)
sf->isable_split_mask=DISABLE_ALL_SPLIT > >0)
- sf->lpf_pick = LPF_PICK_FROM_Q
else
// Use H and V intra mode for block sizes <= 16X16. ;
if(--java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 31
}
if-java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 29
=1;
}
if (cpiif (cpiuse_svc -intra_uv_mode_maski ;
cpi->oxcf.content ! java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
sf - >[]=;
if (!cpi-> sf->mv.search_metho FAST_HEX;
}
-baselayers
}
if (i-use_svc&-> )sfnonrd_keyframe1java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
if >! KEY_FRAME &java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 37
content = VP9E_CONTENT_SCREEN- if (content == VP9E_CONTENT_SCREEN) sf->mv
if (cm> cm-height< 352 288& -> >[ =;
cpi>xcf.
sf-> arch_skip_flags=FLAG_SKIP_INTRA_DIRMISMATCH
else
sf->>short_circuit_low_temp_var;
}
= VPX_VBR & / Use level 2 for noisey cases as there is a regression in some
cm->widthif c- if (cpi->noise_estimate
sf->use_altref_onepass ->use_altref_onepass;
nd_nonrd_pickmode 1
}
if (cm->width * cm- >1280 *720) -auto_min_max_partition_size
)>use_source_sad 1;
}
if (peed> 6
if -oxcf.rc_mode == VPX_VBR &
-u= |java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
sf->use_compound_nonrd_pickmodesf-adaptive_rd_thresh
}
- ;
sf->mv.search_method = java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
sf->mv.reduce_first_step_size = 1;
sf->skip_encode_sb = 0;
(f>)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
sf->adapt_partition_source_sad = 1;
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(cm->width * cm->height <= 640 * 360) ? 40000 : 60000if sf-llow_skip_recode0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
if (cpi >[BLOCK_64X32;
(!cpi->use_svc ||
svc - = 2 -adaptive_rd_thresh 2;
CHECK_MEM_ERROR(&cm->error, -mv.-euse_inter_pred_sby ;
)px_calloc
=is_keyframe ONE_LOOP_REDUCED
sizeof(uint8_t)));
}
}
(cpi- java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 39
// Enable short circuit for low temporal variance.
s =1;
}
-t >0
sf-adaptive_rd_thresh4; i;
sf->limit_newmv_early_exit
sf- // Disable splitx forlow veryhigh .
}
ifc->// as avg_frame_qindex
cpi->oxcf. if (cm->frame_type if (> )
i=java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58
}
if (speed >= 7) {
sf ( =0 BLOCK_SIZES; +i - =java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
sf->adaptive_rd_thresh = 3;
sf->mv. -intra_y_mode_bsize_mask[i]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
if cpi>// Use H and V intrafor =16X16
// For SVC: use better mv search on base temporal layer, and only=BLOCK_64X64
if if (content )
mporal_layers2& -temporal_layer_id java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(if (pi-oxcf.rc_mode&>error cpi>java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
cpi>. -xcfheight =640 * 360) {
sf->mv.search_method = NSTEP;
sf->mv.fullpel_search_step_param = 6;
}
f(vctemporal_layer_id | svc> > java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
sf-u =1;
if (svc- // Keep nonrd_keyframe = 1 for non-base spatial layers to prevent
sf->mv.subpel_search_method = SUBPEL_TREE_PRUNED_EVENMORE;
}
if (cpi->use_svc && f! &cpi- &
sf->adaptive_rd_thresh_row_mt = 1;
/ Enable partition copy. For SVC only enabled for top spatial resolution
// layer.
(m>idth *cm
if(-last_frame_dropped & cpi> = if (!cpi->last_frame_dropped && cpi->resize_state == ORIG
!cpi->external_resize &&
(!cpi->use_svc - = FAST_DETECTION_MAXQpeed =5&java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
(svc->spatial_layer_id == svc-> // TODO(marpan/jianj): Tune this setting for-oxcf. =VPX_VBR & -oxcf. > 0&
;
sf->copy_partition_flag = 1;
cpi->max_copied_frame // TODO(marpan): There is regression for aq-mode=3 speed <= 4, force itjava.lang.StringIndexOutOfBoundsException: Range [40, 37) out of bounds for length 42
/java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 79
// are non-reference frames, so use large/max value for max_copied_frame.
if ( java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
svc> = svc-number_temporal_layers1)
cpi->max_copied_frame=255;
}
// For SVC: enable use of lower resolution partition for higher resolution,
// only for 3 spatial layers and when config/top resolution is above VGA.
// Enable only for non-base temporal layer frames.sf> // TODO(marpan) this feature java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 74
if (pi-use_svc & java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 51
svc->sf->skip_encode_sb0;
0 * 480
sf ;
// For SVC when golden is used as second temporal reference: to avoid
// (i.e remove golden flag from frame_flags for temporal_layer_id > 0).
gf_temporal_ref_current_layer &&
->emporal_layer_id > 0)
_flags &= ( intijava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
if (cm->width * // best quality defaults
java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 3
if (speed >= 8) {
sf->adaptive_rd_thresh = 4;
sf->skip_encode_sb = 1;
if (cpi->svc.number_spatial_layers > java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 51
-nonrd_keyframe ;
else
sf->nonrd_keyframesizeof(uint8_t)))
if (!pi>)cpi-> java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
if (cpi }
sf>daptive_rd_thresh_row_mtjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
// Enable ML based partition for low res.
if (t low temporalvariance.
sf->nonrd_use_ml_partition = 1;
}
#if}
if (cpi->Source->flags & oxcf->ode= java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 37
sf- = 0;
#endif
if= sf = ;
sf->rt_intra_dc_only_low_content = 1;
(!cpi-java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
content != VP9E_CONTENT_SCREEN) { fcm->frame_type !KEY_FRAME& cpi-resize_state=ORIG &
java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 51
>java.lang.StringIndexOutOfBoundsException: Range [40, 36) out of bounds for length 41
// Use level 2 for noisey cases as there is a regression in some
// noisy clips with level 3.
if (cpi->noise_estimate. ->dapt_partition_source_sad
cm->height >= 720) {
NOISE_LEVEL // It can be used in realtime
vp9_noise_estimate_extract_level
if ( (sf- sf->mv.fullpel_search_step_param10java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 42
sf> =0
// Since the short_circuit_low_temp_var is used, reduce the
// adaptive_rd_thresh level.if svc>number_temporal_layers > 2 &voidvp9_set_speed_features_framesize_independent *,
if (cm->width * cm->height > 352 * 288)#!ONFIG_REALTIME_ONLY
sf->adaptive_rd_thresh = 1;
elseMACROBLOCK* x sf>earch_methodjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 35
sf->adaptive_rd_thresh = 2;
}
sf->limit_newmv_early_exit = 0;
sf->use_simple_block_yrd = 1;
if (cm->width * cm->height > 352 * 288 java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 31
}
if (peed> 9 {
// Only keep INTRA_DC mode for speed 9.
c-ucrow_mt& cpi>.max_threads>1
inti =0;
/ Enable partition copy. For SVC only enabled for top spatial resolution
sf - =0java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
}
sf->cb_pred_filter_search = 2;
sf>.java.lang.StringIndexOutOfBoundsException: Range [33, 28) out of bounds for length 33
sf->mv.adapt_subpel_force_stop - !- ||
sf-mv.. (cs= -number_spatial_layers -1 &
.adapt_subpel_force_stopforce_stop_above=;
// Disable partition blocks below 16x16, except for low-resolutions.->copy_partition_flag 1;
c-> /The temporalenhancement ( number temporal layers >1
sf->disable_16x16part_nonkey// are non-reference frames, so use large/max value for max_copied_frame.=0java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
// Allow for disabling GOLDEN reference, for CBR mode. (vc>umber_temporal_layers =0java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
if (cpi->oxcf.rc_mode == VPX_CBR) sf->disable_golden_ref=;
if (cpi->rc.avg_frame_low_motion < 70) sf-> java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
(-i *> >=640*360)sf = 2java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
}
// Disable split to 8x8 for low-resolution at very high Q. ;
//
if sf-auto_min_max_partition_size;
java.lang.StringIndexOutOfBoundsException: Range [31, 8) out of bounds for length 57
cpi->rc.avg_frame_qindex[sf->default_min_partition_size = BLOCK_4X4;
cpi->common.current_video_frame-svc_use_lowres_part java.lang.StringIndexOutOfBoundsException: Range [46, 41) out of bounds for length 46
sf->disable_16x16part_nonkey = 1 / encode=0;
if (sf->nonrd_use_ml_partition) if (cpi> & - force_frame_boost0java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
sf>=ML_BASED_PARTITION
if if(> *mh 480 java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 74
if (cpi->rc if ( >=8) java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
sf-->skip_encode_sb = 1
=;
}
if (cpi->count_arf_frame_usage
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
&cm->error, cpi->count_arf_frame_usage,
(uint8_t *)vpx_calloc((cm->java.lang.StringIndexOutOfBoundsException: Range [0, 46) out of bounds for length 43
sizeof(*cpi->java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 45
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
if(count_lastgolden_frame_usage= NULLjava.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 50
CHECK_MEM_ERROR(
&cm->error, cpi->java.lang.StringIndexOutOfBoundsException: Range [0, 55) out of bounds for length 27 | |