Searched refs:this_rdc (Results 1 – 2 of 2) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_pickmode.c | 628 static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *this_rdc, in block_yrd() argument 658 model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist, in block_yrd() 671 model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist, in block_yrd() 728 this_rdc->rate = 0; in block_yrd() 732 this_rdc->dist = *sse; in block_yrd() 738 this_rdc->dist = 0; in block_yrd() 748 this_rdc->rate += (int)abs(qcoeff[0]); in block_yrd() 750 this_rdc->rate += vpx_satd(qcoeff, step << 4); in block_yrd() 752 this_rdc->dist += vp9_block_error_fp(coeff, dqcoeff, step << 4) >> 2; in block_yrd() 759 this_rdc->rate <<= (2 + VP9_PROB_COST_SHIFT); in block_yrd() [all …]
|
D | vp9_encodeframe.c | 2892 RD_COST this_rdc, sum_rdc, best_rdc; in rd_pick_partition() local 2930 vp9_rd_cost_init(&this_rdc); in rd_pick_partition() 3038 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, bsize, ctx, in rd_pick_partition() 3040 if (this_rdc.rate != INT_MAX) { in rd_pick_partition() 3042 this_rdc.rate += cpi->partition_cost[pl][PARTITION_NONE]; in rd_pick_partition() 3043 this_rdc.rdcost = in rd_pick_partition() 3044 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in rd_pick_partition() 3047 if (this_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition() 3050 best_rdc = this_rdc; in rd_pick_partition() 3165 mi_col + x_idx, subsize, &this_rdc, in rd_pick_partition() [all …]
|