Searched refs:vb2_v4l2 (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 245 struct vb2_v4l2_buffer *vb2_v4l2; in vdec_get_cap_buffer() local 249 vb2_v4l2 = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in vdec_get_cap_buffer() 250 if (!vb2_v4l2) { in vdec_get_cap_buffer() 255 dst_buf = &vb2_v4l2->vb2_buf; in vdec_get_cap_buffer() 256 framebuf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vdec_get_cap_buffer() 363 struct vb2_v4l2_buffer *vb2_v4l2 = to_vb2_v4l2_buffer(vb); in vb2ops_vdec_stateless_buf_queue() local 369 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 | 805 struct vb2_v4l2_buffer *vb2_v4l2; in vb2ops_vdec_buf_finish() local 809 vb2_v4l2 = container_of(vb, struct vb2_v4l2_buffer, vb2_buf); in vb2ops_vdec_buf_finish() 810 buf = container_of(vb2_v4l2, struct mtk_video_dec_buf, m2m_buf.vb); in vb2ops_vdec_buf_finish() 827 struct vb2_v4l2_buffer *vb2_v4l2 = container_of(vb, in vb2ops_vdec_buf_init() local 829 struct mtk_video_dec_buf *buf = container_of(vb2_v4l2, in vb2ops_vdec_buf_init()
|
/openbmc/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()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc.c | 846 struct vb2_v4l2_buffer *vb2_v4l2 = in vb2ops_venc_buf_queue() local 850 container_of(vb2_v4l2, struct mtk_video_enc_buf, in vb2ops_venc_buf_queue() 856 ctx->id, vb2_v4l2->vb2_buf.index, ctx->param_change); in vb2ops_venc_buf_queue() 1070 struct vb2_v4l2_buffer *vb2_v4l2 = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_venc_param_change() local 1075 if (vb2_v4l2 == &ctx->empty_flush_buf.vb) in mtk_venc_param_change() 1078 mtk_buf = container_of(vb2_v4l2, struct mtk_video_enc_buf, m2m_buf.vb); in mtk_venc_param_change() 1087 ctx->id, vb2_v4l2->vb2_buf.index, enc_prm.bitrate); in mtk_venc_param_change() 1096 ctx->id, vb2_v4l2->vb2_buf.index, enc_prm.frm_rate); in mtk_venc_param_change() 1110 ctx->id, vb2_v4l2->vb2_buf.index, in mtk_venc_param_change()
|