Searched refs:vb2_v4l2 (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 274 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_get_cap_buffer() local 278 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_get_cap_buffer() 279 if (!vb2_v4l2) { in vdec_get_cap_buffer() 284 dst_buf = &vb2_v4l2->vb2_buf; in vdec_get_cap_buffer() 285 framebuf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vdec_get_cap_buffer() 392 struct vb2_v4l2_buffer *vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateless_buf_queue() local 398 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb2_v4l2); in vb2ops_vdec_stateless_buf_queue()
|
H A D | mtk_vcodec_dec_stateful.c | 421 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()
|
H A D | mtk_vcodec_dec.c | 831 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_buf_finish() local 835 vb2_v4l2 = container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in vb2ops_vdec_buf_finish() 836 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vb2ops_vdec_buf_finish() 853 struct vb2_v4l2_buffer *vb2_v4l2 = container_of(vb, in vb2ops_vdec_buf_init() local 855 struct mtk_video_dec_buf *buf = container_of(vb2_v4l2, in vb2ops_vdec_buf_init()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_req_common.c | 53 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()
|
H A D | vdec_h264_req_multi_if.c | 461 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_h264_slice_core_decode() local 507 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_h264_slice_core_decode() 508 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2, true); in vdec_h264_slice_core_decode()
|
H A D | vdec_hevc_req_multi_if.c | 801 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_hevc_slice_setup_core_buffer() local 849 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_hevc_slice_setup_core_buffer() 850 v4l2_m2m_buf_copy_metadata(&lat_buf->ts_info, vb2_v4l2, true); in vdec_hevc_slice_setup_core_buffer()
|