Home
last modified time | relevance | path

Searched refs:iQP (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/img/psb_video/src/
Dtng_hostbias.c161 CalculateDCScaler(IMG_INT iQP, IMG_BOOL bChroma) in CalculateDCScaler() argument
166 if (iQP > 0 && iQP < 5) in CalculateDCScaler()
170 else if (iQP > 4 && iQP < 9) in CalculateDCScaler()
172 iDCScaler = 2 * iQP; in CalculateDCScaler()
174 else if (iQP > 8 && iQP < 25) in CalculateDCScaler()
176 iDCScaler = iQP + 8; in CalculateDCScaler()
180 iDCScaler = 2 * iQP -16; in CalculateDCScaler()
185 if (iQP > 0 && iQP < 5) in CalculateDCScaler()
189 else if (iQP > 4 && iQP < 25) in CalculateDCScaler()
191 iDCScaler = (iQP + 13) / 2; in CalculateDCScaler()
[all …]
Dpnw_hostcode.c156 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()
[all …]