Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/common/
Dquant_common.c39 int vp8_dc_quant(int QIndex, int Delta) in vp8_dc_quant() argument
43 QIndex = QIndex + Delta; in vp8_dc_quant()
45 if (QIndex > 127) in vp8_dc_quant()
46 QIndex = 127; in vp8_dc_quant()
47 else if (QIndex < 0) in vp8_dc_quant()
48 QIndex = 0; in vp8_dc_quant()
50 retval = dc_qlookup[ QIndex ]; in vp8_dc_quant()
54 int vp8_dc2quant(int QIndex, int Delta) in vp8_dc2quant() argument
58 QIndex = QIndex + Delta; in vp8_dc2quant()
60 if (QIndex > 127) in vp8_dc2quant()
[all …]
Dquant_common.h23 extern int vp8_ac_yquant(int QIndex);
24 extern int vp8_dc_quant(int QIndex, int Delta);
25 extern int vp8_dc2quant(int QIndex, int Delta);
26 extern int vp8_ac2quant(int QIndex, int Delta);
27 extern int vp8_dc_uv_quant(int QIndex, int Delta);
28 extern int vp8_ac_uv_quant(int QIndex, int Delta);
/external/libvpx/libvpx/vp8/encoder/
Dquantize.c593 (( cpi->common.Y1dequant[QIndex][1] * \
599 (( cpi->common.UVdequant[QIndex][1] * \
605 (( cpi->common.Y2dequant[QIndex][1] * \
613 int QIndex; in vp8cx_mb_init_quantizer() local
622 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer()
626QIndex = cpi->common.base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->m… in vp8cx_mb_init_quantizer()
628 QIndex = (QIndex >= 0) ? ((QIndex <= MAXQ) ? QIndex : MAXQ) : 0; in vp8cx_mb_init_quantizer()
632 QIndex = cpi->common.base_qindex; in vp8cx_mb_init_quantizer()
640 if (!ok_to_skip || QIndex != x->q_index) in vp8cx_mb_init_quantizer()
644 xd->dequant_y1[0] = cpi->common.Y1dequant[QIndex][0]; in vp8cx_mb_init_quantizer()
[all …]
Drdopt.c219 void vp8cx_initialize_me_consts(VP8_COMP *cpi, int QIndex) in vp8cx_initialize_me_consts() argument
221 cpi->mb.sadperbit16 = sad_per_bit16lut[QIndex]; in vp8cx_initialize_me_consts()
222 cpi->mb.sadperbit4 = sad_per_bit4lut[QIndex]; in vp8cx_initialize_me_consts()
Dencodeframe.c44 extern void vp8cx_initialize_me_consts(VP8_COMP *cpi, int QIndex);
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c61 int QIndex; in vp8_mb_init_dequantizer() local
70 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer()
75 QIndex = pc->base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][mbmi->segment_id]; in vp8_mb_init_dequantizer()
76QIndex = (QIndex >= 0) ? ((QIndex <= MAXQ) ? QIndex : MAXQ) : 0; /* Clamp to valid range */ in vp8_mb_init_dequantizer()
80 QIndex = pc->base_qindex; in vp8_mb_init_dequantizer()
84 xd->dequant_y1[0] = pc->Y1dequant[QIndex][0]; in vp8_mb_init_dequantizer()
85 xd->dequant_y2[0] = pc->Y2dequant[QIndex][0]; in vp8_mb_init_dequantizer()
86 xd->dequant_uv[0] = pc->UVdequant[QIndex][0]; in vp8_mb_init_dequantizer()
91 xd->dequant_y1[i] = pc->Y1dequant[QIndex][1]; in vp8_mb_init_dequantizer()
92 xd->dequant_y2[i] = pc->Y2dequant[QIndex][1]; in vp8_mb_init_dequantizer()
[all …]