Lines Matching refs:stepsize
551 Int stepsize, QPx2 = QP << 1;
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 >> 4));
621 //q_value=(((coeff*2)+SIGN0(coeff))*stepsize*QP)/16;
623 q_value = coeff_dequant_mpeg(q_value, stepsize, QP, tmp);
680 Int stepsize;
758 stepsize = qmat[i];
759 /*if(coeff>0) coeff = (16*coeff + (stepsize/2)) / stepsize;
760 else coeff = (16*coeff - (stepsize/2)) / stepsize;*/
762 if (coeff >= 0) coeff += (stepsize >> 1) ;
763 else coeff -= (stepsize >> 1) ;
764 q_value = scaleArrayV2[stepsize];
769 coeff >>= (15 + (stepsize >> 4));
793 stepsize = smulbb(stepsize, QP);
794 q_value = smulbb(q_value, stepsize);
797 //q_value = (coeff*stepsize*QP*2)/16;
855 Int q_value, coeff, stepsize;
867 stepsize = qmat[0];
869 /*if(coeff>0) coeff = (16*coeff + (stepsize/2)) / stepsize;
870 else coeff = (16*coeff - (stepsize/2)) / stepsize;*/
872 if (coeff >= 0) coeff += (stepsize >> 1) ;
873 else coeff -= (stepsize >> 1) ;
874 q_value = scaleArrayV2[stepsize];
878 coeff >>= (15 + (stepsize >> 4));
897 q_value = coeff_dequant_mpeg(q_value, stepsize, QP, 2047);
898 //q_value=(((coeff*2)+SIGN0(coeff))*stepsize*QP)/16;