Lines Matching defs:scale
180 * @brief Get macroblock-level quantizer scale
343 int a, b, c, wrap, pred, scale;
353 if (n < 4) scale = s->y_dc_scale;
354 else scale = s->c_dc_scale;
369 b = a = dcpred[scale];
371 b = c = dcpred[scale];
415 /* scale predictors if needed */
588 int dcdiff, scale;
614 scale = s->y_dc_scale;
616 scale = s->c_dc_scale;
617 block[0] = dcdiff * scale;
626 scale = v->pq * 2 + v->halfpq;
672 /* scale AC coeffs */
675 block[k] *= scale;
697 block[k << sh] = ac_val[k] * scale;
729 int scale;
758 scale = s->y_dc_scale;
760 scale = s->c_dc_scale;
761 block[0] = dcdiff * scale;
767 scale = quant * 2 + ((mquant < 0) ? 0 : v->halfpq);
834 /* scale predictors if needed*/
854 /* scale AC coeffs */
857 block[k] *= scale;
888 block[k << sh] = ac_val2[k] * scale;
921 int scale;
930 /* Set DC scale - y and c use the same */
974 scale = quant * 2 + ((mquant < 0) ? 0 : v->halfpq);
1019 /* scale predictors if needed*/
1049 /* scale AC coeffs */
1052 block[k] *= scale;
1094 block[k << v->left_blk_sh] = ac_val2[k] * scale;
1100 block[k << v->top_blk_sh] = ac_val2[k + 8] * scale;
1124 int scale, off, idx, last, skip, value;
1148 scale = quant * 2 + ((mquant < 0) ? 0 : v->halfpq);
1175 block[idx] = value * scale;
1205 block[idx + off] = value * scale;
1234 block[idx] = value * scale;
1263 block[idx] = value * scale;
1595 /* Set DC scale - y and c use the same (not sure if necessary here) */
1759 /* Set DC scale - y and c use the same (not sure if necessary here) */
2042 /* Set DC scale - y and c use the same (not sure if necessary here) */
2240 /* Set DC scale - y and c use the same (not sure if necessary here) */
2561 /* Set DC scale - y and c use the same */
2737 /* Set DC scale - y and c use the same */