Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_vp9_if.c226 if (fb->base_y.va == addr) { in vp9_rm_from_fb_use_list()
276 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb()
294 if (vsi->sf_ref_fb[i].fb.base_y.va) { in vp9_free_all_sf_ref_fb()
296 &vsi->sf_ref_fb[i].fb.base_y); in vp9_free_all_sf_ref_fb()
319 if (vsi->sf_ref_fb[idx].fb.base_y.va && in vp9_get_sf_ref_fb()
328 if (vsi->sf_ref_fb[idx].fb.base_y.va == NULL) in vp9_get_sf_ref_fb()
337 mem_basy_y = &vsi->sf_ref_fb[idx].fb.base_y; in vp9_get_sf_ref_fb()
479 (inst->cur_fb->base_y.size >= in vp9_swap_frm_bufs()
480 frm_to_show->fb->base_y.size) && in vp9_swap_frm_bufs()
483 memcpy((void *)inst->cur_fb->base_y.va, in vp9_swap_frm_bufs()
[all …]
Dvdec_h264_if.c236 fb->base_y.va, (u64)fb->base_y.dma_addr); in put_fb_to_free()
348 uint64_t y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_h264_decode()
Dvdec_vp8_if.c305 if (prev_y_dma == (uint64_t)fb->base_y.dma_addr) { in vp8_dec_finish()
448 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_vp8_decode()
Dvdec_h264_req_multi_if.c474 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_h264_slice_core_decode()
688 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_h264_slice_single_decode()
Dvdec_vp8_req_if.c342 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_vp8_slice_decode()
Dvdec_h264_req_if.c358 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_h264_slice_decode()
Dvdec_vp9_req_lat_if.c1638 vsi->fb.y.dma_addr = fb->base_y.dma_addr; in vdec_vp9_slice_setup_core_buffer()
1640 vsi->fb.c.dma_addr = fb->base_y.dma_addr + size; in vdec_vp9_slice_setup_core_buffer()
/linux-5.19.10/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateless.c169 pfb->base_y.va = vb2_plane_vaddr(dst_buf, 0); in vdec_get_cap_buffer()
170 pfb->base_y.dma_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in vdec_get_cap_buffer()
171 pfb->base_y.size = ctx->q_data[MTK_Q_DATA_DST].sizeimage[0]; in vdec_get_cap_buffer()
180 dst_buf->index, pfb, pfb->base_y.va, &pfb->base_y.dma_addr, in vdec_get_cap_buffer()
181 &pfb->base_c.dma_addr, pfb->base_y.size, ctx->decoded_frame_cnt); in vdec_get_cap_buffer()
Dmtk_vcodec_dec_stateful.c321 pfb->base_y.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker()
322 pfb->base_y.dma_addr = in mtk_vdec_worker()
324 pfb->base_y.size = ctx->picinfo.fb_sz[0]; in mtk_vdec_worker()
335 dst_buf->vb2_buf.index, pfb, pfb->base_y.va, in mtk_vdec_worker()
336 &pfb->base_y.dma_addr, &pfb->base_c.dma_addr, pfb->base_y.size); in mtk_vdec_worker()
Dmtk_vcodec_dec.h32 struct mtk_vcodec_mem base_y; member
Dvdec_drv_if.c76 if (((fb->base_y.dma_addr & 511) != 0) || in vdec_if_decode()
/linux-5.19.10/drivers/media/platform/chips-media/
Dcoda-common.c95 u32 base_y = vb2_dma_contig_plane_dma_addr(&buf->vb2_buf, 0); in coda_write_base() local
104 base_cb = base_y + q_data->bytesperline * q_data->height; in coda_write_base()
109 base_cr = base_y + q_data->bytesperline * q_data->height; in coda_write_base()
113 base_cb = base_y + q_data->bytesperline * q_data->height; in coda_write_base()
117 coda_write(ctx->dev, base_y, reg_y); in coda_write_base()