Home
last modified time | relevance | path

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

/external/u-boot/drivers/clk/at91/
Dclk-usb.c50 ulong tmp_rate, best_rate = rate, source_rate; in at91_usb_clk_set_rate() local
68 tmp_rate = DIV_ROUND_CLOSEST(source_rate, div); in at91_usb_clk_set_rate()
69 tmp_diff = abs(rate - tmp_rate); in at91_usb_clk_set_rate()
72 best_rate = tmp_rate; in at91_usb_clk_set_rate()
80 if (!best_diff || tmp_rate < rate) in at91_usb_clk_set_rate()
Dclk-generated.c82 ulong tmp_rate, best_rate = rate, parent_rate; in generic_clk_set_rate() local
100 tmp_rate = DIV_ROUND_CLOSEST(parent_rate, div); in generic_clk_set_rate()
101 tmp_diff = abs(rate - tmp_rate); in generic_clk_set_rate()
104 best_rate = tmp_rate; in generic_clk_set_rate()
113 if (!best_diff || tmp_rate < rate) in generic_clk_set_rate()
/external/libaom/libaom/av1/encoder/
Drdopt.c8219 int tmp_rate[2], tmp_skip_sb[2] = { 1, 1 }; in interpolation_filter_rd() local
8257 cpi, bsize, x, xd, 0, 0, mi_row, mi_col, &tmp_rate[0], &tmp_dist[0], in interpolation_filter_rd()
8259 tmp_rate[1] = tmp_rate[0]; in interpolation_filter_rd()
8263 tmp_rate[1] = rate[0]; in interpolation_filter_rd()
8270 int64_t tmp_rd = RDCOST(x->rdmult, tmp_rs + tmp_rate[1], tmp_dist[1]); in interpolation_filter_rd()
8280 tmp_rate[1] = in interpolation_filter_rd()
8281 (int)AOMMIN(((int64_t)tmp_rate[1] + (int64_t)tmp_rate_uv), INT_MAX); in interpolation_filter_rd()
8289 tmp_rate[1] = rate[1]; in interpolation_filter_rd()
8292 int64_t tmp_rd = RDCOST(x->rdmult, tmp_rs + tmp_rate[1], tmp_dist[1]); in interpolation_filter_rd()
8302 memcpy(rate, tmp_rate, sizeof(*rate) * 2); in interpolation_filter_rd()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c2860 int tmp_rate; in handle_inter_mode() local
2866 model_rd_for_sb(cpi, bsize, x, xd, &tmp_rate, &tmp_dist, &skip_txfm_sb, in handle_inter_mode()
2868 rd = RDCOST(x->rdmult, x->rddiv, rs + tmp_rate, tmp_dist); in handle_inter_mode()