Searched refs:vb2_v4l2 (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/ |
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()
|
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()
|
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-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
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()
|
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()
|
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()
|
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/encoder/ |
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()
|