Home
last modified time | relevance | path

Searched refs:quant (Results 1 – 25 of 39) sorted by relevance

12

/OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/
H A Dgstmppjpegenc.c43 guint quant; member
86 guint quant = g_value_get_uint (value); in gst_mpp_h264_enc_set_property() local
87 if (self->quant == quant) in gst_mpp_h264_enc_set_property()
90 self->quant = quant; in gst_mpp_h264_enc_set_property()
110 g_value_set_uint (value, self->quant); in gst_mpp_h264_enc_get_property()
127 mpp_enc_cfg_set_s32 (mppenc->mpp_cfg, "jpeg:quant", self->quant); in gst_mpp_jpeg_enc_apply_properties()
168 self->quant = DEFAULT_PROP_QUANT; in gst_mpp_jpeg_enc_init()
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c197 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 …]
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/jpeg/
H A Djpege_api_v2.c91 jpeg_cfg->quant = 10; in jpege_init_v2()
256 dst->quant = src->quant; in jpege_proc_jpeg_cfg()
257 if (dst->quant < 0 || dst->quant > 10) { in jpege_proc_jpeg_cfg()
259 dst->quant = 8; in jpege_proc_jpeg_cfg()
263 mpp_log("setup quant %d change mode %s fixqp", dst->quant, in jpege_proc_jpeg_cfg()
336 change, dst->quant, dst->q_factor); in jpege_proc_jpeg_cfg()
495 syntax->quality = codec->jpeg.quant; in jpege_proc_hal()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Drtas-proc.c119 unsigned int quant; member
124 unsigned int quant; member
404 for (i=0; i<sensors.quant; i++) { in ppc_rtas_sensors_show()
414 for (j = 0, offs = 0; j <= p->quant; j++) { in ppc_rtas_sensors_show()
444 sensors.quant = len / 8; /* int + int */ in ppc_rtas_find_all_sensors()
446 for (i=0; i<sensors.quant; i++) { in ppc_rtas_find_all_sensors()
448 sensors.sensor[i].quant = *utmp++; in ppc_rtas_find_all_sensors()
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A Dhfi_cmds.c688 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 …]
H A Dvenc.c539 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()
/OK3568_Linux_fs/kernel/drivers/gpu/ipu-v3/
H A Dipu-ic-csc.c360 tbl_idx = (QUANT_MAP(csc->in_cs.quant) << 1) | in calc_csc_coeffs()
361 QUANT_MAP(csc->out_cs.quant); in calc_csc_coeffs()
/OK3568_Linux_fs/kernel/include/video/
H A Dimx-ipu-v3.h399 enum v4l2_quantization quant; member
406 enum v4l2_quantization quant, in ipu_ic_fill_colorspace() argument
410 ic_cs->quant = quant; in ipu_ic_fill_colorspace()
/OK3568_Linux_fs/buildroot/package/musepack/
H A Dmusepack.mk14 MUSEPACK_LICENSE_FILES = libmpcdec/COPYING libmpcenc/quant.c
H A Dmusepack.hash7 sha256 0da88639aebbd614151ee52294fa13789f8cd28d9f2e0a56998b89b5c21ddc2b libmpcenc/quant.c
/OK3568_Linux_fs/kernel/drivers/media/platform/
H A Dimx-pxp.c163 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()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c537 hw_cfg->y1_quant_dc[i] = ctx->qp_y1[qp].quant[0]; in set_new_frame()
538 hw_cfg->y1_quant_ac[i] = ctx->qp_y1[qp].quant[1]; in set_new_frame()
539 hw_cfg->y2_quant_dc[i] = ctx->qp_y2[qp].quant[0]; in set_new_frame()
540 hw_cfg->y2_quant_ac[i] = ctx->qp_y2[qp].quant[1]; in set_new_frame()
541 hw_cfg->ch_quant_dc[i] = ctx->qp_ch[qp].quant[0]; in set_new_frame()
542 hw_cfg->ch_quant_ac[i] = ctx->qp_ch[qp].quant[1]; in set_new_frame()
1485 qp->quant[j] = MPP_MIN((1 << 16) / tmp, 0x3FFF); in hal_vp8e_init_qp_table()
1502 qp->quant[j] = MPP_MIN((1 << 16) / tmp, 0x3FFF); in hal_vp8e_init_qp_table()
1517 qp->quant[j] = MPP_MIN((1 << 16) / tmp, 0x3FFF); in hal_vp8e_init_qp_table()
H A Dhal_vp8e_base.h103 RK_S32 quant[2]; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h263/
H A Dh263d_parser.c56 RK_U32 quant; member
117 pp->vop_quant = hdr_curr->quant; in h263d_fill_picture_parameters()
188 hdr_curr->quant = val; in h263_parse_picture_header()
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_core.h215 enum v4l2_quantization quant; member
H A Dmtk_mdp_m2m.c200 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()
/OK3568_Linux_fs/kernel/drivers/staging/media/hantro/
H A Dhantro_g1_vp8_dec.c189 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()
H A Drk3399_vpu_hw_vp8_dec.c327 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()
/OK3568_Linux_fs/external/mpp/inc/
H A Drk_venc_cmd.h1116 RK_S32 quant; member
1146 RK_S32 quant; member
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/mpp/include/rockchip/
H A Drk_venc_cmd.h1101 RK_S32 quant; member
1131 RK_S32 quant; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/mpg4/
H A Dmpg4d_parser.c128 RK_U32 quant; // OFFSET_OF_QUANT_IN_DEC member
919 READ_BITS(gb, mp4Hdr->vol.quant_bits, &(mp4Hdr->vop.quant)); in mpeg4_parse_vop_header()
920 if (mp4Hdr->vop.quant < 1) /* vop_quant */ in mpeg4_parse_vop_header()
921 mp4Hdr->vop.quant = 1; in mpeg4_parse_vop_header()
955 pp->vop_quant = hdr_curr->vop.quant; in mpg4d_fill_picture_parameters()
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/
H A Dvim2m.c229 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()
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A Dstb0899_drv.c997 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/
H A Dhva-h264.c302 u16 quant; member
750 td->quant = 28; in hva_h264_prepare_task()
/OK3568_Linux_fs/external/mpp/mpp/base/
H A Dmpp_enc_cfg.cpp246 …ENTRY(jpeg, quant, S32, RK_S32, MPP_ENC_JPEG_CFG_CHANGE_QP, codec.…

12