Home
last modified time | relevance | path

Searched refs:vb2_v4l2 (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ !
Dmtk_vcodec_dec_stateless.c156 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_get_cap_buffer() local
160 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_get_cap_buffer()
161 if (!vb2_v4l2) { in vdec_get_cap_buffer()
166 dst_buf = &vb2_v4l2->vb2_buf; in vdec_get_cap_buffer()
167 framebuf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vdec_get_cap_buffer()
270 struct vb2_v4l2_buffer *vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateless_buf_queue() local
275 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb2_v4l2); in vb2ops_vdec_stateless_buf_queue()
Dmtk_vcodec_dec_stateful.c421 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_stateful_buf_queue() local
432 vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateful_buf_queue()
433 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, in vb2ops_vdec_stateful_buf_queue()
437 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb2_v4l2); in vb2ops_vdec_stateful_buf_queue()
Dmtk_vcodec_enc.c857 struct vb2_v4l2_buffer *vb2_v4l2 = in vb2ops_venc_buf_queue() local
861 container_of(vb2_v4l2, struct mtk_video_enc_buf, in vb2ops_venc_buf_queue()
868 vb2_v4l2->vb2_buf.index, in vb2ops_venc_buf_queue()
1101 struct vb2_v4l2_buffer *vb2_v4l2 = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_venc_param_change() local
1106 if (vb2_v4l2 == &ctx->empty_flush_buf.vb) in mtk_venc_param_change()
1109 mtk_buf = container_of(vb2_v4l2, struct mtk_video_enc_buf, m2m_buf.vb); in mtk_venc_param_change()
1119 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change()
1130 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change()
1147 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change()
Dmtk_vcodec_dec.c806 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_buf_finish() local
810 vb2_v4l2 = container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in vb2ops_vdec_buf_finish()
811 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vb2ops_vdec_buf_finish()
828 struct vb2_v4l2_buffer *vb2_v4l2 = container_of(vb, in vb2ops_vdec_buf_init() local
830 struct mtk_video_dec_buf *buf = container_of(vb2_v4l2, in vb2ops_vdec_buf_init()
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/ !
Dvdec_h264_req_common.c53 struct vb2_v4l2_buffer *vb2_v4l2; in mtk_vdec_h264_fill_dpb_info() local
79 vb2_v4l2 = container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in mtk_vdec_h264_fill_dpb_info()
80 h264_dpb_info[index].field = vb2_v4l2->field; in mtk_vdec_h264_fill_dpb_info()
Dvdec_h264_req_multi_if.c464 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_h264_slice_core_decode() local
511 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_h264_slice_core_decode()
512 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2, true); in vdec_h264_slice_core_decode()