Home
last modified time | relevance | path

Searched refs:base_qi (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvaapi_vp8.c152 int base_qi = s->segmentation.base_quant[i]; in vaapi_vp8_start_frame() local
154 base_qi += s->quant.yac_qi; in vaapi_vp8_start_frame()
156 quant.quantization_index[i][0] = av_clip_uintp2(base_qi, 7); in vaapi_vp8_start_frame()
157 quant.quantization_index[i][1] = av_clip_uintp2(base_qi + s->quant.ydc_delta, 7); in vaapi_vp8_start_frame()
158 quant.quantization_index[i][2] = av_clip_uintp2(base_qi + s->quant.y2dc_delta, 7); in vaapi_vp8_start_frame()
159 quant.quantization_index[i][3] = av_clip_uintp2(base_qi + s->quant.y2ac_delta, 7); in vaapi_vp8_start_frame()
160 quant.quantization_index[i][4] = av_clip_uintp2(base_qi + s->quant.uvdc_delta, 7); in vaapi_vp8_start_frame()
161 quant.quantization_index[i][5] = av_clip_uintp2(base_qi + s->quant.uvac_delta, 7); in vaapi_vp8_start_frame()
Dvp8.c363 int i, base_qi; in vp8_get_quants() local
374 base_qi = s->segmentation.base_quant[i]; in vp8_get_quants()
376 base_qi += s->quant.yac_qi; in vp8_get_quants()
378 base_qi = s->quant.yac_qi; in vp8_get_quants()
380 … s->qmat[i].luma_qmul[0] = vp8_dc_qlookup[av_clip_uintp2(base_qi + s->quant.ydc_delta, 7)]; in vp8_get_quants()
381 s->qmat[i].luma_qmul[1] = vp8_ac_qlookup[av_clip_uintp2(base_qi, 7)]; in vp8_get_quants()
382 … s->qmat[i].luma_dc_qmul[0] = vp8_dc_qlookup[av_clip_uintp2(base_qi + s->quant.y2dc_delta, 7)] * 2; in vp8_get_quants()
384 …s->qmat[i].luma_dc_qmul[1] = vp8_ac_qlookup[av_clip_uintp2(base_qi + s->quant.y2ac_delta, 7)] * 10… in vp8_get_quants()
385 … s->qmat[i].chroma_qmul[0] = vp8_dc_qlookup[av_clip_uintp2(base_qi + s->quant.uvdc_delta, 7)]; in vp8_get_quants()
386 … s->qmat[i].chroma_qmul[1] = vp8_ac_qlookup[av_clip_uintp2(base_qi + s->quant.uvac_delta, 7)]; in vp8_get_quants()