Searched refs:rdmult (Results 1 - 17 of 17) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
H A Dencodemb.c159 int rdmult; local
187 rdmult = mb->rdmult * err_mult;
189 rdmult = (rdmult * 9) >> 4;
225 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0);
226 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1);
228 rd_cost0 = RDTRUNC(rdmult, rddiv, rate0, error0);
229 rd_cost1 = RDTRUNC(rdmult, rddiv, rate1, error1);
282 rd_cost0 = RDCOST(rdmult, rddi
[all...]
H A Dblock.h88 int rdmult; member in struct:macroblock
H A Dencodeframe.c307 x->rdmult += *(x->mb_activity_ptr) * (x->rdmult >> 2);
308 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv);
319 x->rdmult = (unsigned int)(((int64_t)x->rdmult * b + (a >> 1)) / a);
320 x->errorperbit = x->rdmult * 100 / (110 * x->rddiv);
415 x->rdmult = cpi->RDMULT;
H A Drdopt.c564 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
641 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
666 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
720 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
739 return RDCOST(x->rdmult, x->rddiv, *rate, *distortion);
777 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion);
993 this_segment_rd += RDCOST(x->rdmult, x->rddiv, rate, 0);
1145 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
1629 return RDCOST(x->rdmult, x->rddiv, rd->rate2, rd->distortion2);
1709 this_rd = RDCOST(x->rdmult,
[all...]
H A Dpickinter.c272 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
330 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
559 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2);
958 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2);
984 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, distortion2);
1414 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
H A Dethreading.c148 x->rdmult = cpi->RDMULT;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_aq_cyclicrefresh.h50 int rdmult; member in struct:CYCLIC_REFRESH
H A Dvp9_rd.c152 int64_t rdmult = 0; local
154 case VPX_BITS_8: rdmult = 88 * q * q / 24; break;
155 case VPX_BITS_10: rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 4); break;
156 case VPX_BITS_12: rdmult = ROUND_POWER_OF_TWO(88 * q * q / 24, 8); break;
162 int64_t rdmult = 88 * q * q / 24; local
164 return rdmult;
168 int64_t rdmult = vp9_compute_rd_mult_based_on_qindex(cpi, qindex); local
175 rdmult = (rdmult * rd_frame_type_factor[frame_type]) >> 7;
176 rdmult
[all...]
H A Dvp9_rd.h180 static INLINE void set_error_per_bit(MACROBLOCK *x, int rdmult) { argument
181 x->errorperbit = rdmult >> RD_EPB_SHIFT;
H A Dvp9_block.h84 // The equivalent error at the current rdmult of one whole bit (not one
94 int rdmult; member in struct:macroblock
H A Dvp9_rdopt.c747 rd = RDCOST(x->rdmult, x->rddiv, 0, dist);
756 rd1 = RDCOST(x->rdmult, x->rddiv, rate, dist);
757 rd2 = RDCOST(x->rdmult, x->rddiv, 0, sse);
884 rd[n][0] = rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]);
887 rd[n][0] = RDCOST(x->rdmult, x->rddiv, s1, sse[n]);
888 rd[n][1] = RDCOST(x->rdmult, x->rddiv, s1 + r_tx_size, sse[n]);
891 rd[n][0] = RDCOST(x->rdmult, x->rddiv, r[n][0] + s0, d[n]);
892 rd[n][1] = RDCOST(x->rdmult, x->rddiv, r[n][1] + s0, d[n]);
896 rd[n][0] = VPXMIN(rd[n][0], RDCOST(x->rdmult, x->rddiv, s1, sse[n]));
897 rd[n][1] = VPXMIN(rd[n][1], RDCOST(x->rdmult,
[all...]
H A Dvp9_temporal_filter.c702 int rdmult; local
782 rdmult = (int)vp9_compute_rd_mult_based_on_qindex(cpi, ARNR_FILT_QINDEX);
783 if (rdmult < 1) rdmult = 1;
784 set_error_per_bit(&cpi->td.mb, rdmult);
H A Dvp9_aq_cyclicrefresh.c557 cr->rdmult = vp9_compute_rd_mult(cpi, qindex2);
578 return cr->rdmult;
H A Dvp9_quantize.c273 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); local
305 set_error_per_bit(x, rdmult);
H A Dvp9_pickmode.c211 !(RDCOST(x->rdmult, x->rddiv, (*rate_mv + rate_mode), 0) > best_rd_sofar);
1124 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist);
1340 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, rate, dist);
1442 RDCOST(x->rdmult, x->rddiv, intra_cost_penalty, 0);
1876 cost = RDCOST(x->rdmult, x->rddiv, pf_rate[filter], pf_dist[filter]);
1950 if (RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist) <
1951 RDCOST(x->rdmult, x->rddiv, 0, this_sse)) {
1987 this_rdc.rdcost = RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist);
2009 RDCOST(x->rdmult, x->rddiv, this_rdc.rate, this_rdc.dist);
2164 RDCOST(x->rdmult,
[all...]
H A Dvp9_encodeframe.c243 x->rdmult = cpi->rd.RDMULT;
1681 // Save rdmult before it might be changed, so it can be restored later.
1682 orig_rdmult = x->rdmult;
1713 x->rdmult = set_segment_rdmult(cpi, x, mi->segment_id);
1717 // I do not change rdmult here consciously.
1727 x->rdmult = set_segment_rdmult(cpi, x, mi->segment_id);
1729 x->rdmult = set_segment_rdmult(cpi, x, mi->segment_id);
1733 // If segment is boosted, use rdmult for that segment.
1736 x->rdmult = vp9_cyclic_refresh_get_rdmult(cpi->cyclic_refresh);
1765 x->rdmult
[all...]
H A Dvp9_encodemb.c68 rd_cost0 = RDCOST(rdmult, rddiv, rate0, error0); \
69 rd_cost1 = RDCOST(rdmult, rddiv, rate1, error1); \
117 const int64_t rdmult = ((int64_t)mb->rdmult * plane_rd_mult[ref][type]) >> 1; local

Completed in 440 milliseconds