/linux-6.6.21/drivers/media/test-drivers/visl/ |
D | visl-trace-vp8.h | 103 __entry->f.quant.y_ac_qi, 104 __entry->f.quant.y_dc_delta, 105 __entry->f.quant.y2_dc_delta, 106 __entry->f.quant.y2_ac_delta, 107 __entry->f.quant.uv_dc_delta, 108 __entry->f.quant.uv_ac_delta,
|
D | visl-trace-vp9.h | 60 __entry->f.quant.base_q_idx, 61 __entry->f.quant.delta_q_y_dc, 62 __entry->f.quant.delta_q_uv_dc, 63 __entry->f.quant.delta_q_uv_ac,
|
D | visl-dec.h | 19 const struct v4l2_ctrl_mpeg2_quantisation *quant; member
|
D | visl-dec.c | 372 trace_v4l2_ctrl_mpeg2_quantisation(run->mpeg2.quant); in visl_trace_ctrls() 447 run.mpeg2.quant = visl_find_control_data(ctx, in visl_device_run()
|
/linux-6.6.21/drivers/media/test-drivers/vicodec/ |
D | codec-fwht.c | 198 const int *quant = quant_table; in quantize_intra() local 202 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) { in quantize_intra() 203 *coeff >>= *quant; in quantize_intra() 207 *de_coeff = *coeff << *quant; in quantize_intra() 214 const int *quant = quant_table; in dequantize_intra() local 218 for (i = 0; i < 8; i++, quant++, coeff++) in dequantize_intra() 219 *coeff <<= *quant; in dequantize_intra() 224 const int *quant = quant_table_p; in quantize_inter() local 228 for (i = 0; i < 8; i++, quant++, coeff++, de_coeff++) { in quantize_inter() 229 *coeff >>= *quant; in quantize_inter() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_av1_req_lat_if.c | 484 struct vdec_av1_slice_quantization quant; member 1166 static void vdec_av1_slice_setup_quant(struct vdec_av1_slice_quantization *quant, in vdec_av1_slice_setup_quant() argument 1169 quant->base_q_idx = ctrl_quant->base_q_idx; in vdec_av1_slice_setup_quant() 1170 quant->delta_qydc = ctrl_quant->delta_q_y_dc; in vdec_av1_slice_setup_quant() 1171 quant->delta_qudc = ctrl_quant->delta_q_u_dc; in vdec_av1_slice_setup_quant() 1172 quant->delta_quac = ctrl_quant->delta_q_u_ac; in vdec_av1_slice_setup_quant() 1173 quant->delta_qvdc = ctrl_quant->delta_q_v_dc; in vdec_av1_slice_setup_quant() 1174 quant->delta_qvac = ctrl_quant->delta_q_v_ac; in vdec_av1_slice_setup_quant() 1175 quant->qm_y = ctrl_quant->qm_y; in vdec_av1_slice_setup_quant() 1176 quant->qm_u = ctrl_quant->qm_u; in vdec_av1_slice_setup_quant() [all …]
|
D | vdec_vp9_req_lat_if.c | 849 struct v4l2_vp9_quantization *quant) in vdec_vp9_slice_setup_quantization() argument 851 uh->base_q_idx = quant->base_q_idx; in vdec_vp9_slice_setup_quantization() 852 uh->delta_q_y_dc = quant->delta_q_y_dc; in vdec_vp9_slice_setup_quantization() 853 uh->delta_q_uv_dc = quant->delta_q_uv_dc; in vdec_vp9_slice_setup_quantization() 854 uh->delta_q_uv_ac = quant->delta_q_uv_ac; in vdec_vp9_slice_setup_quantization() 962 vdec_vp9_slice_setup_quantization(uh, &hdr->quant); in vdec_vp9_slice_setup_pfc()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | rtas-proc.c | 119 unsigned int quant; member 124 unsigned int quant; member 399 for (i=0; i<sensors.quant; i++) { in ppc_rtas_sensors_show() 409 for (j = 0, offs = 0; j <= p->quant; j++) { in ppc_rtas_sensors_show() 439 sensors.quant = len / 8; /* int + int */ in ppc_rtas_find_all_sensors() 441 for (i=0; i<sensors.quant; i++) { in ppc_rtas_find_all_sensors() 443 sensors.sensor[i].quant = *utmp++; in ppc_rtas_find_all_sensors()
|
/linux-6.6.21/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_vp8.c | 760 reg |= VE_VP8_QP_INDEX_DELTA_UVAC(slice->quant.uv_ac_delta); in cedrus_vp8_setup() 761 reg |= VE_VP8_QP_INDEX_DELTA_UVDC(slice->quant.uv_dc_delta); in cedrus_vp8_setup() 762 reg |= VE_VP8_QP_INDEX_DELTA_Y2AC(slice->quant.y2_ac_delta); in cedrus_vp8_setup() 763 reg |= VE_VP8_QP_INDEX_DELTA_Y2DC(slice->quant.y2_dc_delta); in cedrus_vp8_setup() 764 reg |= VE_VP8_QP_INDEX_DELTA_Y1DC(slice->quant.y_dc_delta); in cedrus_vp8_setup() 765 reg |= VE_VP8_QP_INDEX_DELTA_BASE_QINDEX(slice->quant.y_ac_qi); in cedrus_vp8_setup()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/media/platform/qcom/venus/ |
D | hfi_cmds.c | 699 struct hfi_quantization *in = pdata, *quant = prop_data; in pkt_session_set_property_1x() local 701 quant->qp_i = in->qp_i; in pkt_session_set_property_1x() 702 quant->qp_p = in->qp_p; in pkt_session_set_property_1x() 703 quant->qp_b = in->qp_b; in pkt_session_set_property_1x() 704 quant->layer_id = in->layer_id; in pkt_session_set_property_1x() 705 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*quant); in pkt_session_set_property_1x() 993 struct hfi_initial_quantization *in = pdata, *quant = prop_data; in pkt_session_set_property_1x() local 995 quant->init_qp_enable = in->init_qp_enable; in pkt_session_set_property_1x() 996 quant->qp_i = in->qp_i; in pkt_session_set_property_1x() 997 quant->qp_p = in->qp_p; in pkt_session_set_property_1x() [all …]
|
D | venc.c | 669 struct hfi_quantization quant; in venc_set_properties() local 867 quant.qp_i = ctr->hevc_i_qp; in venc_set_properties() 868 quant.qp_p = ctr->hevc_p_qp; in venc_set_properties() 869 quant.qp_b = ctr->hevc_b_qp; in venc_set_properties() 871 quant.qp_i = ctr->h264_i_qp; in venc_set_properties() 872 quant.qp_p = ctr->h264_p_qp; in venc_set_properties() 873 quant.qp_b = ctr->h264_b_qp; in venc_set_properties() 875 quant.layer_id = 0; in venc_set_properties() 876 ret = hfi_session_set_property(inst, ptype, &quant); in venc_set_properties()
|
/linux-6.6.21/include/video/ |
D | imx-ipu-v3.h | 401 enum v4l2_quantization quant; member 408 enum v4l2_quantization quant, in ipu_ic_fill_colorspace() argument 412 ic_cs->quant = quant; in ipu_ic_fill_colorspace()
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
D | hantro_g2_vp9_dec.c | 437 feat_val = dec_params->quant.base_q_idx; in config_segment() 527 static inline bool is_lossless(const struct v4l2_vp9_quantization *quant) in is_lossless() argument 529 return quant->base_q_idx == 0 && quant->delta_q_uv_ac == 0 && in is_lossless() 530 quant->delta_q_uv_dc == 0 && quant->delta_q_y_dc == 0; in is_lossless() 536 hantro_reg_write(ctx->dev, &vp9_qp_delta_y_dc, dec_params->quant.delta_q_y_dc); in config_quant() 537 hantro_reg_write(ctx->dev, &vp9_qp_delta_ch_dc, dec_params->quant.delta_q_uv_dc); in config_quant() 538 hantro_reg_write(ctx->dev, &vp9_qp_delta_ch_ac, dec_params->quant.delta_q_uv_ac); in config_quant() 539 hantro_reg_write(ctx->dev, &vp9_lossless_e, is_lossless(&dec_params->quant)); in config_quant()
|
D | hantro_g1_vp8_dec.c | 179 const struct v4l2_vp8_quantization *q = &hdr->quant; in cfg_qp() 188 u32 quant = clamp(q->y_ac_qi + seg->quant_update[i], in cfg_qp() local 191 hantro_reg_write(vpu, &vp8_dec_quant[i], quant); in cfg_qp()
|
D | rockchip_vpu2_hw_vp8_dec.c | 317 const struct v4l2_vp8_quantization *q = &hdr->quant; in cfg_qp() 326 u32 quant = clamp(q->y_ac_qi + seg->quant_update[i], in cfg_qp() local 329 hantro_reg_write(vpu, &vp8_dec_quant[i], quant); in cfg_qp()
|
/linux-6.6.21/drivers/media/platform/st/stm32/dma2d/ |
D | dma2d.h | 101 enum v4l2_quantization quant; member
|
D | dma2d.c | 375 f->fmt.pix.quantization = ctx->quant; in vidioc_g_fmt() 415 f->fmt.pix.quantization = ctx->quant; in vidioc_try_fmt() 450 ctx->quant = f->fmt.pix.quantization; in vidioc_s_fmt()
|
/linux-6.6.21/drivers/media/platform/nxp/ |
D | imx-pxp.c | 171 enum v4l2_quantization quant; member 505 quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_setup_csc() 718 quantization = ctx->q_data[V4L2_M2M_DST].quant; in pxp_setup_csc() 1201 f->fmt.pix.quantization = q_data->quant; in pxp_g_fmt() 1265 *quantization = ctx->q_data[V4L2_M2M_SRC].quant; in pxp_fixup_colorimetry_cap() 1372 ctx->q_data[V4L2_M2M_DST].quant = f->fmt.pix.quantization; in pxp_s_fmt_vid_cap() 1394 ctx->q_data[V4L2_M2M_SRC].quant = f->fmt.pix.quantization; in pxp_s_fmt_vid_out() 1398 &ctx->q_data[V4L2_M2M_DST].quant); in pxp_s_fmt_vid_out()
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_core.h | 215 enum v4l2_quantization quant; member
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-ctrls-core.c | 435 validate_vp9_quant_params(struct v4l2_vp9_quantization *quant) in validate_vp9_quant_params() argument 437 if (quant->delta_q_y_dc < -15 || quant->delta_q_y_dc > 15 || in validate_vp9_quant_params() 438 quant->delta_q_uv_dc < -15 || quant->delta_q_uv_dc > 15 || in validate_vp9_quant_params() 439 quant->delta_q_uv_ac < -15 || quant->delta_q_uv_ac > 15) in validate_vp9_quant_params() 442 zero_reserved(*quant); in validate_vp9_quant_params() 556 ret = validate_vp9_quant_params(&frame->quant); in validate_vp9_frame() 1045 zero_padding(p_vp8_frame->quant); in std_validate_compound()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/media/test-drivers/ |
D | vim2m.c | 224 enum v4l2_quantization quant; member 741 f->fmt.pix.quantization = ctx->quant; in vidioc_g_fmt() 805 f->fmt.pix.quantization = ctx->quant; in vidioc_try_fmt_vid_cap() 896 ctx->quant = f->fmt.pix.quantization; in vidioc_s_fmt_vid_out()
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-regs.h | 354 enum v4l2_quantization quant; member
|
/linux-6.6.21/drivers/media/platform/st/sti/hva/ |
D | hva-h264.c | 302 u16 quant; member 752 td->quant = 28; in hva_h264_prepare_task()
|