Home
last modified time | relevance | path

Searched refs:this_rdc (Results 1 – 4 of 4) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dnonrd_pickmode.c730 RD_STATS *this_rdc, int *skippable, int64_t *sse, in block_yrd() argument
838 this_rdc->skip = *skippable; in block_yrd()
839 this_rdc->rate = 0; in block_yrd()
843 this_rdc->dist = *sse; in block_yrd()
849 this_rdc->dist = 0; in block_yrd()
862 this_rdc->rate += (int)abs(qcoeff[0]); in block_yrd()
864 this_rdc->rate += aom_satd(qcoeff, step << 4); in block_yrd()
866 this_rdc->dist += in block_yrd()
874 this_rdc->rate += (int)abs(low_qcoeff[0]); in block_yrd()
876 this_rdc->rate += aom_satd_lp(low_qcoeff, step << 4); in block_yrd()
[all …]
Dencodeframe.c2522 RD_STATS this_rdc; in rd_try_subblock() local
2523 pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, partition, in rd_try_subblock()
2526 if (this_rdc.rate == INT_MAX) { in rd_try_subblock()
2529 sum_rdc->rate += this_rdc.rate; in rd_try_subblock()
2530 sum_rdc->dist += this_rdc.dist; in rd_try_subblock()
2694 RD_STATS this_rdc, sum_rdc; in rd_pick_partition() local
2801 av1_init_rd_stats(&this_rdc); in rd_pick_partition()
2955 pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, PARTITION_NONE, in rd_pick_partition()
2957 av1_rd_cost_update(x->rdmult, &this_rdc); in rd_pick_partition()
2968 if (none_rd) *none_rd = this_rdc.rdcost; in rd_pick_partition()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c709 static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *this_rdc, in block_yrd() argument
735 model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist, in block_yrd()
802 this_rdc->rate = 0; in block_yrd()
806 this_rdc->dist = *sse; in block_yrd()
812 this_rdc->dist = 0; in block_yrd()
822 this_rdc->rate += (int)abs(qcoeff[0]); in block_yrd()
824 this_rdc->rate += vpx_satd(qcoeff, step << 4); in block_yrd()
826 this_rdc->dist += vp9_block_error_fp(coeff, dqcoeff, step << 4) >> 2; in block_yrd()
833 this_rdc->rate <<= (2 + VP9_PROB_COST_SHIFT); in block_yrd()
834 this_rdc->rate += (eob_cost << VP9_PROB_COST_SHIFT); in block_yrd()
[all …]
Dvp9_encodeframe.c3828 RD_COST this_rdc, sum_rdc; in rd_pick_partition() local
3874 vp9_rd_cost_init(&this_rdc); in rd_pick_partition()
4012 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, bsize, ctx, in rd_pick_partition()
4014 ctx->rdcost = this_rdc.rdcost; in rd_pick_partition()
4015 if (this_rdc.rate != INT_MAX) { in rd_pick_partition()
4025 this_rdc.rate += cpi->partition_cost[pl][PARTITION_NONE]; in rd_pick_partition()
4026 vp9_rd_cost_update(partition_mul, x->rddiv, &this_rdc); in rd_pick_partition()
4029 if (this_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition()
4032 best_rdc = this_rdc; in rd_pick_partition()
4054 if (ml_predict_breakout(cpi, bsize, x, &this_rdc)) { in rd_pick_partition()
[all …]