Lines Matching refs:iQP
156 static int CalculateDCScaler(IMG_INT iQP, IMG_BOOL bChroma) in CalculateDCScaler() argument
160 if (iQP > 0 && iQP < 5) { in CalculateDCScaler()
162 } else if (iQP > 4 && iQP < 9) { in CalculateDCScaler()
163 iDCScaler = 2 * iQP; in CalculateDCScaler()
164 } else if (iQP > 8 && iQP < 25) { in CalculateDCScaler()
165 iDCScaler = iQP + 8; in CalculateDCScaler()
167 iDCScaler = 2 * iQP - 16; in CalculateDCScaler()
170 if (iQP > 0 && iQP < 5) { in CalculateDCScaler()
172 } else if (iQP > 4 && iQP < 25) { in CalculateDCScaler()
173 iDCScaler = (iQP + 13) / 2; in CalculateDCScaler()
175 iDCScaler = iQP - 6; in CalculateDCScaler()