/drivers/media/test-drivers/vicodec/ |
D | codec-fwht.c | 197 const int *quant = quant_table; in quantize_intra() local 201 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) { in quantize_intra() 202 *coeff >>= *quant; in quantize_intra() 206 *de_coeff = *coeff << *quant; in quantize_intra() 213 const int *quant = quant_table; in dequantize_intra() local 217 for (i = 0; i < 8; i++, quant++, coeff++) in dequantize_intra() 218 *coeff <<= *quant; in dequantize_intra() 223 const int *quant = quant_table_p; in quantize_inter() local 227 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) { in quantize_inter() 228 *coeff >>= *quant; in quantize_inter() [all …]
|
/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 688 struct hfi_quantization *in = pdata, *quant = prop_data; in pkt_session_set_property_1x() local 690 quant->qp_i = in->qp_i; in pkt_session_set_property_1x() 691 quant->qp_p = in->qp_p; in pkt_session_set_property_1x() 692 quant->qp_b = in->qp_b; in pkt_session_set_property_1x() 693 quant->layer_id = in->layer_id; in pkt_session_set_property_1x() 694 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*quant); in pkt_session_set_property_1x() 980 struct hfi_initial_quantization *in = pdata, *quant = prop_data; in pkt_session_set_property_1x() local 982 quant->init_qp_enable = in->init_qp_enable; in pkt_session_set_property_1x() 983 quant->qp_i = in->qp_i; in pkt_session_set_property_1x() 984 quant->qp_p = in->qp_p; in pkt_session_set_property_1x() [all …]
|
D | venc.c | 539 struct hfi_quantization quant; in venc_set_properties() local 674 quant.qp_i = ctr->h264_i_qp; in venc_set_properties() 675 quant.qp_p = ctr->h264_p_qp; in venc_set_properties() 676 quant.qp_b = ctr->h264_b_qp; in venc_set_properties() 677 quant.layer_id = 0; in venc_set_properties() 678 ret = hfi_session_set_property(inst, ptype, &quant); in venc_set_properties()
|
/drivers/gpu/ipu-v3/ |
D | ipu-ic-csc.c | 360 tbl_idx = (QUANT_MAP(csc->in_cs.quant) << 1) | in calc_csc_coeffs() 361 QUANT_MAP(csc->out_cs.quant); in calc_csc_coeffs()
|
/drivers/media/platform/ |
D | imx-pxp.c | 163 enum v4l2_quantization quant; member 464 quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_setup_csc() 677 quantization = ctx->q_data[V4L2_M2M_DST].quant; in pxp_setup_csc() 1098 f->fmt.pix.quantization = q_data->quant; in pxp_g_fmt() 1162 *quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_fixup_colorimetry_cap() 1269 ctx->q_data[V4L2_M2M_DST].quant = f->fmt.pix.quantization; in pxp_s_fmt_vid_cap() 1291 ctx->q_data[V4L2_M2M_SRC].quant = f->fmt.pix.quantization; in pxp_s_fmt_vid_out() 1295 &ctx->q_data[V4L2_M2M_DST].quant); in pxp_s_fmt_vid_out()
|
/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_core.h | 215 enum v4l2_quantization quant; member
|
D | mtk_mdp_m2m.c | 200 pix_mp->quantization = ctx->quant; in mtk_mdp_try_fmt_mplane() 653 pix_mp->quantization = ctx->quant; in mtk_mdp_m2m_g_fmt_mplane() 718 ctx->quant = pix_mp->quantization; in mtk_mdp_m2m_s_fmt_mplane()
|
/drivers/staging/media/hantro/ |
D | hantro_g1_vp8_dec.c | 189 u32 quant = clamp(q->y_ac_qi + seg->quant_update[i], in cfg_qp() local 192 hantro_reg_write(vpu, &vp8_dec_quant[i], quant); in cfg_qp()
|
D | rk3399_vpu_hw_vp8_dec.c | 327 u32 quant = clamp(q->y_ac_qi + seg->quant_update[i], in cfg_qp() local 330 hantro_reg_write(vpu, &vp8_dec_quant[i], quant); in cfg_qp()
|
/drivers/media/test-drivers/ |
D | vim2m.c | 229 enum v4l2_quantization quant; member 751 f->fmt.pix.quantization = ctx->quant; in vidioc_g_fmt() 815 f->fmt.pix.quantization = ctx->quant; in vidioc_try_fmt_vid_cap() 906 ctx->quant = f->fmt.pix.quantization; in vidioc_s_fmt_vid_out()
|
/drivers/media/dvb-frontends/ |
D | stb0899_drv.c | 997 unsigned int val, quant, quantn = -1, est, estn = -1; in stb0899_read_snr() local 1021 quant = STB0899_GETFIELD(UWP_ESN0_QUANT, reg); in stb0899_read_snr() 1030 … quantn = stb0899_table_lookup(stb0899_quant_tab, ARRAY_SIZE(stb0899_quant_tab) - 1, quant * 100); in stb0899_read_snr() 1038 quant, quantn, est, estn, val); in stb0899_read_snr()
|
/drivers/media/platform/sti/hva/ |
D | hva-h264.c | 302 u16 quant; member 750 td->quant = 28; in hva_h264_prepare_task()
|