Lines Matching defs:quant
76 /* do residue transform quant invquant, invtrans and write output out */
87 int Qq, Rq, q_bits, qp_const, quant;
141 /* quant */
156 quant = quant_coef[Rq][k];
159 lev = data * quant + qp_const;
163 lev = -data * quant + qp_const;
171 quant = dequant_coefres[Rq][k];
175 coef[idx] = (lev * quant) << Qq;
180 coef[idx] = (-lev * quant) << Qq;
359 /* performa dct, quant, iquant, idct for the entire MB */
372 int Rq, Qq, quant, q_bits, qp_const;
457 quant = quant_coef[Rq][0];
467 if (data > 0) // quant
469 lev = data * quant + (qp_const << 1);
473 lev = -data * quant + (qp_const << 1);
502 quant = dequant_coefres[Rq][0];
531 coef[0] = ((m0 + m2) * quant) << Qq;
532 coef[64] = ((m0 - m2) * quant) << Qq;
533 coef[128] = ((m1 - m3) * quant) << Qq;
534 coef[192] = ((m1 + m3) * quant) << Qq;
551 coef[0] = (((m0 + m2) * quant + offset) >> Qq);
552 coef[64] = (((m0 - m2) * quant + offset) >> Qq);
553 coef[128] = (((m1 - m3) * quant + offset) >> Qq);
554 coef[192] = (((m1 + m3) * quant + offset) >> Qq);
562 /* now zigzag scan ac coefs, quant, iquant and itrans */
594 quant = quant_coef[Rq][k];
597 lev = data * quant + qp_const;
601 lev = -data * quant + qp_const;
606 quant = dequant_coefres[Rq][k];
610 coef[idx] = (lev * quant) << Qq;
615 coef[idx] = (-lev * quant) << Qq;
733 int Qq, Rq, qp_const, q_bits, quant;
816 quant = quant_coef[Rq][0];
832 lev = data * quant + (qp_const << 1);
836 lev = -data * quant + (qp_const << 1);
867 quant = dequant_coefres[Rq][0];
882 coef[0] = (r0 * quant) << Qq;
883 coef[4] = (r1 * quant) << Qq;
884 coef[64] = (r2 * quant) << Qq;
885 coef[68] = (r3 * quant) << Qq;
890 coef[0] = (r0 * quant) >> 1;
891 coef[4] = (r1 * quant) >> 1;
892 coef[64] = (r2 * quant) >> 1;
893 coef[68] = (r3 * quant) >> 1;
897 /* now do AC zigzag scan, quant, iquant and itrans */
927 quant = quant_coef[Rq][k];
930 lev = data * quant + qp_const;
934 lev = -data * quant + qp_const;
946 quant = dequant_coefres[Rq][k];
950 coef[idx] = (lev * quant) << Qq;
955 coef[idx] = (-lev * quant) << Qq;
1124 int q_bits, qp_const, quant;
1163 quant = quant_coef[Rq][0];
1176 lev = data * quant + (qp_const << 1);
1180 lev = -data * quant + (qp_const << 1);
1212 int Qq, Rq, q_bits, qp_const, quant;
1232 quant = quant_coef[Rq][0];
1252 lev = data * quant + (qp_const << 1);
1256 lev = -data * quant + (qp_const << 1);