Lines Matching refs:quantization
151 uint8_t boundary, int quantization) { in NearLosslessComponent() argument
154 const int lower = residual & ~(quantization - 1); in NearLosslessComponent()
155 const int upper = lower + quantization; in NearLosslessComponent()
165 return lower + (quantization >> 1); in NearLosslessComponent()
174 return lower + (quantization >> 1); in NearLosslessComponent()
192 int quantization; in NearLossless() local
199 quantization = max_quantization; in NearLossless()
200 while (quantization >= max_diff) { in NearLossless()
201 quantization >>= 1; in NearLossless()
207 a = NearLosslessComponent(value >> 24, predict >> 24, 0xff, quantization); in NearLossless()
210 quantization); in NearLossless()
222 quantization); in NearLossless()
224 predict & 0xff, 0xff - new_green, quantization); in NearLossless()