Lines Matching refs:qmat
230 #define QSCALE(qmat,ind,val) ((val) / ((qmat)[ind]))
247 int blocks_per_slice, int *qmat)
253 prev_dc = QSCALE(qmat, 0, in[0] - 16384);
259 new_dc = QSCALE(qmat, 0, in[idx] - 16384);
278 int16_t *in, int blocks_per_slice, int *qmat, const uint8_t ff_prores_scan[64])
287 int val = QSCALE(qmat, indp, in[(j << 6) + indp]);
363 static int encode_slice_plane(int16_t *blocks, int mb_count, uint8_t *buf, unsigned buf_size, int *qmat, int sub_sample_chroma,
372 encode_dc_coeffs(&pb, blocks, blocks_per_slice, qmat);
373 encode_ac_coeffs(&pb, blocks, blocks_per_slice, qmat, ff_prores_scan);