Home
last modified time | relevance | path

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

/linux/drivers/media/platform/amphion/
H A Dvpu.h303 struct v4l2_m2m_buffer m2m_buf; member
317 struct v4l2_m2m_buffer *m2m_buf = container_of(vbuf, struct v4l2_m2m_buffer, vb); in to_vpu_vb2_buffer() local
319 return container_of(m2m_buf, struct vpu_vb2_buffer, m2m_buf); in to_vpu_vb2_buffer()
H A Dvdec.c727 vbuf = &vpu_buf->m2m_buf.vb; in vdec_frame_decoded()
806 vbuf = &vpu_buf->m2m_buf.vb; in vdec_buf_done()
1159 vbuf = &vpu_buf->m2m_buf.vb; in vdec_clear_slots()
1288 vbuf = &vpu_buf->m2m_buf.vb; in vdec_evnet_rel_fs()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateful.c76 vb = &dstbuf->m2m_buf.vb; in get_display_buffer()
119 vb = &dstbuf->m2m_buf.vb; in get_free_buffer()
302 container_of(dst_buf, struct mtk_video_dec_buf, m2m_buf.vb); in mtk_vdec_worker()
345 container_of(src_buf, struct mtk_video_dec_buf, m2m_buf.vb); in mtk_vdec_worker()
434 m2m_buf.vb); in vb2ops_vdec_stateful_buf_queue()
H A Dmtk_vcodec_dec.h54 struct v4l2_m2m_buffer m2m_buf; member
H A Dmtk_vcodec_dec_stateless.c285 framebuf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vdec_get_cap_buffer()
336 m2m_buf.vb); in mtk_vdec_worker()
H A Dmtk_vcodec_dec.c836 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vb2ops_vdec_buf_finish()
856 struct mtk_video_dec_buf, m2m_buf.vb); in vb2ops_vdec_buf_init()
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc.h34 struct v4l2_m2m_buffer m2m_buf; member
H A Dmtk_vcodec_enc.c851 m2m_buf.vb); in vb2ops_venc_buf_queue()
1078 mtk_buf = container_of(vb2_v4l2, struct mtk_video_enc_buf, m2m_buf.vb); in mtk_venc_param_change()
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.h97 struct v4l2_m2m_buffer m2m_buf; member
256 return container_of(p, struct cedrus_buffer, m2m_buf.vb); in vb2_v4l2_to_cedrus_buffer()
H A Dcedrus_h264.c74 struct vb2_buffer *vbuf = &buf->m2m_buf.vb.vb2_buf; in cedrus_fill_ref_pic()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_req_if.c360 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, in vdec_vp8_slice_decode()
361 &dst_buf_info->m2m_buf.vb, true); in vdec_vp8_slice_decode()
H A Dvdec_h264_req_multi_if.c608 lat_buf->src_buf_req = src_buf_info->m2m_buf.vb.vb2_buf.req_obj.req; in vdec_h264_slice_lat_decode()
609 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, &lat_buf->ts_info, true); in vdec_h264_slice_lat_decode()
746 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, in vdec_h264_slice_single_decode()
747 &dst_buf_info->m2m_buf.vb, true); in vdec_h264_slice_single_decode()
H A Dvdec_h264_req_if.c369 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, in vdec_h264_slice_decode()
370 &dst_buf_info->m2m_buf.vb, true); in vdec_h264_slice_decode()
H A Dvdec_hevc_req_multi_if.c744 lat_buf->src_buf_req = src_buf_info->m2m_buf.vb.vb2_buf.req_obj.req; in vdec_hevc_slice_setup_lat_buffer()
745 v4l2_m2m_buf_copy_metadata(&src_buf_info->m2m_buf.vb, &lat_buf->ts_info, true); in vdec_hevc_slice_setup_lat_buffer()
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-bit.c371 struct v4l2_m2m_buffer *m2m_buf; in coda_fill_bitstream() local
373 m2m_buf = container_of(src_buf, in coda_fill_bitstream()
376 list_add_tail(&m2m_buf->list, buffer_list); in coda_fill_bitstream()
420 struct v4l2_m2m_buffer *m2m_buf; in coda_fill_bitstream() local
422 m2m_buf = container_of(src_buf, in coda_fill_bitstream()
425 list_add_tail(&m2m_buf->list, buffer_list); in coda_fill_bitstream()
H A Dcoda-common.c1972 struct v4l2_m2m_buffer *m2m_buf, *tmp; in coda_start_streaming() local
2089 list_for_each_entry_safe(m2m_buf, tmp, &list, list) { in coda_start_streaming()
2090 list_del(&m2m_buf->list); in coda_start_streaming()
2091 v4l2_m2m_buf_done(&m2m_buf->vb, VB2_BUF_STATE_DONE); in coda_start_streaming()
2098 list_for_each_entry_safe(m2m_buf, tmp, &list, list) { in coda_start_streaming()
2099 list_del(&m2m_buf->list); in coda_start_streaming()
2100 v4l2_m2m_buf_done(&m2m_buf->vb, VB2_BUF_STATE_QUEUED); in coda_start_streaming()
/linux/drivers/media/platform/renesas/
H A Drcar_fdp1.c535 struct v4l2_m2m_buffer m2m_buf; member
542 return container_of(vb, struct fdp1_buffer, m2m_buf.vb); in to_fdp1_buffer()