Home
last modified time | relevance | path

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

/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_vp9_if.c226 if (fb->base_y.va == addr) { in vp9_rm_from_fb_use_list()
277 vsi->frm_bufs[ref_idx].buf.fb->base_y.va); in vp9_ref_cnt_fb()
295 if (vsi->sf_ref_fb[i].fb.base_y.va) { in vp9_free_all_sf_ref_fb()
297 &vsi->sf_ref_fb[i].fb.base_y); in vp9_free_all_sf_ref_fb()
320 if (vsi->sf_ref_fb[idx].fb.base_y.va && in vp9_get_sf_ref_fb()
329 if (vsi->sf_ref_fb[idx].fb.base_y.va == NULL) in vp9_get_sf_ref_fb()
338 mem_basy_y = &vsi->sf_ref_fb[idx].fb.base_y; in vp9_get_sf_ref_fb()
480 (inst->cur_fb->base_y.size >= in vp9_swap_frm_bufs()
481 frm_to_show->fb->base_y.size) && in vp9_swap_frm_bufs()
484 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()
/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec.h29 struct mtk_vcodec_mem base_y; member
Dvdec_drv_if.c57 if (((fb->base_y.dma_addr & 511) != 0) || in vdec_if_decode()
Dmtk_vcodec_dec.c377 pfb->base_y.va = vb2_plane_vaddr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker()
378 pfb->base_y.dma_addr = vb2_dma_contig_plane_dma_addr(&dst_buf->vb2_buf, 0); in mtk_vdec_worker()
379 pfb->base_y.size = ctx->picinfo.fb_sz[0]; in mtk_vdec_worker()
390 pfb->base_y.va, &pfb->base_y.dma_addr, in mtk_vdec_worker()
391 &pfb->base_c.dma_addr, pfb->base_y.size); in mtk_vdec_worker()
/drivers/media/platform/coda/
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()