Searched refs:rate2 (Results 1 – 3 of 3) sorted by relevance
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | pickinter.c | 486 static int evaluate_inter_mode(unsigned int* sse, int rate2, int* distortion2, in evaluate_inter_mode() argument 508 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode() 590 int rate2; in vp8_pick_inter_mode() local 778 rate2 = 0; in vp8_pick_inter_mode() 789 rate2 += frame_cost; in vp8_pick_inter_mode() 814 rate2 += rate; in vp8_pick_inter_mode() 818 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 847 rate2 += x->mbmode_cost[x->e_mbd.frame_type][x->e_mbd.mode_info_context->mbmi.mode]; in vp8_pick_inter_mode() 848 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2); in vp8_pick_inter_mode() 1040 rate2 += vp8_mv_bit_cost(&mode_mv[NEWMV], &best_ref_mv, in vp8_pick_inter_mode() [all …]
|
D | rdopt.c | 46 int rate2; member 1805 rd->rate2 = 500; in evaluate_inter_mode_rd() 1812 return RDCOST(x->rdmult, x->rddiv, rd->rate2, in evaluate_inter_mode_rd() 1821 rd->rate2 += vp8_cost_mv_ref(this_mode, mdcounts); in evaluate_inter_mode_rd() 1825 rd->rate2 += rd->rate_y; in evaluate_inter_mode_rd() 1831 rd->rate2 += rd->rate_uv; in evaluate_inter_mode_rd() 1853 rd->rate2 += *other_cost; in calculate_final_rd_costs() 1859 rd->rate2 += in calculate_final_rd_costs() 1891 rd->rate2 -= (rd->rate_y + rd->rate_uv); in calculate_final_rd_costs() 1902 rd->rate2 += prob_skip_cost; in calculate_final_rd_costs() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 2691 int *rate2, int64_t *distortion, in handle_inter_mode() argument 2747 *rate2 += rate_mv; in handle_inter_mode() 2754 *rate2 += rate_mv; in handle_inter_mode() 2786 *rate2 += cost_mv_ref(cpi, this_mode, mbmi->mode_context[refs[0]]); in handle_inter_mode() 2918 *rate2 += get_switchable_rate(x); in handle_inter_mode() 2983 *rate2 += vp9_cost_bit(vp9_get_skip_prob(cm, xd), 1); in handle_inter_mode() 2991 this_rd = RDCOST(x->rdmult, x->rddiv, *rate2, *distortion); in handle_inter_mode() 3009 *rate2 = INT_MAX; in handle_inter_mode() 3015 *rate2 += *rate_y; in handle_inter_mode() 3018 rdcosty = RDCOST(x->rdmult, x->rddiv, *rate2, *distortion); in handle_inter_mode() [all …]
|