Searched refs:rate2 (Results 1 – 4 of 4) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 2588 VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int *rate2, in handle_inter_mode() argument 2683 *rate2 += rate_mv; in handle_inter_mode() 2698 *rate2 += VPXMAX((rate_mv / NEW_MV_DISCOUNT_FACTOR), 1); in handle_inter_mode() 2700 *rate2 += rate_mv; in handle_inter_mode() 2732 *rate2 += in handle_inter_mode() 2736 *rate2 += cost_mv_ref(cpi, this_mode, mbmi_ext->mode_context[refs[0]]); in handle_inter_mode() 2739 if (RDCOST(x->rdmult, x->rddiv, *rate2, 0) > ref_best_rd && in handle_inter_mode() 2890 if (cm->interp_filter == SWITCHABLE) *rate2 += rs; in handle_inter_mode() 2906 *rate2 = INT_MAX; in handle_inter_mode() 2912 *rate2 += *rate_y; in handle_inter_mode() [all …]
|
/external/libvpx/libvpx/vp8/encoder/ |
D | pickinter.c | 465 static int evaluate_inter_mode(unsigned int *sse, int rate2, int *distortion2, in evaluate_inter_mode() argument 486 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode() 578 int rate2; in vp8_pick_inter_mode() local 834 rate2 = 0; in vp8_pick_inter_mode() 844 rate2 += frame_cost; in vp8_pick_inter_mode() 865 rate2 += rate; in vp8_pick_inter_mode() 868 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 892 rate2 += x->mbmode_cost[x->e_mbd.frame_type] in vp8_pick_inter_mode() 894 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1067 rate2 += in vp8_pick_inter_mode() [all …]
|
D | rdopt.c | 49 int rate2; member 1617 rd->rate2 = 500; in evaluate_inter_mode_rd() 1624 return RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2); in evaluate_inter_mode_rd() 1631 rd->rate2 += vp8_cost_mv_ref(this_mode, mdcounts); in evaluate_inter_mode_rd() 1635 rd->rate2 += rd->rate_y; in evaluate_inter_mode_rd() 1641 rd->rate2 += rd->rate_uv; in evaluate_inter_mode_rd() 1658 rd->rate2 += *other_cost; in calculate_final_rd_costs() 1664 rd->rate2 += x->ref_frame_cost[x->e_mbd.mode_info_context->mbmi.ref_frame]; in calculate_final_rd_costs() 1688 rd->rate2 -= (rd->rate_y + rd->rate_uv); in calculate_final_rd_costs() 1698 rd->rate2 += prob_skip_cost; in calculate_final_rd_costs() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | rdopt.c | 11598 int rate2 = 0; in search_palette_mode() local 11633 rate2 = rd_stats_y.rate + rate_overhead_palette; in search_palette_mode() 11634 rate2 += ref_costs_single[INTRA_FRAME]; in search_palette_mode() 11656 rate2 += search_state->rate_uv_intra[uv_tx]; in search_palette_mode() 11660 rate2 -= rd_stats_y.rate; in search_palette_mode() 11661 if (num_planes > 1) rate2 -= search_state->rate_uv_tokenonly[uv_tx]; in search_palette_mode() 11662 rate2 += x->skip_cost[av1_get_skip_context(xd)][1]; in search_palette_mode() 11664 rate2 += x->skip_cost[av1_get_skip_context(xd)][0]; in search_palette_mode() 11666 this_rd = RDCOST(x->rdmult, rate2, distortion2); in search_palette_mode() 11670 rd_cost->rate = rate2; in search_palette_mode() [all …]
|