Home
last modified time | relevance | path

Searched refs:venc (Results 1 - 25 of 33) sorted by relevance

12

/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/
H A Dvideoenc_stable_unit_test.cpp22 #define TEST_ID venc->sampleId_
97 auto venc = signal->codec_.lock(); in InDataHandle() local
101 venc->HandleInputFrame(data, attr); in InDataHandle()
102 venc->PushInputData(index, attr); in InDataHandle()
108 auto venc = signal->codec_.lock(); in OutDataHandle() local
111 venc->HandleOutputFrame(data, *attr); in OutDataHandle()
112 venc->ReleaseOutputData(index); in OutDataHandle()
118 auto venc = signal->codec_.lock(); in InDataOperate() local
121 EXPECT_EQ(venc->Operate(), AV_ERR_OK) << SAMPLE_ID; in InDataOperate()
127 venc in InDataOperate()
134 auto venc = signal->codec_.lock(); OutDataOperate() local
149 auto venc = signal->codec_.lock(); InDataQueue() local
160 auto venc = signal->codec_.lock(); OutDataQueue() local
172 auto venc = signal->codec_.lock(); InBufferHandle() local
182 auto venc = signal->codec_.lock(); OutBufferHandle() local
192 auto venc = signal->codec_.lock(); InBufferOperate() local
207 auto venc = signal->codec_.lock(); OutBufferOperate() local
222 auto venc = signal->codec_.lock(); InBufferQueue() local
233 auto venc = signal->codec_.lock(); OutBufferQueue() local
243 auto venc = signal->codec_.lock(); InputBufferLoop() local
269 auto venc = signal->codec_.lock(); OutputBufferLoop() local
340 auto venc = make_shared<VideoEncSample>(); HWMTEST_F() local
369 auto venc = make_shared<VideoEncSample>(); HWMTEST_F() local
398 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
428 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
456 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
485 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
518 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
548 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
582 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
614 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
647 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
680 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
710 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
738 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
767 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
799 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
829 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
863 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
895 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
928 auto venc = make_shared<VideoEncSample>(); AVCODEC_MTEST_P() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Dvenc.c268 static inline void venc_write_reg(struct venc_device *venc, int idx, u32 val) in venc_write_reg() argument
270 __raw_writel(val, venc->base + idx); in venc_write_reg()
273 static inline u32 venc_read_reg(struct venc_device *venc, int idx) in venc_read_reg() argument
275 u32 l = __raw_readl(venc->base + idx); in venc_read_reg()
279 static void venc_write_config(struct venc_device *venc, in venc_write_config() argument
282 DSSDBG("write venc conf\n"); in venc_write_config()
284 venc_write_reg(venc, VENC_LLEN, config->llen); in venc_write_config()
285 venc_write_reg(venc, VENC_FLENS, config->flens); in venc_write_config()
286 venc_write_reg(venc, VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr); in venc_write_config()
287 venc_write_reg(venc, VENC_C_PHAS in venc_write_config()
338 venc_reset(struct venc_device *venc) venc_reset() argument
357 venc_runtime_get(struct venc_device *venc) venc_runtime_get() argument
368 venc_runtime_put(struct venc_device *venc) venc_runtime_put() argument
378 venc_power_on(struct venc_device *venc) venc_power_on() argument
426 venc_power_off(struct venc_device *venc) venc_power_off() argument
458 struct venc_device *venc = s->private; venc_dump_regs() local
514 venc_get_clocks(struct venc_device *venc) venc_get_clocks() argument
540 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_attach() local
594 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_mode_set() local
615 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_enable() local
622 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_disable() local
661 venc_bridge_init(struct venc_device *venc) venc_bridge_init() argument
672 venc_bridge_cleanup(struct venc_device *venc) venc_bridge_cleanup() argument
684 struct venc_device *venc = dev_get_drvdata(dev); venc_bind() local
707 struct venc_device *venc = dev_get_drvdata(dev); venc_unbind() local
721 venc_init_output(struct venc_device *venc) venc_init_output() argument
748 venc_uninit_output(struct venc_device *venc) venc_uninit_output() argument
756 venc_probe_of(struct venc_device *venc) venc_probe_of() argument
807 struct venc_device *venc; venc_probe() local
871 struct venc_device *venc = platform_get_drvdata(pdev); venc_remove() local
885 struct venc_device *venc = dev_get_drvdata(dev); venc_runtime_suspend() local
895 struct venc_device *venc = dev_get_drvdata(dev); venc_runtime_resume() local
[all...]
H A DMakefile12 omapdss-$(CONFIG_OMAP2_DSS_VENC) += venc.o
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
H A Dvenc.c268 static inline void venc_write_reg(struct venc_device *venc, int idx, u32 val) in venc_write_reg() argument
270 __raw_writel(val, venc->base + idx); in venc_write_reg()
273 static inline u32 venc_read_reg(struct venc_device *venc, int idx) in venc_read_reg() argument
275 u32 l = __raw_readl(venc->base + idx); in venc_read_reg()
279 static void venc_write_config(struct venc_device *venc, in venc_write_config() argument
282 DSSDBG("write venc conf\n"); in venc_write_config()
284 venc_write_reg(venc, VENC_LLEN, config->llen); in venc_write_config()
285 venc_write_reg(venc, VENC_FLENS, config->flens); in venc_write_config()
286 venc_write_reg(venc, VENC_CC_CARR_WSS_CARR, config->cc_carr_wss_carr); in venc_write_config()
287 venc_write_reg(venc, VENC_C_PHAS in venc_write_config()
338 venc_reset(struct venc_device *venc) venc_reset() argument
357 venc_runtime_get(struct venc_device *venc) venc_runtime_get() argument
371 venc_runtime_put(struct venc_device *venc) venc_runtime_put() argument
381 venc_power_on(struct venc_device *venc) venc_power_on() argument
429 venc_power_off(struct venc_device *venc) venc_power_off() argument
461 struct venc_device *venc = s->private; venc_dump_regs() local
517 venc_get_clocks(struct venc_device *venc) venc_get_clocks() argument
543 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_attach() local
597 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_mode_set() local
618 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_enable() local
625 struct venc_device *venc = drm_bridge_to_venc(bridge); venc_bridge_disable() local
664 venc_bridge_init(struct venc_device *venc) venc_bridge_init() argument
675 venc_bridge_cleanup(struct venc_device *venc) venc_bridge_cleanup() argument
687 struct venc_device *venc = dev_get_drvdata(dev); venc_bind() local
710 struct venc_device *venc = dev_get_drvdata(dev); venc_unbind() local
724 venc_init_output(struct venc_device *venc) venc_init_output() argument
749 venc_uninit_output(struct venc_device *venc) venc_uninit_output() argument
757 venc_probe_of(struct venc_device *venc) venc_probe_of() argument
808 struct venc_device *venc; venc_probe() local
870 struct venc_device *venc = platform_get_drvdata(pdev); venc_remove() local
883 struct venc_device *venc = dev_get_drvdata(dev); venc_runtime_suspend() local
893 struct venc_device *venc = dev_get_drvdata(dev); venc_runtime_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvenc.c179 struct venc_t *venc = inst->priv; in venc_g_fmt() local
197 f->fmt.pix_mp.colorspace = venc->params.color.primaries; in venc_g_fmt()
198 f->fmt.pix_mp.xfer_func = venc->params.color.transfer; in venc_g_fmt()
199 f->fmt.pix_mp.ycbcr_enc = venc->params.color.matrix; in venc_g_fmt()
200 f->fmt.pix_mp.quantization = venc->params.color.full_range; in venc_g_fmt()
221 struct venc_t *venc = inst->priv; in venc_s_fmt() local
238 venc->params.input_format = cur_fmt->pixfmt; in venc_s_fmt()
239 venc->params.src_stride = cur_fmt->bytesperline[0]; in venc_s_fmt()
240 venc->params.src_width = cur_fmt->width; in venc_s_fmt()
241 venc in venc_s_fmt()
270 struct venc_t *venc = inst->priv; venc_g_parm() local
294 struct venc_t *venc = inst->priv; venc_s_parm() local
333 struct venc_t *venc = inst->priv; venc_g_selection() local
356 venc_valid_crop(struct venc_t *venc, const struct vpu_core_resources *res) venc_valid_crop() argument
388 struct venc_t *venc = inst->priv; venc_s_selection() local
417 struct venc_t *venc = inst->priv; venc_drain() local
518 struct venc_t *venc = inst->priv; venc_op_s_ctrl() local
701 struct venc_t *venc = inst->priv; venc_check_ready() local
722 venc_set_enable(struct venc_t *venc, u32 type, int enable) venc_set_enable() argument
732 venc_get_enable(struct venc_t *venc, u32 type) venc_get_enable() argument
739 struct venc_t *venc = inst->priv; venc_input_done() local
757 struct venc_t *venc; venc_precheck_encoded_frame() local
783 struct venc_t *venc = inst->priv; venc_get_one_encoded_frame() local
834 struct venc_t *venc; venc_get_encoded_frames() local
856 struct venc_t *venc; venc_frame_encoded() local
880 struct venc_t *venc = inst->priv; venc_set_last_buffer_dequeued() local
888 struct venc_t *venc = inst->priv; venc_stop_done() local
908 struct venc_t *venc; venc_cleanup() local
921 struct venc_t *venc = inst->priv; venc_start_session() local
982 struct venc_t *venc; venc_cleanup_mem_resource() local
1001 struct venc_t *venc; venc_request_mem_resource() local
1051 venc_cleanup_frames(struct venc_t *venc) venc_cleanup_frames() argument
1064 struct venc_t *venc = inst->priv; venc_stop_session() local
1093 struct venc_t *venc = inst->priv; venc_process_output() local
1125 struct venc_t *venc; venc_process_capture() local
1148 struct venc_t *venc = inst->priv; venc_on_queue_empty() local
1159 struct venc_t *venc = inst->priv; venc_get_debug_info() local
1260 struct venc_t *venc; venc_init() local
1297 struct venc_t *venc; venc_open() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Dvorbisenc.c211 static int ready_residue(vorbis_enc_residue *rc, vorbis_enc_context *venc) in ready_residue() argument
226 cb = &venc->codebooks[rc->books[i][j]]; in ready_residue()
250 static av_cold int dsp_init(AVCodecContext *avctx, vorbis_enc_context *venc) in dsp_init() argument
254 venc->fdsp = avpriv_float_dsp_alloc(avctx->flags & AV_CODEC_FLAG_BITEXACT); in dsp_init()
255 if (!venc->fdsp) in dsp_init()
259 venc->win[0] = ff_vorbis_vwin[venc->log2_blocksize[0] - 6]; in dsp_init()
260 venc->win[1] = ff_vorbis_vwin[venc->log2_blocksize[1] - 6]; in dsp_init()
262 if ((ret = ff_mdct_init(&venc in dsp_init()
270 create_vorbis_context(vorbis_enc_context *venc, AVCodecContext *avctx) create_vorbis_context() argument
619 put_main_header(vorbis_enc_context *venc, uint8_t **out) put_main_header() argument
766 floor_fit(vorbis_enc_context *venc, vorbis_enc_floor *fc, float *coeffs, uint16_t *posts, int samples) floor_fit() argument
798 floor_encode(vorbis_enc_context *venc, vorbis_enc_floor *fc, PutBitContext *pb, uint16_t *posts, float *floor, int samples) floor_encode() argument
910 residue_encode(vorbis_enc_context *venc, vorbis_enc_residue *rc, PutBitContext *pb, float *coeffs, int samples, int real_ch) residue_encode() argument
1005 apply_window_and_mdct(vorbis_enc_context *venc) apply_window_and_mdct() argument
1057 move_audio(vorbis_enc_context *venc, int sf_size) move_audio() argument
1094 vorbis_enc_context *venc = avctx->priv_data; vorbis_encode_frame() local
1207 vorbis_enc_context *venc = avctx->priv_data; vorbis_encode_close() local
1268 vorbis_enc_context *venc = avctx->priv_data; vorbis_encode_init() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/davinci/
H A Dvpbe_venc.c28 #define MODULE_NAME "davinci-vpbe-venc"
72 struct venc_state *venc = to_state(sd); in venc_read() local
74 return readl(venc->venc_base + offset); in venc_read()
79 struct venc_state *venc = to_state(sd); in venc_write() local
81 writel(val, (venc->venc_base + offset)); in venc_write()
98 struct venc_state *venc = to_state(sd); in vdaccfg_write() local
100 writel(val, venc->vdaccfg_reg); in vdaccfg_write()
102 val = readl(venc->vdaccfg_reg); in vdaccfg_write()
135 struct venc_state *venc = to_state(sd); in venc_enabledigitaloutput() local
168 if (venc in venc_enabledigitaloutput()
218 struct venc_state *venc = to_state(sd); venc_set_ntsc() local
265 struct venc_state *venc = to_state(sd); venc_set_pal() local
317 struct venc_state *venc = to_state(sd); venc_set_480p59_94() local
365 struct venc_state *venc = to_state(sd); venc_set_576p50() local
412 struct venc_state *venc = to_state(sd); venc_set_720p60_internal() local
441 struct venc_state *venc = to_state(sd); venc_set_1080i30_internal() local
481 struct venc_state *venc = to_state(sd); venc_s_dv_timings() local
512 struct venc_state *venc = to_state(sd); venc_s_routing() local
559 struct venc_state *venc = to_state(sd); venc_initialize() local
584 struct venc_state **venc = data; venc_device_get() local
595 struct venc_state *venc = NULL; venc_sub_dev_init() local
623 struct venc_state *venc; venc_probe() local
[all...]
H A Dvpbe.c56 return ((index == 0) ? &cfg->venc : in vpbe_current_encoder_info()
75 if (!strcmp(encoder_name, cfg->venc.module_name)) in vpbe_find_encoder_sd_index()
210 * there is will be an API added to setup_link between venc in vpbe_set_output()
214 * way of switching encoder at the venc output. in vpbe_set_output()
237 * It is assumed that venc or external encoder will set a default in vpbe_set_output()
537 if (strstr(pdev->name, "vpbe-venc")) in platform_device_get()
615 vpbe_dev->venc = venc_sub_dev_init(&vpbe_dev->v4l2_dev, in vpbe_initialize()
616 vpbe_dev->cfg->venc.module_name); in vpbe_initialize()
617 /* register venc sub device */ in vpbe_initialize()
618 if (!vpbe_dev->venc) { in vpbe_initialize()
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
H A Dvenc.c3 * linux/drivers/video/omap2/dss/venc.c
256 } venc; variable
260 __raw_writel(val, venc.base + idx); in venc_write_reg()
265 u32 l = __raw_readl(venc.base + idx); in venc_read_reg()
271 DSSDBG("write venc conf\n"); in venc_write_config()
284 venc.wss_data); in venc_write_config()
332 DSSERR("Failed to reset venc\n"); in venc_reset()
350 r = pm_runtime_get_sync(&venc.pdev->dev); in venc_runtime_get()
352 pm_runtime_put_sync(&venc.pdev->dev); in venc_runtime_get()
364 r = pm_runtime_put_sync(&venc in venc_runtime_put()
[all...]
H A DMakefile11 omapdss-$(CONFIG_FB_OMAP2_DSS_VENC) += venc.o
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
H A Dvenc.c3 * linux/drivers/video/omap2/dss/venc.c
256 } venc; variable
260 __raw_writel(val, venc.base + idx); in venc_write_reg()
265 u32 l = __raw_readl(venc.base + idx); in venc_read_reg()
271 DSSDBG("write venc conf\n"); in venc_write_config()
284 venc.wss_data); in venc_write_config()
332 DSSERR("Failed to reset venc\n"); in venc_reset()
350 r = pm_runtime_resume_and_get(&venc.pdev->dev); in venc_runtime_get()
362 r = pm_runtime_put_sync(&venc.pdev->dev); in venc_runtime_put()
381 struct omap_overlay_manager *mgr = venc in venc_power_on()
[all...]
H A DMakefile11 omapdss-$(CONFIG_FB_OMAP2_DSS_VENC) += venc.o
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
H A DMakefile5 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
6 venc/venc_h264_if.o \
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
H A DMakefile16 mtk-vcodec-enc-y := venc/venc_vp8_if.o \
17 venc/venc_h264_if.o \
/kernel/linux/linux-5.10/include/media/davinci/
H A Dvpbe.h31 * defualt_mode identifies the default timings set at the venc or
40 * each supported mode since venc is used in non-standard timing mode
81 struct encoder_config_info venc; member
88 /* Order is venc outputs followed by LCD and then external encoders */
166 /* venc device pointer */
178 /* venc sub device */
179 struct v4l2_subdev *venc; member
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
H A Dmeson_dw_hdmi.c303 /* For 420, pixel clock is half unlike venc clock */ in meson_hdmi_phy_setup_mode()
389 /* For 420, pixel clock is half unlike venc clock */ in dw_hdmi_set_vclk()
419 DRM_DEBUG_DRIVER("vclk:%d phy=%d venc=%d hdmi=%d enci=%d\n", in dw_hdmi_set_vclk()
421 priv->venc.hdmi_use_enci); in dw_hdmi_set_vclk()
424 venc_freq, hdmi_freq, priv->venc.hdmi_use_enci); in dw_hdmi_set_vclk()
508 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
520 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
530 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
668 /* For 420, pixel clock is half unlike venc clock */ in dw_hdmi_mode_valid()
696 dev_dbg(dw_hdmi->dev, "%s: vclk:%d phy=%d venc in dw_hdmi_mode_valid()
[all...]
H A Dmeson_venc.c1552 priv->venc.hdmi_repeat = hdmi_repeat; in meson_venc_hdmi_mode_set()
1553 priv->venc.venc_repeat = venc_repeat; in meson_venc_hdmi_mode_set()
1554 priv->venc.hdmi_use_enci = use_enci; in meson_venc_hdmi_mode_set()
1556 priv->venc.current_mode = MESON_VENC_MODE_HDMI; in meson_venc_hdmi_mode_set()
1565 if (mode->mode_tag == priv->venc.current_mode) in meson_venci_cvbs_mode_set()
1739 priv->venc.current_mode = mode->mode_tag; in meson_venci_cvbs_mode_set()
1791 priv->venc.current_mode = MESON_VENC_MODE_NONE; in meson_venc_init()
H A Dmeson_drv.h157 } venc; member
/kernel/linux/linux-6.6/drivers/gpu/drm/meson/
H A Dmeson_encoder_hdmi.c80 /* For 420, pixel clock is half unlike venc clock */ in meson_encoder_hdmi_set_vclk()
110 dev_dbg(priv->dev, "vclk:%d phy=%d venc=%d hdmi=%d enci=%d\n", in meson_encoder_hdmi_set_vclk()
112 priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
115 venc_freq, hdmi_freq, priv->venc.hdmi_use_enci); in meson_encoder_hdmi_set_vclk()
154 /* For 420, pixel clock is half unlike venc clock */ in meson_encoder_hdmi_mode_valid()
182 dev_dbg(priv->dev, "%s: vclk:%d phy=%d venc=%d hdmi=%d\n", in meson_encoder_hdmi_mode_valid()
244 dev_dbg(priv->dev, "%s\n", priv->venc.hdmi_use_enci ? "VENCI" : "VENCP"); in meson_encoder_hdmi_atomic_enable()
246 if (priv->venc.hdmi_use_enci) in meson_encoder_hdmi_atomic_enable()
H A Dmeson_venc.c1554 priv->venc.hdmi_repeat = hdmi_repeat; in meson_venc_hdmi_mode_set()
1555 priv->venc.venc_repeat = venc_repeat; in meson_venc_hdmi_mode_set()
1556 priv->venc.hdmi_use_enci = use_enci; in meson_venc_hdmi_mode_set()
1558 priv->venc.current_mode = MESON_VENC_MODE_HDMI; in meson_venc_hdmi_mode_set()
1757 priv->venc.current_mode = MESON_VENC_MODE_MIPI_DSI; in meson_venc_mipi_dsi_mode_set()
1766 if (mode->mode_tag == priv->venc.current_mode) in meson_venci_cvbs_mode_set()
1940 priv->venc.current_mode = mode->mode_tag; in meson_venci_cvbs_mode_set()
1951 switch (priv->venc.current_mode) { in meson_venc_enable_vsync()
1999 priv->venc.current_mode = MESON_VENC_MODE_NONE; in meson_venc_init()
H A Dmeson_dw_hdmi.c295 /* For 420, pixel clock is half unlike venc clock */ in meson_hdmi_phy_setup_mode()
455 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
467 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
477 if (priv->venc.hdmi_use_enci) in dw_hdmi_phy_init()
H A Dmeson_drv.h164 } venc; member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/
H A DMakefile20 .PHONY:clean all base sys vi mcf vo vo_dev vpss avs chnl region vgs gdc venc vedu vdec vfmw jpegd dis isp audio audio_bin
106 venc:
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A DMakefile25 omapdrm-$(CONFIG_OMAP2_DSS_VENC) += dss/venc.o
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/
H A DMakefile125 objects += venc

Completed in 18 milliseconds

12