Home
last modified time | relevance | path

Searched refs:QIndex (Results 1 – 6 of 6) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dquant_common.c37 int vp8_dc_quant(int QIndex, int Delta) { in vp8_dc_quant() argument
40 QIndex = QIndex + Delta; in vp8_dc_quant()
42 if (QIndex > 127) { in vp8_dc_quant()
43 QIndex = 127; in vp8_dc_quant()
44 } else if (QIndex < 0) { in vp8_dc_quant()
45 QIndex = 0; in vp8_dc_quant()
48 retval = dc_qlookup[QIndex]; in vp8_dc_quant()
52 int vp8_dc2quant(int QIndex, int Delta) { in vp8_dc2quant() argument
55 QIndex = QIndex + Delta; in vp8_dc2quant()
57 if (QIndex > 127) { in vp8_dc2quant()
[all …]
Dquant_common.h22 extern int vp8_ac_yquant(int QIndex);
23 extern int vp8_dc_quant(int QIndex, int Delta);
24 extern int vp8_dc2quant(int QIndex, int Delta);
25 extern int vp8_ac2quant(int QIndex, int Delta);
26 extern int vp8_dc_uv_quant(int QIndex, int Delta);
27 extern int vp8_ac_uv_quant(int QIndex, int Delta);
/external/libvpx/libvpx/vp8/encoder/
Dvp8_quantize.c276 ((cpi->common.Y1dequant[QIndex][1] * \
281 ((cpi->common.UVdequant[QIndex][1] * \
286 ((cpi->common.Y2dequant[QIndex][1] * \
292 int QIndex; in vp8cx_mb_init_quantizer() local
300 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q] in vp8cx_mb_init_quantizer()
304 QIndex = cpi->common.base_qindex + in vp8cx_mb_init_quantizer()
308 QIndex = (QIndex >= 0) ? ((QIndex <= MAXQ) ? QIndex : MAXQ) : 0; in vp8cx_mb_init_quantizer()
311 QIndex = cpi->common.base_qindex; in vp8cx_mb_init_quantizer()
320 if (!ok_to_skip || QIndex != x->q_index) { in vp8cx_mb_init_quantizer()
322 xd->dequant_y1[0] = cpi->common.Y1dequant[QIndex][0]; in vp8cx_mb_init_quantizer()
[all …]
Drdopt.h22 void vp8cx_initialize_me_consts(VP8_COMP *cpi, int QIndex);
Drdopt.c158 void vp8cx_initialize_me_consts(VP8_COMP *cpi, int QIndex) { in vp8cx_initialize_me_consts() argument
159 cpi->mb.sadperbit16 = sad_per_bit16lut[QIndex]; in vp8cx_initialize_me_consts()
160 cpi->mb.sadperbit4 = sad_per_bit4lut[QIndex]; in vp8cx_initialize_me_consts()
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c59 int QIndex; in vp8_mb_init_dequantizer() local
67 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer()
71 QIndex = pc->base_qindex + in vp8_mb_init_dequantizer()
75 QIndex = (QIndex >= 0) ? ((QIndex <= MAXQ) ? QIndex : MAXQ) in vp8_mb_init_dequantizer()
78 QIndex = pc->base_qindex; in vp8_mb_init_dequantizer()
83 xd->dequant_y1[0] = pc->Y1dequant[QIndex][0]; in vp8_mb_init_dequantizer()
84 xd->dequant_y2[0] = pc->Y2dequant[QIndex][0]; in vp8_mb_init_dequantizer()
85 xd->dequant_uv[0] = pc->UVdequant[QIndex][0]; in vp8_mb_init_dequantizer()
88 xd->dequant_y1_dc[i] = xd->dequant_y1[i] = pc->Y1dequant[QIndex][1]; in vp8_mb_init_dequantizer()
89 xd->dequant_y2[i] = pc->Y2dequant[QIndex][1]; in vp8_mb_init_dequantizer()
[all …]