Home
last modified time | relevance | path

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

/linux-6.1.9/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_vp8_req_if.c341 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_vp8_slice_decode()
Dvdec_h264_req_multi_if.c481 y_fb_dma = (u64)fb->base_y.dma_addr; in vdec_h264_slice_core_decode()
735 y_fb_dma = fb ? (u64)fb->base_y.dma_addr : 0; in vdec_h264_slice_single_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.c1685 vsi->fb.y.dma_addr = fb->base_y.dma_addr; in vdec_vp9_slice_setup_core_buffer()
1687 vsi->fb.c.dma_addr = fb->base_y.dma_addr + size; in vdec_vp9_slice_setup_core_buffer()
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateless.c170 pfb->base_y.va = vb2_plane_vaddr(dst_buf, 0); in vdec_get_cap_buffer()
171 pfb->base_y.dma_addr = vb2_dma_contig_plane_dma_addr(dst_buf, 0); in vdec_get_cap_buffer()
172 pfb->base_y.size = ctx->q_data[MTK_Q_DATA_DST].sizeimage[0]; in vdec_get_cap_buffer()
181 dst_buf->index, pfb, pfb->base_y.va, &pfb->base_y.dma_addr, in vdec_get_cap_buffer()
182 &pfb->base_c.dma_addr, pfb->base_y.size, ctx->decoded_frame_cnt); in vdec_get_cap_buffer()
Dmtk_vcodec_dec_stateful.c306 pfb->base_y.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker()
307 pfb->base_y.dma_addr = in mtk_vdec_worker()
309 pfb->base_y.size = ctx->picinfo.fb_sz[0]; in mtk_vdec_worker()
320 dst_buf->vb2_buf.index, pfb, pfb->base_y.va, in mtk_vdec_worker()
321 &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-6.1.9/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()