12#ifndef AOM_AV1_ENCODER_SPEED_FEATURES_H_
13#define AOM_AV1_ENCODER_SPEED_FEATURES_H_
16#include "av1/encoder/enc_enums.h"
17#include "av1/encoder/mcomp.h"
18#include "av1/encoder/encodemb.h"
27#define MAX_MESH_STEP 4
29typedef struct MESH_PATTERN {
36 GM_REDUCED_REF_SEARCH_SKIP_L2_L3,
37 GM_REDUCED_REF_SEARCH_SKIP_L2_L3_ARF2,
41 GM_SEARCH_CLOSEST_REFS_ONLY,
44} UENUM1BYTE(GM_SEARCH_TYPE);
47 DIST_WTD_COMP_ENABLED,
48 DIST_WTD_COMP_SKIP_MV_SEARCH,
49 DIST_WTD_COMP_DISABLED,
50} UENUM1BYTE(DIST_WTD_COMP_FLAG);
53 INTRA_ALL = (1 << DC_PRED) | (1 << V_PRED) | (1 << H_PRED) | (1 << D45_PRED) |
54 (1 << D135_PRED) | (1 << D113_PRED) | (1 << D157_PRED) |
55 (1 << D203_PRED) | (1 << D67_PRED) | (1 << SMOOTH_PRED) |
56 (1 << SMOOTH_V_PRED) | (1 << SMOOTH_H_PRED) | (1 << PAETH_PRED),
58 (1 << UV_DC_PRED) | (1 << UV_V_PRED) | (1 << UV_H_PRED) |
59 (1 << UV_D45_PRED) | (1 << UV_D135_PRED) | (1 << UV_D113_PRED) |
60 (1 << UV_D157_PRED) | (1 << UV_D203_PRED) | (1 << UV_D67_PRED) |
61 (1 << UV_SMOOTH_PRED) | (1 << UV_SMOOTH_V_PRED) |
62 (1 << UV_SMOOTH_H_PRED) | (1 << UV_PAETH_PRED) | (1 << UV_CFL_PRED),
63 UV_INTRA_DC = (1 << UV_DC_PRED),
64 UV_INTRA_DC_CFL = (1 << UV_DC_PRED) | (1 << UV_CFL_PRED),
65 UV_INTRA_DC_TM = (1 << UV_DC_PRED) | (1 << UV_PAETH_PRED),
66 UV_INTRA_DC_PAETH_CFL =
67 (1 << UV_DC_PRED) | (1 << UV_PAETH_PRED) | (1 << UV_CFL_PRED),
68 UV_INTRA_DC_H_V = (1 << UV_DC_PRED) | (1 << UV_V_PRED) | (1 << UV_H_PRED),
69 UV_INTRA_DC_H_V_CFL = (1 << UV_DC_PRED) | (1 << UV_V_PRED) |
70 (1 << UV_H_PRED) | (1 << UV_CFL_PRED),
71 UV_INTRA_DC_PAETH_H_V = (1 << UV_DC_PRED) | (1 << UV_PAETH_PRED) |
72 (1 << UV_V_PRED) | (1 << UV_H_PRED),
73 UV_INTRA_DC_PAETH_H_V_CFL = (1 << UV_DC_PRED) | (1 << UV_PAETH_PRED) |
74 (1 << UV_V_PRED) | (1 << UV_H_PRED) |
76 INTRA_DC = (1 << DC_PRED),
77 INTRA_DC_TM = (1 << DC_PRED) | (1 << PAETH_PRED),
78 INTRA_DC_H_V = (1 << DC_PRED) | (1 << V_PRED) | (1 << H_PRED),
80 (1 << DC_PRED) | (1 << V_PRED) | (1 << H_PRED) | (1 << SMOOTH_PRED),
82 (1 << DC_PRED) | (1 << PAETH_PRED) | (1 << V_PRED) | (1 << H_PRED)
86 INTER_ALL = (1 << NEARESTMV) | (1 << NEARMV) | (1 << GLOBALMV) |
87 (1 << NEWMV) | (1 << NEAREST_NEARESTMV) | (1 << NEAR_NEARMV) |
88 (1 << NEW_NEWMV) | (1 << NEAREST_NEWMV) | (1 << NEAR_NEWMV) |
89 (1 << NEW_NEARMV) | (1 << NEW_NEARESTMV) | (1 << GLOBAL_GLOBALMV),
90 INTER_NEAREST_NEAR_ZERO = (1 << NEARESTMV) | (1 << NEARMV) | (1 << GLOBALMV) |
91 (1 << NEAREST_NEARESTMV) | (1 << GLOBAL_GLOBALMV) |
92 (1 << NEAREST_NEWMV) | (1 << NEW_NEARESTMV) |
93 (1 << NEW_NEARMV) | (1 << NEAR_NEWMV) |
96 (1 << NEARESTMV) | (1 << NEARMV) | (1 << GLOBALMV) | (1 << NEWMV),
100 DISABLE_ALL_INTER_SPLIT = (1 << THR_COMP_GA) | (1 << THR_COMP_LA) |
101 (1 << THR_ALTR) | (1 << THR_GOLD) | (1 << THR_LAST),
103 DISABLE_ALL_SPLIT = (1 << THR_INTRA) | DISABLE_ALL_INTER_SPLIT,
105 DISABLE_COMPOUND_SPLIT = (1 << THR_COMP_GA) | (1 << THR_COMP_LA),
107 LAST_AND_INTRA_SPLIT_ONLY = (1 << THR_COMP_GA) | (1 << THR_COMP_LA) |
108 (1 << THR_ALTR) | (1 << THR_GOLD)
120} UENUM1BYTE(DEV_SPEED_FEATURES);
133 ALLOW_RECODE_KFARFGF = 1,
138} UENUM1BYTE(RECODE_LOOP_TYPE);
142 SUBPEL_TREE_PRUNED = 1,
143 SUBPEL_TREE_PRUNED_MORE = 2,
144 SUBPEL_SEARCH_METHODS
145} UENUM1BYTE(SUBPEL_SEARCH_METHOD);
149 LPF_PICK_FROM_FULL_IMAGE,
151 LPF_PICK_FROM_FULL_IMAGE_NON_DUAL,
153 LPF_PICK_FROM_SUBIMAGE,
158} UENUM1BYTE(LPF_PICK_METHOD);
180 FLAG_EARLY_TERMINATE = 1 << 0,
183 FLAG_SKIP_COMP_BESTINTRA = 1 << 1,
186 FLAG_SKIP_INTRA_BESTINTER = 1 << 3,
190 FLAG_SKIP_INTRA_DIRMISMATCH = 1 << 4,
193 FLAG_SKIP_INTRA_LOWVAR = 1 << 5,
194} UENUM1BYTE(MODE_SEARCH_SKIP_LOGIC);
208} UENUM1BYTE(TX_TYPE_PRUNE_MODE);
216 FAST_DETECTION_MAXQ = 1,
217} UENUM1BYTE(OVERSHOOT_DETECTION_CBR);
223 MULTI_WINNER_MODE_OFF = 0,
226 MULTI_WINNER_MODE_FAST = 1,
230 MULTI_WINNER_MODE_DEFAULT = 2,
233 MULTI_WINNER_MODE_LEVELS,
234} UENUM1BYTE(MULTI_WINNER_MODE_TYPE);
237 PRUNE_NEARMV_OFF = 0,
238 PRUNE_NEARMV_LEVEL1 = 1,
239 PRUNE_NEARMV_LEVEL2 = 2,
240 PRUNE_NEARMV_LEVEL3 = 3,
241 PRUNE_NEARMV_MAX = PRUNE_NEARMV_LEVEL3,
242} UENUM1BYTE(PRUNE_NEARMV_LEVEL);
248 TX_SEARCH_DEFAULT = 0,
250 TX_SEARCH_MOTION_MODE,
252 TX_SEARCH_COMP_TYPE_MODE,
255} UENUM1BYTE(TX_SEARCH_CASE);
258 TX_TYPE_PRUNE_MODE prune_2d_txfm_mode;
259 int fast_intra_tx_type_search;
266 int fast_inter_tx_type_prob_thresh;
270 int use_reduced_intra_txset;
274 int use_skip_flag_prediction;
277 int ml_tx_split_thresh;
284 int prune_tx_type_using_stats;
286 int prune_tx_type_est_rd;
292 int winner_mode_tx_type_pruning;
305#if CONFIG_RT_ML_PARTITIONING
309} UENUM1BYTE(PARTITION_SEARCH_TYPE);
316} UENUM1BYTE(MAX_PART_PRED_MODE);
322} UENUM1BYTE(MV_PREC_LOGIC);
328} UENUM1BYTE(SUPERRES_AUTO_SEARCH_TYPE);
516typedef struct TPL_SPEED_FEATURES {
524 int gop_length_decision_method;
528 int prune_intra_modes;
530 int reduce_first_step_size;
537 int skip_alike_starting_mv;
540 SUBPEL_FORCE_STOP subpel_force_stop;
543 SEARCH_METHODS search_method;
546 int prune_starting_mv;
549 int prune_ref_frames_in_tpl;
552 int allow_compound_pred;
555 int use_y_only_rate_distortion;
564 int use_sad_for_mode_decision;
568 int reduce_num_frames;
571typedef struct GLOBAL_MOTION_SPEED_FEATURES {
572 GM_SEARCH_TYPE gm_search_type;
577 int prune_ref_frame_for_gm_search;
588 int disable_gm_search_based_on_stats;
591 int downsample_level;
594 int num_refinement_steps;
595} GLOBAL_MOTION_SPEED_FEATURES;
597typedef struct PARTITION_SPEED_FEATURES {
598 PARTITION_SEARCH_TYPE partition_search_type;
601 BLOCK_SIZE fixed_partition_size;
607 int prune_ext_partition_types_search_level;
610 int prune_part4_search;
614 int ml_prune_partition;
619 int ml_early_term_after_part_split_level;
624 int less_rectangular_check_level;
627 BLOCK_SIZE use_square_partition_only_threshold;
632 MAX_PART_PRED_MODE auto_max_partition_based_on_simple_motion;
636 BLOCK_SIZE default_min_partition_size;
637 BLOCK_SIZE default_max_partition_size;
643 int adjust_var_based_rd_partitioning;
646 int64_t partition_search_breakout_dist_thr;
647 int partition_search_breakout_rate_thr;
650 int ml_partition_search_breakout_thresh[PARTITION_BLOCK_SIZES];
656 int simple_motion_search_prune_agg;
660 int simple_motion_search_prune_rect;
667 int simple_motion_search_split;
671 int simple_motion_search_early_term_none;
677 int simple_motion_search_reduce_search_steps;
682 BLOCK_SIZE max_intra_bsize;
689 int intra_cnn_based_part_prune_level;
693 BLOCK_SIZE ext_partition_eval_thresh;
696 int ext_part_eval_based_on_cur_best;
699 int rect_partition_eval_thresh;
706 int prune_ext_part_using_split_info;
712 int prune_rectangular_split_based_on_qidx;
724 bool prune_rect_part_using_4x4_var_deviation;
746 bool prune_rect_part_using_none_pred_mode;
750 int early_term_after_none_split;
756 int ml_predict_breakout_level;
762 int prune_sub_8x8_partition_level;
766 int simple_motion_search_rect_split;
799 int reuse_prev_rd_results_for_part_ab;
803 int reuse_best_prediction_for_part_ab;
813 int use_best_rd_for_pruning;
821 int skip_non_sq_part_based_on_none;
824 int disable_8x8_part_based_on_qidx;
825} PARTITION_SPEED_FEATURES;
827typedef struct MV_SPEED_FEATURES {
829 SEARCH_METHODS search_method;
835 int use_bsize_dependent_search_method;
839 int auto_mv_step_size;
845 SUBPEL_SEARCH_METHOD subpel_search_method;
848 int subpel_iters_per_step;
851 SUBPEL_FORCE_STOP subpel_force_stop;
854 SUBPEL_FORCE_STOP simple_motion_subpel_force_stop;
858 SUBPEL_SEARCH_TYPE use_accurate_subpel_search;
861 int exhaustive_searches_thresh;
864 MESH_PATTERN mesh_patterns[MAX_MESH_STEP];
867 MESH_PATTERN intrabc_mesh_patterns[MAX_MESH_STEP];
870 int reduce_search_range;
876 int use_fullpel_costlist;
881 int obmc_full_pixel_search_level;
884 int full_pixel_search_level;
900 int use_downsampled_sad;
903 int disable_extensive_joint_motion_search;
909 int disable_second_mv;
915 int skip_fullpel_search_using_startmv;
919 WARP_SEARCH_METHOD warp_search_method;
922 int warp_search_iters;
925typedef struct INTER_MODE_SPEED_FEATURES {
932 int inter_mode_rd_model_estimation;
938 int txfm_rd_gate_level[TX_SEARCH_CASES];
941 int reduce_inter_modes;
945 int adaptive_rd_thresh;
948 int prune_inter_modes_if_skippable;
953 int selective_ref_frame;
959 int prune_ref_frame_for_rect_partitions;
965 int alt_ref_search_fp;
971 int prune_single_ref;
982 int prune_comp_ref_frames;
996 int skip_newmv_in_drl;
1002 int skip_repeated_ref_mv;
1005 int perform_best_rd_based_gating_for_chroma;
1009 int reuse_inter_intra_mode;
1013 int prune_comp_type_by_model_rd;
1017 int prune_comp_type_by_comp_avg;
1025 int prune_comp_search_by_single_result;
1030 int prune_mode_search_simple_translation;
1035 int prune_compound_using_single_ref;
1044 int prune_ext_comp_using_neighbors;
1047 int skip_ext_comp_nearmv_mode;
1054 int prune_comp_using_best_single_mode_ref;
1060 int prune_nearest_near_mv_using_refmv_weight;
1063 int prune_ref_mv_idx_search;
1066 int disable_onesided_comp;
1070 int prune_obmc_prob_thresh;
1073 int prune_warped_prob_thresh;
1076 unsigned int disable_interintra_wedge_var_thresh;
1079 unsigned int disable_interinter_wedge_var_thresh;
1082 int fast_interintra_wedge_search;
1085 int fast_wedge_sign_estimate;
1088 int disable_interinter_wedge_newmv_search;
1091 DIST_WTD_COMP_FLAG use_dist_wtd_comp_flag;
1105 int prune_inter_modes_based_on_tpl;
1109 PRUNE_NEARMV_LEVEL prune_nearmv_using_neighbors;
1114 int model_based_post_interp_filter_breakout;
1119 int reuse_compound_type_decision;
1122 int disable_masked_comp;
1138 int enable_fast_compound_mode_search;
1141 int reuse_mask_search_results;
1144 int enable_fast_wedge_mask_search;
1147 int inter_mode_txfm_breakout;
1153 int limit_inter_mode_cands;
1157 int limit_txfm_eval_per_mode;
1160 int extra_prune_warped;
1171 int skip_arf_compound;
1172} INTER_MODE_SPEED_FEATURES;
1174typedef struct INTERP_FILTER_SPEED_FEATURES {
1177 int use_fast_interpolation_filter_search;
1180 int disable_dual_filter;
1185 int use_interp_filter;
1189 int skip_sharp_interp_filter_search;
1192 int cb_pred_filter_search;
1195 int adaptive_interp_filter_search;
1199 int skip_interp_filter_search;
1200} INTERP_FILTER_SPEED_FEATURES;
1202typedef struct INTRA_MODE_SPEED_FEATURES {
1205 int intra_y_mode_mask[TX_SIZES];
1206 int intra_uv_mode_mask[TX_SIZES];
1209 int skip_intra_in_interframe;
1215 int intra_pruning_with_hog;
1221 int chroma_intra_pruning_with_hog;
1224 int disable_smooth_intra;
1235 bool prune_smooth_intra_mode_for_chroma;
1241 int prune_filter_intra_level;
1250 int prune_palette_search_level;
1270 int prune_luma_palette_size_search_level;
1276 int prune_chroma_modes_using_luma_winner;
1292 int cfl_search_range;
1297 int top_intra_model_count_allowed;
1301 int adapt_top_model_rd_count_using_neighbors;
1311 int prune_luma_odd_delta_angles_in_intra;
1323 int early_term_chroma_palette_size_search;
1327 int skip_filter_intra_in_inter_frames;
1328} INTRA_MODE_SPEED_FEATURES;
1330typedef struct TX_SPEED_FEATURES {
1334 int inter_tx_size_search_init_depth_sqr;
1335 int inter_tx_size_search_init_depth_rect;
1336 int intra_tx_size_search_init_depth_sqr;
1337 int intra_tx_size_search_init_depth_rect;
1341 int tx_size_search_lgr_block;
1343 TX_TYPE_SEARCH tx_type_search;
1353 int adaptive_txb_search_level;
1358 int model_based_prune_tx_search_level;
1361 int refine_fast_tx_search_results;
1366 int prune_tx_size_level;
1377 bool prune_intra_tx_depths_using_nn;
1392 bool use_rd_based_breakout_for_intra_tx_search;
1395typedef struct RD_CALC_SPEED_FEATURES {
1397 int simple_model_rd_from_var;
1421 int tx_domain_dist_level;
1424 int tx_domain_dist_thres_level;
1427 TRELLIS_OPT_TYPE optimize_coefficients;
1434 int perform_coeff_opt;
1435} RD_CALC_SPEED_FEATURES;
1437typedef struct WINNER_MODE_SPEED_FEATURES {
1440 int enable_winner_mode_for_coeff_opt;
1444 int enable_winner_mode_for_tx_size_srch;
1452 int tx_size_search_level;
1456 int enable_winner_mode_for_use_tx_domain_dist;
1459 MULTI_WINNER_MODE_TYPE multi_winner_mode_type;
1464 int motion_mode_for_winner_cand;
1471 int dc_blk_pred_level;
1476 int winner_mode_ifs;
1490 int prune_winner_mode_eval_level;
1491} WINNER_MODE_SPEED_FEATURES;
1493typedef struct LOOP_FILTER_SPEED_FEATURES {
1495 LPF_PICK_METHOD lpf_pick;
1499 int use_coarse_filter_level_search;
1507 int dual_sgr_penalty_level;
1510 int enable_sgr_ep_pruning;
1513 int disable_loop_restoration_chroma;
1516 int disable_loop_restoration_luma;
1522 int min_lr_unit_size;
1523 int max_lr_unit_size;
1529 int prune_wiener_based_on_src_var;
1536 int prune_sgr_based_on_wiener;
1539 int reduce_wiener_window_size;
1542 bool disable_wiener_filter;
1545 bool disable_sgr_filter;
1548 bool disable_wiener_coeff_refine_search;
1551 int use_downsampled_wiener_stats;
1552} LOOP_FILTER_SPEED_FEATURES;
1554typedef struct REAL_TIME_SPEED_FEATURES {
1556 int check_intra_pred_nonrd;
1563 int skip_intra_pred;
1570 int estimate_motion_for_var_based_partition;
1577 int nonrd_check_partition_merge_mode;
1580 int nonrd_check_partition_split;
1585 unsigned int mode_search_skip_flags;
1591 int nonrd_prune_ref_frame_search;
1594 int use_nonrd_pick_mode;
1597 int use_nonrd_altref_frame;
1600 int use_comp_ref_nonrd;
1604 int ref_frame_comp_nonrd[3];
1607 int use_real_time_ref_set;
1611 int short_circuit_low_temp_var;
1614 int reuse_inter_pred_nonrd;
1617 int num_inter_modes_for_tx_search;
1620 int use_nonrd_filter_search;
1623 int use_simple_rd_model;
1630 int hybrid_intra_pickmode;
1639 int prune_palette_search_nonrd;
1642 int source_metrics_sb_nonrd;
1646 OVERSHOOT_DETECTION_CBR overshoot_detection_cbr;
1649 int check_scene_detection;
1652 int rc_adjust_keyframe;
1656 int prefer_large_partition_blocks;
1659 int use_temporal_noise_estimate;
1665 int fullpel_search_step_param;
1672 int intra_y_mode_bsize_mask_nrd[BLOCK_SIZES];
1680 bool prune_hv_pred_modes_using_src_sad;
1683 int nonrd_aggressive_skip;
1695 int selective_cdf_update;
1698 int force_only_last_ref;
1702 int force_large_partition_blocks_intra;
1707 int use_fast_fixed_part;
1710 int increase_source_sad_thresh;
1713 int skip_tx_no_split_var_based_partition;
1717 int skip_newmv_mode_based_on_sse;
1724 int prune_inter_modes_with_golden_ref;
1727 int prune_inter_modes_wrt_gf_arf_based_on_sad;
1731 int prune_inter_modes_using_temp_var;
1738 int reduce_mv_pel_precision_highmotion;
1745 int reduce_mv_pel_precision_lowcomplex;
1748 BLOCK_SIZE prune_intra_mode_based_on_mv_range;
1752 int var_part_split_threshold_shift;
1759 int var_part_based_on_qidx;
1762 int gf_refresh_based_on_qp;
1775 int prune_idtx_nonrd;
1778 int dct_only_palette_nonrd;
1790 int thresh_active_maps_skip_lf_cdef;
1797 int part_early_exit_zeromv;
1803 int sad_based_adp_altref_lag;
1806 int partition_direct_merging;
1809 int tx_size_level_based_on_qstep;
1819 bool vbp_prune_16x16_split_using_min_max_sub_blk_var;
1834 int screen_content_cdef_filter_qindex_thresh;
1838 bool prune_compoundmode_with_singlecompound_var;
1843 bool frame_level_mode_cost_update;
1853 bool prune_h_pred_using_best_mode_so_far;
1864 bool enable_intra_mode_pruning_using_neighbors;
1873 bool prune_intra_mode_using_best_sad_so_far;
1878 bool check_only_zero_zeromv_on_large_blocks;
1881 bool disable_cdf_update_non_reference_frame;
1884 bool prune_compoundmode_with_singlemode_var;
1888 bool skip_compound_based_on_var;
1895 int set_zeromv_skip_based_on_source_sad;
1900 bool use_adaptive_subpel_search;
1906 bool enable_ref_short_signaling;
1910 bool check_globalmv_on_single_ref;
1915 bool increase_color_thresh_palette;
1918 int higher_thresh_scene_detection;
1921 int skip_newmv_flat_blocks_screen;
1924 int skip_encoding_non_reference_slide_change;
1925} REAL_TIME_SPEED_FEATURES;
static int prune_zero_mv_with_sse(const aom_variance_fn_ptr_t *fn_ptr, const MACROBLOCK *x, BLOCK_SIZE bsize, const HandleInterModeArgs *args, int prune_zero_mv_with_sse)
Prunes ZeroMV Search Using Best NEWMV's SSE.
Definition rdopt.c:2502
void av1_set_speed_features_framesize_independent(struct AV1_COMP *cpi, int speed)
Frame size independent speed vs quality trade off flags.
void av1_set_speed_features_qindex_dependent(struct AV1_COMP *cpi, int speed)
Q index dependent speed vs quality trade off flags.
void av1_set_speed_features_framesize_dependent(struct AV1_COMP *cpi, int speed)
Frame size dependent speed vs quality trade off flags.
INTERNAL_COST_UPDATE_TYPE
This enum decides internally how often to update the entropy costs.
Definition speed_features.h:346
@ INTERNAL_COST_UPD_OFF
Definition speed_features.h:347
@ INTERNAL_COST_UPD_SBROW_SET
Definition speed_features.h:349
@ INTERNAL_COST_UPD_SBROW
Definition speed_features.h:350
@ INTERNAL_COST_UPD_SB
Definition speed_features.h:351
@ INTERNAL_COST_UPD_TILE
Definition speed_features.h:348
INTER_SEARCH_EARLY_TERM_IDX
This enumeration defines inter search early termination index in non-rd path based on sse value.
Definition speed_features.h:390
@ EARLY_TERM_INDICES
Definition speed_features.h:401
@ EARLY_TERM_IDX_1
Definition speed_features.h:393
@ EARLY_TERM_IDX_4
Definition speed_features.h:399
@ EARLY_TERM_IDX_2
Definition speed_features.h:395
@ EARLY_TERM_DISABLED
Definition speed_features.h:391
@ EARLY_TERM_IDX_3
Definition speed_features.h:397
SIMPLE_MOTION_SEARCH_PRUNE_LEVEL
This enumeration defines a variety of simple motion search based partition prune levels.
Definition speed_features.h:358
@ QIDX_BASED_AGG_LVL1
Definition speed_features.h:364
@ SIMPLE_AGG_LVL3
Definition speed_features.h:363
@ TOTAL_SIMPLE_AGG_LVLS
Definition speed_features.h:367
@ SIMPLE_AGG_LVL1
Definition speed_features.h:361
@ SIMPLE_AGG_LVL0
Definition speed_features.h:360
@ TOTAL_AGG_LVLS
Definition speed_features.h:373
@ SIMPLE_AGG_LVL2
Definition speed_features.h:362
@ TOTAL_QINDEX_BASED_AGG_LVLS
Definition speed_features.h:369
struct SPEED_FEATURES SPEED_FEATURES
Top level speed vs quality trade off data struture.
PRUNE_MESH_SEARCH_LEVEL
This enumeration defines a variety of mesh search prune levels.
Definition speed_features.h:380
@ PRUNE_MESH_SEARCH_LVL_1
Definition speed_features.h:382
@ PRUNE_MESH_SEARCH_LVL_2
Definition speed_features.h:383
@ PRUNE_MESH_SEARCH_DISABLED
Definition speed_features.h:381
struct HIGH_LEVEL_SPEED_FEATURES HIGH_LEVEL_SPEED_FEATURES
Sequence/frame level speed vs quality features.
struct FIRST_PASS_SPEED_FEATURES FIRST_PASS_SPEED_FEATURES
CDEF_PICK_METHOD
This enumeration defines a variety of CDEF pick methods.
Definition speed_features.h:164
@ CDEF_FAST_SEARCH_LVL2
Definition speed_features.h:167
@ CDEF_FAST_SEARCH_LVL5
Definition speed_features.h:171
@ CDEF_FAST_SEARCH_LVL1
Definition speed_features.h:166
@ CDEF_FULL_SEARCH
Definition speed_features.h:165
@ CDEF_PICK_FROM_Q
Definition speed_features.h:172
@ CDEF_FAST_SEARCH_LVL4
Definition speed_features.h:170
@ CDEF_FAST_SEARCH_LVL3
Definition speed_features.h:168
Top level encoder structure.
Definition encoder.h:2873
int speed
Definition encoder.h:3095
Definition speed_features.h:490
int disable_recon
Skips reconstruction by using source buffers for prediction.
Definition speed_features.h:507
int reduce_mv_step_param
Reduces the mv search window. By default, the initial search window is around MIN(MIN(dims),...
Definition speed_features.h:497
int skip_zeromv_motion_search
Skips the motion search centered on 0,0 mv.
Definition speed_features.h:512
int skip_motion_search_threshold
Skips the motion search when the zero mv has small sse.
Definition speed_features.h:502
Sequence/frame level speed vs quality features.
Definition speed_features.h:407
int adjust_num_frames_for_arf_filtering
Definition speed_features.h:462
int allow_sub_blk_me_in_tf
Definition speed_features.h:484
int second_alt_ref_filtering
Definition speed_features.h:452
int frame_parameter_update
Definition speed_features.h:409
int weight_calc_level_in_tf
Definition speed_features.h:476
MV_PREC_LOGIC high_precision_mv_usage
Definition speed_features.h:428
int disable_extra_sc_testing
Definition speed_features.h:447
int recode_tolerance
Definition speed_features.h:420
SUPERRES_AUTO_SEARCH_TYPE superres_auto_search_type
Definition speed_features.h:442
int static_segmentation
Definition speed_features.h:437
int accurate_bit_estimate
Definition speed_features.h:469
RECODE_LOOP_TYPE recode_loop
Definition speed_features.h:414
Top level speed vs quality trade off data struture.
Definition speed_features.h:1932
MV_SPEED_FEATURES mv_sf
Definition speed_features.h:1961
TPL_SPEED_FEATURES tpl_sf
Definition speed_features.h:1946
LOOP_FILTER_SPEED_FEATURES lpf_sf
Definition speed_features.h:1996
TX_SPEED_FEATURES tx_sf
Definition speed_features.h:1981
INTER_MODE_SPEED_FEATURES inter_sf
Definition speed_features.h:1966
RD_CALC_SPEED_FEATURES rd_sf
Definition speed_features.h:1986
PARTITION_SPEED_FEATURES part_sf
Definition speed_features.h:1956
GLOBAL_MOTION_SPEED_FEATURES gm_sf
Definition speed_features.h:1951
INTERP_FILTER_SPEED_FEATURES interp_sf
Definition speed_features.h:1971
FIRST_PASS_SPEED_FEATURES fp_sf
Definition speed_features.h:1941
INTRA_MODE_SPEED_FEATURES intra_sf
Definition speed_features.h:1976
WINNER_MODE_SPEED_FEATURES winner_mode_sf
Definition speed_features.h:1991
REAL_TIME_SPEED_FEATURES rt_sf
Definition speed_features.h:2001
HIGH_LEVEL_SPEED_FEATURES hl_sf
Definition speed_features.h:1936