Searched refs:mv_buf (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/vdec/ |
H A D | vdec_vp9_if.c | 130 * @mv_buf : motion vector working buffer (AP-W, VPU-R) 165 struct vp9_dram_buf mv_buf; member 174 * @mv_buf : working buffer for mv 190 struct mtk_vcodec_mem mv_buf; member 393 mem = &inst->mv_buf; in vp9_alloc_work_buf() 402 mtk_vcodec_err(inst, "Cannot allocate mv_buf"); in vp9_alloc_work_buf() 406 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf() 407 vsi->mv_buf.pa = (unsigned long)mem->dma_addr; in vp9_alloc_work_buf() 408 vsi->mv_buf.sz = (unsigned int)mem->size; in vp9_alloc_work_buf() 671 /* Set the va again, since vpu_dec_reset will clear mv_buf i in vp9_reset() [all...] |
H A D | vdec_h264_if.c | 122 * @mv_buf : HW working motion vector buffer 130 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM]; member 175 mem = &inst->mv_buf[i]; in alloc_mv_buf() 197 mem = &inst->mv_buf[i]; in free_mv_buf()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_vp9_if.c | 130 * @mv_buf : motion vector working buffer (AP-W, VPU-R) 165 struct vp9_dram_buf mv_buf; member 174 * @mv_buf : working buffer for mv 190 struct mtk_vcodec_mem mv_buf; member 389 mem = &inst->mv_buf; in vp9_alloc_work_buf() 398 mtk_vdec_err(inst->ctx, "Cannot allocate mv_buf"); in vp9_alloc_work_buf() 402 vsi->mv_buf.va = (unsigned long)mem->va; in vp9_alloc_work_buf() 403 vsi->mv_buf.pa = (unsigned long)mem->dma_addr; in vp9_alloc_work_buf() 404 vsi->mv_buf.sz = (unsigned int)mem->size; in vp9_alloc_work_buf() 665 /* Set the va again, since vpu_dec_reset will clear mv_buf i in vp9_reset() [all...] |
H A D | vdec_h264_req_multi_if.c | 137 * @mv_buf: HW working motion vector buffer 157 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM]; member 318 mem = &inst->mv_buf[i]; in vdec_h264_slice_alloc_mv_buf() 338 mem = &inst->mv_buf[i]; in vdec_h264_slice_free_mv_buf() 503 mem = &inst->mv_buf[i]; in vdec_h264_slice_core_decode() 633 mem = &inst->mv_buf[i]; in vdec_h264_slice_lat_decode() 767 mem = &inst->mv_buf[i]; in vdec_h264_slice_single_decode()
|
H A D | vdec_h264_req_if.c | 78 * @mv_buf : HW working motion vector buffer 88 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM]; member 191 mem = &inst->mv_buf[i]; in alloc_mv_buf() 213 mem = &inst->mv_buf[i]; in free_mv_buf()
|
H A D | vdec_h264_if.c | 121 * @mv_buf : HW working motion vector buffer 129 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM]; member 172 mem = &inst->mv_buf[i]; in alloc_mv_buf() 194 mem = &inst->mv_buf[i]; in free_mv_buf()
|
H A D | vdec_hevc_req_multi_if.c | 347 * @mv_buf: HW working motion vector buffer 362 struct mtk_vcodec_mem mv_buf[HEVC_MAX_MV_NUM]; member 653 mem = &inst->mv_buf[i]; in vdec_hevc_slice_alloc_mv_buf() 673 mem = &inst->mv_buf[i]; in vdec_hevc_slice_free_mv_buf() 760 mem = &inst->mv_buf[i]; in vdec_hevc_slice_setup_lat_buffer() 844 mem = &inst->mv_buf[i]; in vdec_hevc_slice_setup_core_buffer()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
H A D | vpe.c | 412 void *mv_buf[2]; /* virtual addrs of motion vector bufs */ member 554 if (ctx->mv_buf[0]) in realloc_mv_buffers() 555 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[0], in realloc_mv_buffers() 558 if (ctx->mv_buf[1]) in realloc_mv_buffers() 559 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[1], in realloc_mv_buffers() 565 ctx->mv_buf[0] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[0], in realloc_mv_buffers() 567 if (!ctx->mv_buf[0]) { in realloc_mv_buffers() 572 ctx->mv_buf[1] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[1], in realloc_mv_buffers() 574 if (!ctx->mv_buf[1]) { in realloc_mv_buffers() 576 dma_free_coherent(dev, size, ctx->mv_buf[ in realloc_mv_buffers() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/ |
H A D | vpe.c | 412 void *mv_buf[2]; /* virtual addrs of motion vector bufs */ member 554 if (ctx->mv_buf[0]) in realloc_mv_buffers() 555 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[0], in realloc_mv_buffers() 558 if (ctx->mv_buf[1]) in realloc_mv_buffers() 559 dma_free_coherent(dev, ctx->mv_buf_size, ctx->mv_buf[1], in realloc_mv_buffers() 565 ctx->mv_buf[0] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[0], in realloc_mv_buffers() 567 if (!ctx->mv_buf[0]) { in realloc_mv_buffers() 572 ctx->mv_buf[1] = dma_alloc_coherent(dev, size, &ctx->mv_buf_dma[1], in realloc_mv_buffers() 574 if (!ctx->mv_buf[1]) { in realloc_mv_buffers() 576 dma_free_coherent(dev, size, ctx->mv_buf[ in realloc_mv_buffers() [all...] |
Completed in 12 milliseconds