Home
last modified time | relevance | path

Searched refs:stepsize (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastquant.cpp551 Int stepsize, QPx2 = QP << 1; in BlockQuantDequantMPEGInter() local
587 stepsize = qmat[i]; in BlockQuantDequantMPEGInter()
591 if (coeff >= 0) coeff += (stepsize >> 1) ; in BlockQuantDequantMPEGInter()
592 else coeff -= (stepsize >> 1) ; in BlockQuantDequantMPEGInter()
593 q_value = scaleArrayV2[stepsize]; in BlockQuantDequantMPEGInter()
597 coeff >>= (15 + (stepsize >> 4)); in BlockQuantDequantMPEGInter()
623 q_value = coeff_dequant_mpeg(q_value, stepsize, QP, tmp); in BlockQuantDequantMPEGInter()
680 Int stepsize; in BlockQuantDequantMPEGIntra() local
758 stepsize = qmat[i]; in BlockQuantDequantMPEGIntra()
762 if (coeff >= 0) coeff += (stepsize >> 1) ; in BlockQuantDequantMPEGIntra()
[all …]
Dfastquant_inline.h124 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) in coeff_dequant_mpeg() argument
131 stepsize *= QP; in coeff_dequant_mpeg()
134 q_value = (coeff + 1) * stepsize; in coeff_dequant_mpeg()
140 q_value = (coeff - 1) * stepsize; in coeff_dequant_mpeg()
243 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) in coeff_dequant_mpeg() argument
250 smulbb stepsize, stepsize, QP in coeff_dequant_mpeg()
253 smulbb q_value, coeff, stepsize in coeff_dequant_mpeg()
340 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) in coeff_dequant_mpeg() argument
347 mul stepsize, stepsize, QP in coeff_dequant_mpeg()
350 mul q_value, coeff, stepsize in coeff_dequant_mpeg()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBlackWhiteFilter.java119 float stepsize = 1.0f / 255.0f; in updateParameters() local
122 mProgram.setHostValue("stepsize", stepsize); in updateParameters()