Searched refs:this_rdc (Results 1 – 2 of 2) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_pickmode.c | 642 static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *this_rdc, in block_yrd() argument 672 model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist, in block_yrd() 687 model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist, in block_yrd() 744 this_rdc->rate = 0; in block_yrd() 748 this_rdc->dist = *sse; in block_yrd() 754 this_rdc->dist = 0; in block_yrd() 764 this_rdc->rate += (int)abs(qcoeff[0]); in block_yrd() 766 this_rdc->rate += vpx_satd(qcoeff, step << 4); in block_yrd() 768 this_rdc->dist += vp9_block_error_fp(coeff, dqcoeff, step << 4) >> 2; in block_yrd() 775 this_rdc->rate <<= (2 + VP9_PROB_COST_SHIFT); in block_yrd() [all …]
|
D | vp9_encodeframe.c | 3109 RD_COST this_rdc, sum_rdc, best_rdc; in rd_pick_partition() local 3147 vp9_rd_cost_init(&this_rdc); in rd_pick_partition() 3255 rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, bsize, ctx, in rd_pick_partition() 3257 if (this_rdc.rate != INT_MAX) { in rd_pick_partition() 3259 this_rdc.rate += cpi->partition_cost[pl][PARTITION_NONE]; in rd_pick_partition() 3260 this_rdc.rdcost = in rd_pick_partition() 3261 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist); in rd_pick_partition() 3264 if (this_rdc.rdcost < best_rdc.rdcost) { in rd_pick_partition() 3267 best_rdc = this_rdc; in rd_pick_partition() 3382 mi_col + x_idx, subsize, &this_rdc, in rd_pick_partition() [all …]
|