Home | History | Annotate | Download | only in encoder

Lines Matching defs:rc

26   const int rc = 0;
27 const int coeff = coeff_ptr[rc];
33 tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX);
35 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign;
36 dqcoeff_ptr[rc] = qcoeff_ptr[rc] * dequant_ptr;
47 const int rc = 0;
48 const int coeff = coeff_ptr[rc];
55 tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX);
57 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign;
58 dqcoeff_ptr[rc] = qcoeff_ptr[rc] * dequant_ptr / 2;
88 const int rc = scan[i];
89 const int coeff = coeff_ptr[rc];
93 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX);
94 tmp = (tmp * quant_ptr[rc != 0]) >> 16;
96 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign;
97 dqcoeff_ptr[rc] = qcoeff_ptr[rc] * dequant_ptr[rc != 0];
128 const int rc = scan[i];
129 const int coeff = coeff_ptr[rc];
134 if (abs_coeff >= (dequant_ptr[rc != 0] >> 2)) {
135 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1);
137 tmp = (abs_coeff * quant_ptr[rc != 0]) >> 15;
138 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign;
139 dqcoeff_ptr[rc] = qcoeff_ptr[rc] * dequant_ptr[rc != 0] / 2;
170 const int rc = scan[i];
171 const int coeff = coeff_ptr[rc];
173 if (coeff < zbins[rc != 0] && coeff > nzbins[rc != 0])
182 const int rc = scan[i];
183 const int coeff = coeff_ptr[rc];
187 if (abs_coeff >= zbins[rc != 0]) {
188 int tmp = clamp(abs_coeff + round_ptr[rc != 0], INT16_MIN, INT16_MAX);
189 tmp = ((((tmp * quant_ptr[rc != 0]) >> 16) + tmp) *
190 quant_shift_ptr[rc != 0]) >> 16; // quantization
191 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign;
192 dqcoeff_ptr[rc] = qcoeff_ptr[rc] * dequant_ptr[rc != 0];
226 const int rc = scan[i];
227 const int coeff = coeff_ptr[rc];
231 if (coeff >= zbins[rc != 0] || coeff <= nzbins[rc != 0])
238 const int rc = scan[idx_arr[i]];
239 const int coeff = coeff_ptr[rc];
243 abs_coeff += ROUND_POWER_OF_TWO(round_ptr[rc != 0], 1);
245 tmp = ((((abs_coeff * quant_ptr[rc != 0]) >> 16) + abs_coeff) *
246 quant_shift_ptr[rc != 0]) >> 15;
248 qcoeff_ptr[rc] = (tmp ^ coeff_sign) - coeff_sign;
249 dqcoeff_ptr[rc] = qcoeff_ptr[rc] * dequant_ptr[rc != 0] / 2;