Searched refs:vb2_v4l2 (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec_stateless.c | 155 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_get_cap_buffer() local 159 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_get_cap_buffer() 160 if (!vb2_v4l2) { in vdec_get_cap_buffer() 165 dst_buf = &vb2_v4l2->vb2_buf; in vdec_get_cap_buffer() 166 framebuf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vdec_get_cap_buffer() 269 struct vb2_v4l2_buffer *vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateless_buf_queue() local 274 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb2_v4l2); in vb2ops_vdec_stateless_buf_queue()
|
D | mtk_vcodec_enc.c | 827 struct vb2_v4l2_buffer *vb2_v4l2 = in vb2ops_venc_buf_queue() local 831 container_of(vb2_v4l2, struct mtk_video_enc_buf, in vb2ops_venc_buf_queue() 838 vb2_v4l2->vb2_buf.index, in vb2ops_venc_buf_queue() 1071 struct vb2_v4l2_buffer *vb2_v4l2 = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_venc_param_change() local 1076 if (vb2_v4l2 == &ctx->empty_flush_buf.vb) in mtk_venc_param_change() 1079 mtk_buf = container_of(vb2_v4l2, struct mtk_video_enc_buf, m2m_buf.vb); in mtk_venc_param_change() 1089 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change() 1100 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change() 1117 vb2_v4l2->vb2_buf.index, in mtk_venc_param_change()
|
D | mtk_vcodec_dec_stateful.c | 436 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_stateful_buf_queue() local 447 vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateful_buf_queue() 448 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, in vb2ops_vdec_stateful_buf_queue() 452 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb2_v4l2); in vb2ops_vdec_stateful_buf_queue()
|
D | mtk_vcodec_dec.c | 758 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_buf_finish() local 762 vb2_v4l2 = container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in vb2ops_vdec_buf_finish() 763 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vb2ops_vdec_buf_finish() 780 struct vb2_v4l2_buffer *vb2_v4l2 = container_of(vb, in vb2ops_vdec_buf_init() local 782 struct mtk_video_dec_buf *buf = container_of(vb2_v4l2, in vb2ops_vdec_buf_init()
|
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_h264_req_common.c | 53 struct vb2_v4l2_buffer *vb2_v4l2; in mtk_vdec_h264_fill_dpb_info() local 80 vb2_v4l2 = container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in mtk_vdec_h264_fill_dpb_info() 81 h264_dpb_info[index].field = vb2_v4l2->field; in mtk_vdec_h264_fill_dpb_info()
|
D | vdec_h264_req_multi_if.c | 464 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_h264_slice_core_decode() local 506 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_h264_slice_core_decode() 507 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2, true); in vdec_h264_slice_core_decode()
|