Home
last modified time | relevance | path

Searched refs:current_codec (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_video.c253 if (ctx->current_codec->extra_cap_size) in cedrus_try_fmt_vid_cap_p()
255 ctx->current_codec->extra_cap_size(ctx, pix_fmt); in cedrus_try_fmt_vid_cap_p()
342 ctx->current_codec = &cedrus_dec_ops_mpeg2; in cedrus_s_fmt_vid_out_p()
345 ctx->current_codec = &cedrus_dec_ops_h264; in cedrus_s_fmt_vid_out_p()
348 ctx->current_codec = &cedrus_dec_ops_h265; in cedrus_s_fmt_vid_out_p()
351 ctx->current_codec = &cedrus_dec_ops_vp8; in cedrus_s_fmt_vid_out_p()
518 if (ctx->current_codec->start) { in cedrus_start_streaming()
519 ret = ctx->current_codec->start(ctx); in cedrus_start_streaming()
541 if (ctx->current_codec->stop) in cedrus_stop_streaming()
542 ctx->current_codec->stop(ctx); in cedrus_stop_streaming()
H A Dcedrus_dec.c97 error = ctx->current_codec->setup(ctx, &run); in cedrus_device_run()
113 ctx->current_codec->trigger(ctx); in cedrus_device_run()
H A Dcedrus_hw.c135 status = ctx->current_codec->irq_status(ctx); in cedrus_irq()
139 ctx->current_codec->irq_disable(ctx); in cedrus_irq()
140 ctx->current_codec->irq_clear(ctx); in cedrus_irq()
H A Dcedrus.h121 struct cedrus_dec_ops *current_codec; member
/linux/drivers/media/test-drivers/visl/
H A Dvisl-video.c26 ctx->current_codec = VISL_CODEC_FWHT; in visl_set_current_codec()
29 ctx->current_codec = VISL_CODEC_MPEG2; in visl_set_current_codec()
32 ctx->current_codec = VISL_CODEC_VP8; in visl_set_current_codec()
35 ctx->current_codec = VISL_CODEC_VP9; in visl_set_current_codec()
38 ctx->current_codec = VISL_CODEC_H264; in visl_set_current_codec()
41 ctx->current_codec = VISL_CODEC_HEVC; in visl_set_current_codec()
44 ctx->current_codec = VISL_CODEC_AV1; in visl_set_current_codec()
48 ctx->current_codec = VISL_CODEC_NONE; in visl_set_current_codec()
H A Dvisl.h148 enum visl_codec current_codec; member
H A Dvisl-dec.c73 switch (ctx->current_codec) { in visl_get_ref_frames()
311 switch (ctx->current_codec) { in visl_tpg_fill_codec_specific()
499 switch (ctx->current_codec) { in visl_trace_ctrls()
580 switch (ctx->current_codec) { in visl_device_run()
/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.c19 switch (ctx->current_codec) { in mtk_vdec_dbgfs_get_format_type()
35 ctx->current_codec); in mtk_vdec_dbgfs_get_format_type()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.h206 u32 current_codec; member
H A Dvdec_msg_queue.c336 if (ctx->current_codec == V4L2_PIX_FMT_AV1_FRAME) { in vdec_msg_queue_init()
H A Dmtk_vcodec_dec_stateless.c376 ctx->current_codec == V4L2_PIX_FMT_VP8_FRAME) { in mtk_vdec_worker()
H A Dmtk_vcodec_dec.c529 ctx->current_codec = fmt->fourcc; in vidioc_vdec_s_fmt()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_req_if.c287 inst->vpu.codec_type = ctx->current_codec; in vdec_vp8_slice_init()
H A Dvdec_h264_req_multi_if.c409 inst->vpu.codec_type = ctx->current_codec; in vdec_h264_slice_init()
H A Dvdec_hevc_req_multi_if.c869 inst->vpu.codec_type = ctx->current_codec; in vdec_hevc_slice_init()
H A Dvdec_av1_req_lat_if.c1892 instance->vpu.codec_type = ctx->current_codec; in vdec_av1_slice_init()
H A Dvdec_vp9_req_lat_if.c1860 instance->vpu.codec_type = ctx->current_codec; in vdec_vp9_slice_init()