Lines Matching refs:center
236 uint32_t k, scale, symbol, total, low, center;
240 center = rc->value / scale + 1;
241 center = total - FFMIN(center, total);
243 if (center < total >> 1) {
244 k = (ff_sqrt(8 * center + 1) - 1) >> 1;
248 k = (2*(qn + 1) - ff_sqrt(8*(total - center - 1) + 1)) >> 1;
279 uint32_t scale, low = 0, center;
282 center = rc->value / scale + 1;
283 center = (1 << 15) - FFMIN(center, 1 << 15);
285 if (center >= symbol) {
290 while (symbol > 1 && center >= low + 2 * symbol) {
298 int distance = (center - low) >> 1;
303 if (center < low + symbol)