/external/libvpx/libvpx/vp9/encoder/ |
vp9_quantize.c | 312 const int qindex = vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex); local 313 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); 317 x->plane[0].quant = quants->y_quant[qindex]; 318 x->plane[0].quant_fp = quants->y_quant_fp[qindex]; 319 x->plane[0].round_fp = quants->y_round_fp[qindex]; 320 x->plane[0].quant_shift = quants->y_quant_shift[qindex]; 321 x->plane[0].zbin = quants->y_zbin[qindex]; 322 x->plane[0].round = quants->y_round[qindex]; 323 xd->plane[0].dequant = cpi->y_dequant[qindex]; 330 x->plane[i].quant = quants->uv_quant[qindex]; [all...] |
vp9_rd.c | 152 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { 153 const int64_t q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth); 186 static int compute_rd_thresh_factor(int qindex, vpx_bit_depth_t bit_depth) { 191 q = vp9_dc_quant(qindex, 0, VPX_BITS_8) / 4.0; 194 q = vp9_dc_quant(qindex, 0, VPX_BITS_10) / 16.0; 197 q = vp9_dc_quant(qindex, 0, VPX_BITS_12) / 64.0; 205 q = vp9_dc_quant(qindex, 0, VPX_BITS_8) / 4.0; 211 void vp9_initialize_me_consts(VP9_COMP *cpi, MACROBLOCK *x, int qindex) { 215 x->sadperbit16 = sad_per_bit16lut_8[qindex]; 216 x->sadperbit4 = sad_per_bit4lut_8[qindex]; 240 const int qindex = local [all...] |
vp9_ratectrl.c | 158 double vp9_convert_qindex_to_q(int qindex, vpx_bit_depth_t bit_depth) { 163 return vp9_ac_quant(qindex, 0, bit_depth) / 4.0; 165 return vp9_ac_quant(qindex, 0, bit_depth) / 16.0; 167 return vp9_ac_quant(qindex, 0, bit_depth) / 64.0; 173 return vp9_ac_quant(qindex, 0, bit_depth) / 4.0; 177 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex, 180 const double q = vp9_convert_qindex_to_q(qindex, bit_depth); 706 int qindex = rc->last_boosted_qindex; local 707 double last_boosted_q = vp9_convert_qindex_to_q(qindex, cm->bit_depth); 711 active_best_quality = VPXMAX(qindex + delta_qindex, rc->best_quality) 839 int qindex = rc->last_boosted_qindex; local 1010 int qindex; local 1281 const int qindex = cm->base_qindex; local 1902 int qindex; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_quantize.c | 221 const int qindex = vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex); local 222 const int rdmult = vp9_compute_rd_mult(cpi, qindex + cm->y_dc_delta_q); 227 x->plane[0].quant = quants->y_quant[qindex]; 228 x->plane[0].quant_shift = quants->y_quant_shift[qindex]; 229 x->plane[0].zbin = quants->y_zbin[qindex]; 230 x->plane[0].round = quants->y_round[qindex]; 231 x->plane[0].zbin_extra = (int16_t)((cm->y_dequant[qindex][1] * zbin) >> 7); 232 xd->plane[0].dequant = cm->y_dequant[qindex]; 236 x->plane[i].quant = quants->uv_quant[qindex]; 237 x->plane[i].quant_shift = quants->uv_quant_shift[qindex]; 263 const int qindex = x->q_index; local [all...] |
vp9_ratectrl.c | 94 double vp9_convert_qindex_to_q(int qindex) { 96 return vp9_ac_quant(qindex, 0) / 4.0; 99 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex, 101 const double q = vp9_convert_qindex_to_q(qindex); 506 int qindex = rc->last_boosted_qindex; local 507 double last_boosted_q = vp9_convert_qindex_to_q(qindex); 510 active_best_quality = MAX(qindex + delta_qindex, rc->best_quality); 527 // Convert the adjustment factor to a qindex delta 618 int qindex = rc->last_boosted_qindex; local 619 double last_boosted_q = vp9_convert_qindex_to_q(qindex); 800 int qindex = rc->last_boosted_qindex; local [all...] |
vp9_rdopt.c | 221 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) { 222 const int q = vp9_dc_quant(qindex, 0); 234 static int compute_rd_thresh_factor(int qindex) { 236 const int q = (int)(pow(vp9_dc_quant(qindex, 0) / 4.0, RD_THRESH_POW) * 5.12); 240 void vp9_initialize_me_consts(VP9_COMP *cpi, int qindex) { 241 cpi->mb.sadperbit16 = sad_per_bit16lut[qindex]; 242 cpi->mb.sadperbit4 = sad_per_bit4lut[qindex]; 250 const int qindex = clamp(vp9_get_qindex(&cm->seg, segment_id, local 253 const int q = compute_rd_thresh_factor(qindex); [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodeframe.c | 1157 const int qindex = vp9_get_qindex(&cm->seg, i, cm->base_qindex); local 1167 const int qindex = cm->base_qindex; local [all...] |