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

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastquant.cpp551 Int stepsize, QPx2 = QP << 1; local
587 stepsize = qmat[i];
588 // if(coeff>0) coeff = (16*coeff + (stepsize/2)) / stepsize;
589 // else coeff = (16*coeff - (stepsize/2)) / stepsize;
591 if (coeff >= 0) coeff += (stepsize >> 1) ;
592 else coeff -= (stepsize >> 1) ;
593 q_value = scaleArrayV2[stepsize];
597 coeff >>= (15 + (stepsize >>
680 Int stepsize; local
855 Int q_value, coeff, stepsize; local
[all...]
H A Dfastquant_inline.h124 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
131 stepsize *= QP;
134 q_value = (coeff + 1) * stepsize;
140 q_value = (coeff - 1) * stepsize;
243 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
250 smulbb stepsize, stepsize, QP local
253 smulbb q_value, coeff, stepsize
340 __inline int32 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
347 mul stepsize, stepsiz local
567 coeff_dequant_mpeg(int32 q_value, int32 stepsize, int32 QP, int32 tmp) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DBlackWhiteFilter.java53 "uniform float stepsize;\n" +
80 " vec3 temp = clamp((color.rgb + stepsize - black) * scale, 0.0, 1.0);\n" +
119 float stepsize = 1.0f / 255.0f;
122 mProgram.setHostValue("stepsize", stepsize);

Completed in 506 milliseconds