Home
last modified time | relevance | path

Searched refs:base_y (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_if.c227 if (fb->base_y.va == addr) { in vp9_rm_from_fb_use_list()
278 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb()
296 if (vsi->sf_ref_fb[i].fb.base_y.va) { in vp9_free_all_sf_ref_fb()
298 &vsi->sf_ref_fb[i].fb.base_y); in vp9_free_all_sf_ref_fb()
321 if (vsi->sf_ref_fb[idx].fb.base_y.va && in vp9_get_sf_ref_fb()
330 if (vsi->sf_ref_fb[idx].fb.base_y.va == NULL) in vp9_get_sf_ref_fb()
339 mem_basy_y = &vsi->sf_ref_fb[idx].fb.base_y; in vp9_get_sf_ref_fb()
477 (inst->cur_fb->base_y.size >= in vp9_swap_frm_bufs()
478 frm_to_show->fb->base_y.size) && in vp9_swap_frm_bufs()
481 memcpy((void *)inst->cur_fb->base_y.va, in vp9_swap_frm_bufs()
[all …]
H A Dvdec_h264_if.c233 fb->base_y.va, (u64)fb->base_y.dma_addr); in put_fb_to_free()
342 uint64_t y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_h264_decode()
H A Dvdec_vp8_if.c302 if (prev_y_dma == (uint64_t)fb->base_y.dma_addr) { in vp8_dec_finish()
445 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_vp8_decode()
H A Dvdec_h264_req_multi_if.c478 y_fb_dma = (u64)fb->base_y.dma_addr; in vdec_h264_slice_core_decode()
735 y_fb_dma = fb->base_y.dma_addr; in vdec_h264_slice_single_decode()
H A Dvdec_vp8_req_if.c343 y_fb_dma = fb->base_y.dma_addr; in vdec_vp8_slice_decode()
H A Dvdec_h264_req_if.c358 y_fb_dma = fb->base_y.dma_addr; in vdec_h264_slice_decode()
H A Dvdec_av1_req_lat_if.c1805 vsi->fb.y.dma_addr = fb->base_y.dma_addr; in vdec_av1_slice_setup_core_buffer()
1807 vsi->fb.c.dma_addr = fb->base_y.dma_addr + size; in vdec_av1_slice_setup_core_buffer()
H A Dvdec_hevc_req_multi_if.c812 y_fb_dma = (u64)fb->base_y.dma_addr; in vdec_hevc_slice_setup_core_buffer()
H A Dvdec_vp9_req_lat_if.c1680 vsi->fb.y.dma_addr = fb->base_y.dma_addr; in vdec_vp9_slice_setup_core_buffer()
1682 vsi->fb.c.dma_addr = fb->base_y.dma_addr + size; in vdec_vp9_slice_setup_core_buffer()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateful.c305 pfb->base_y.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker()
306 pfb->base_y.dma_addr = in mtk_vdec_worker()
308 pfb->base_y.size = ctx->picinfo.fb_sz[0]; in mtk_vdec_worker()
319 dst_buf->vb2_buf.index, pfb, pfb->base_y.va, in mtk_vdec_worker()
320 &pfb->base_y.dma_addr, &pfb->base_c.dma_addr, pfb->base_y.size); in mtk_vdec_worker()
H A Dmtk_vcodec_dec_stateless.c288 pfb->base_y.va = vb2_plane_vaddr(dst_buf, 0); in vdec_get_cap_buffer()
289 pfb->base_y.dma_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in vdec_get_cap_buffer()
290 pfb->base_y.size = ctx->q_data[MTK_Q_DATA_DST].sizeimage[0]; in vdec_get_cap_buffer()
300 dst_buf->index, pfb, pfb->base_y.va, &pfb->base_y.dma_addr, in vdec_get_cap_buffer()
301 &pfb->base_c.dma_addr, pfb->base_y.size, ctx->decoded_frame_cnt); in vdec_get_cap_buffer()
H A Dmtk_vcodec_dec.h34 struct mtk_vcodec_mem base_y; member
H A Dvdec_drv_if.c84 if (((fb->base_y.dma_addr & 511) != 0) || in vdec_if_decode()