12 #ifndef AOM_AV1_ENCODER_VAR_BASED_PART_H_
13 #define AOM_AV1_ENCODER_VAR_BASED_PART_H_
17 #include "config/aom_config.h"
18 #include "config/aom_dsp_rtcd.h"
19 #include "config/av1_rtcd.h"
24 #define GET_BLK_IDX_X(idx, level) (((idx) & (0x01)) << (level))
25 #define GET_BLK_IDX_Y(idx, level) (((idx) >> (0x01)) << (level))
31 #define QINDEX_LARGE_BLOCK_THR \
35 #define CALC_CHROMA_THRESH_FOR_ZEROMV_SKIP(thresh_exit_part) \
36 ((3 * (thresh_exit_part)) >> 2)
56 int content_lowsumdiff);
93 int av1_get_force_skip_low_temp_var_small_sb(
const uint8_t *variance_low,
94 int mi_row,
int mi_col,
97 int av1_get_force_skip_low_temp_var(
const uint8_t *variance_low,
int mi_row,
98 int mi_col, BLOCK_SIZE bsize);
Declares top-level encoder structures and functions.
void av1_set_variance_partition_thresholds(AV1_COMP *cpi, int q, int content_lowsumdiff)
Set the thresholds for variance based partition.
int av1_choose_var_based_partitioning(AV1_COMP *cpi, const TileInfo *const tile, ThreadData *td, MACROBLOCK *x, int mi_row, int mi_col)
Variance based partition selection.
Top level encoder structure.
Definition: encoder.h:2872
Encoder's parameters related to the current coding block.
Definition: block.h:878