Home
last modified time | relevance | path

Searched refs:au64VirAddr (Results 1 - 19 of 19) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/
H A Dsample_comm_svp.c133 HI_MPI_SYS_MmzAlloc(&pstImg->au64PhyAddr[0], (void **)&pstImg->au64VirAddr[0], NULL, HI_NULL, u32Size); in SAMPLE_COMM_SVP_CreateImage()
137 pstImg->au64VirAddr[0] += u32AddrOffset; in SAMPLE_COMM_SVP_CreateImage()
144 HI_MPI_SYS_MmzAlloc(&pstImg->au64PhyAddr[0], (void **)&pstImg->au64VirAddr[0], NULL, HI_NULL, u32Size); in SAMPLE_COMM_SVP_CreateImage()
148 pstImg->au64VirAddr[0] += u32AddrOffset; in SAMPLE_COMM_SVP_CreateImage()
151 pstImg->au64VirAddr[1] = pstImg->au64VirAddr[0] + pstImg->au32Stride[0] * pstImg->u32Height; in SAMPLE_COMM_SVP_CreateImage()
157 HI_MPI_SYS_MmzAlloc(&pstImg->au64PhyAddr[0], (void **)&pstImg->au64VirAddr[0], NULL, HI_NULL, u32Size); in SAMPLE_COMM_SVP_CreateImage()
161 pstImg->au64VirAddr[0] += u32AddrOffset; in SAMPLE_COMM_SVP_CreateImage()
164 pstImg->au64VirAddr[1] = pstImg->au64VirAddr[ in SAMPLE_COMM_SVP_CreateImage()
[all...]
H A Dsample_comm_ive.c163 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[0]; in SAMPLE_COMM_IVE_ReadFile()
175 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[0]; in SAMPLE_COMM_IVE_ReadFile()
185 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[1]; in SAMPLE_COMM_IVE_ReadFile()
197 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[0]; in SAMPLE_COMM_IVE_ReadFile()
207 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[1]; in SAMPLE_COMM_IVE_ReadFile()
219 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[0]; in SAMPLE_COMM_IVE_ReadFile()
232 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[loop]; in SAMPLE_COMM_IVE_ReadFile()
246 pU8 = (HI_U8 *)(HI_UINTPTR_T)pstImg->au64VirAddr[0]; in SAMPLE_COMM_IVE_ReadFile()
279 pU8 = SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_U8, pstImg->au64VirAddr[0]); in SAMPLE_COMM_IVE_WriteFile()
291 pU8 = SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_U8, pstImg->au64VirAddr[ in SAMPLE_COMM_IVE_WriteFile()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dive_img.c75 img->au64VirAddr[i] = frm->stVFrame.u64VirAddr[i]; in FrmToOrigImg()
148 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
166 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
175 img->au64VirAddr[1] = img->au64VirAddr[0] + img->au32Stride[0] * (uint64_t)img->u32Height; in IveImgCreate()
181 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
188 img->au64VirAddr[1] = img->au64VirAddr[0] + oneChnSize; in IveImgCreate()
191 img->au64VirAddr[2] = img->au64VirAddr[ in IveImgCreate()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/scenario/tennis_detect/
H A Dtennis_detect.cpp52 pstSrc->au64VirAddr[0] = srcFrame->stVFrame.u64VirAddr[0]; in IveImageParamCfg()
53 pstSrc->au64VirAddr[1] = srcFrame->stVFrame.u64VirAddr[1]; in IveImageParamCfg()
54 pstSrc->au64VirAddr[2] = srcFrame->stVFrame.u64VirAddr[2]; // 2: Image data virtual address in IveImageParamCfg()
82 s32Ret = HI_MPI_SYS_MmzAlloc_Cached(&pstDst.au64PhyAddr[0], (void **)&pstDst.au64VirAddr[0], in yuvFrame2rgb()
85 HI_MPI_SYS_MmzFree(pstDst.au64PhyAddr[0], (void *)pstDst.au64VirAddr[0]); in yuvFrame2rgb()
90 s32Ret = HI_MPI_SYS_MmzFlushCache(pstDst.au64PhyAddr[0], (void *)pstDst.au64VirAddr[0], in yuvFrame2rgb()
93 HI_MPI_SYS_MmzFree(pstDst.au64PhyAddr[0], (void *)pstDst.au64VirAddr[0]); in yuvFrame2rgb()
97 memset_s((void *)pstDst.au64VirAddr[0], pstDst.u32Height*pstDst.au32Stride[0] * 3, in yuvFrame2rgb()
103 HI_MPI_SYS_MmzFree(pstDst.au64PhyAddr[0], (void *)pstDst.au64VirAddr[0]); in yuvFrame2rgb()
117 dstImage->u64VirAddr = pstDst.au64VirAddr[ in yuvFrame2rgb()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/
H A Dsmp_resize_crop.c214 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
232 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
241 img->au64VirAddr[1] = img->au64VirAddr[0] + img->au32Stride[0] * (uint64_t)img->u32Height; in IveImgCreate()
247 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
254 img->au64VirAddr[1] = img->au64VirAddr[0] + oneChnSize; in IveImgCreate()
257 img->au64VirAddr[2] = img->au64VirAddr[1] + oneChnSize; // 2: au64VirAddr arra in IveImgCreate()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
H A Dsample_ive_sobel_with_cached_mem.c52 IVE_MMZ_FREE(pstSobel->stSrc1.au64PhyAddr[0], pstSobel->stSrc1.au64VirAddr[0]); in SAMPLE_IVE_Sobel_Uninit()
53 IVE_MMZ_FREE(pstSobel->stSrc2.au64PhyAddr[0], pstSobel->stSrc2.au64VirAddr[0]); in SAMPLE_IVE_Sobel_Uninit()
54 IVE_MMZ_FREE(pstSobel->stDstH1.au64PhyAddr[0], pstSobel->stDstH1.au64VirAddr[0]); in SAMPLE_IVE_Sobel_Uninit()
55 IVE_MMZ_FREE(pstSobel->stDstH2.au64PhyAddr[0], pstSobel->stDstH2.au64VirAddr[0]); in SAMPLE_IVE_Sobel_Uninit()
56 IVE_MMZ_FREE(pstSobel->stDstV1.au64PhyAddr[0], pstSobel->stDstV1.au64VirAddr[0]); in SAMPLE_IVE_Sobel_Uninit()
57 IVE_MMZ_FREE(pstSobel->stDstV2.au64PhyAddr[0], pstSobel->stDstV2.au64VirAddr[0]); in SAMPLE_IVE_Sobel_Uninit()
153 (HI_VOID)memcpy_s(SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_VOID, pstSobel->stSrc2.au64VirAddr[0]), in SAMPLE_IVE_SobelProc()
155 SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_VOID, pstSobel->stSrc1.au64VirAddr[0]), in SAMPLE_IVE_SobelProc()
158 SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_VOID, pstSobel->stSrc1.au64VirAddr[0]), in SAMPLE_IVE_SobelProc()
182 SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_VOID, pstSobel->stSrc2.au64VirAddr[ in SAMPLE_IVE_SobelProc()
[all...]
H A Dsample_ive_gmm2.c95 IVE_MMZ_FREE(pstGmm2->astSrc[i].au64PhyAddr[0], pstGmm2->astSrc[i].au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
97 IVE_MMZ_FREE(pstGmm2->stFg.au64PhyAddr[0], pstGmm2->stFg.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
98 IVE_MMZ_FREE(pstGmm2->stBg.au64PhyAddr[0], pstGmm2->stBg.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
99 IVE_MMZ_FREE(pstGmm2->stFactor.au64PhyAddr[0], pstGmm2->stFactor.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
100 IVE_MMZ_FREE(pstGmm2->stMatchModelInfo.au64PhyAddr[0], pstGmm2->stMatchModelInfo.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
101 IVE_MMZ_FREE(pstGmm2->stFgMask.au64PhyAddr[0], pstGmm2->stFgMask.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
102 IVE_MMZ_FREE(pstGmm2->stDiffImg.au64PhyAddr[0], pstGmm2->stDiffImg.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
103 IVE_MMZ_FREE(pstGmm2->stMagImg.au64PhyAddr[0], pstGmm2->stMagImg.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
104 IVE_MMZ_FREE(pstGmm2->stCurNormMag.au64PhyAddr[0], pstGmm2->stCurNormMag.au64VirAddr[0]); in SAMPLE_IVE_Gmm2_Uninit()
105 IVE_MMZ_FREE(pstGmm2->stLastNormMag.au64PhyAddr[0], pstGmm2->stLastNormMag.au64VirAddr[ in SAMPLE_IVE_Gmm2_Uninit()
[all...]
H A Dsample_ive_st_and_lk.c71 stDataSrc.u64VirAddr = pstSrc->au64VirAddr[0]; in SAMPLE_IVE_St_Lk_DMA()
77 stDataDst.u64VirAddr = pstDst->au64VirAddr[0]; in SAMPLE_IVE_St_Lk_DMA()
113 IVE_MMZ_FREE(pstStLk->astPrevPyr[i].au64PhyAddr[0], pstStLk->astPrevPyr[i].au64VirAddr[0]); in SAMPLE_IVE_St_Lk_Uninit()
114 IVE_MMZ_FREE(pstStLk->astNextPyr[i].au64PhyAddr[0], pstStLk->astNextPyr[i].au64VirAddr[0]); in SAMPLE_IVE_St_Lk_Uninit()
122 IVE_MMZ_FREE(pstStLk->stStSrc.au64PhyAddr[0], pstStLk->stStSrc.au64VirAddr[0]); in SAMPLE_IVE_St_Lk_Uninit()
123 IVE_MMZ_FREE(pstStLk->stStDst.au64PhyAddr[0], pstStLk->stStDst.au64VirAddr[0]); in SAMPLE_IVE_St_Lk_Uninit()
128 IVE_MMZ_FREE(pstStLk->stPyrTmp.au64PhyAddr[0], pstStLk->stPyrTmp.au64VirAddr[0]); in SAMPLE_IVE_St_Lk_Uninit()
129 IVE_MMZ_FREE(pstStLk->stSrcYuv.au64PhyAddr[0], pstStLk->stSrcYuv.au64VirAddr[0]); in SAMPLE_IVE_St_Lk_Uninit()
H A Dsample_ive_test_memory.c46 IVE_MMZ_FREE(pstTestMem->stSrc1.au64PhyAddr[0], pstTestMem->stSrc1.au64VirAddr[0]); in SAMPLE_IVE_TestMemory_Uninit()
47 IVE_MMZ_FREE(pstTestMem->stSrc2.au64PhyAddr[0], pstTestMem->stSrc2.au64VirAddr[0]); in SAMPLE_IVE_TestMemory_Uninit()
48 IVE_MMZ_FREE(pstTestMem->stDst.au64PhyAddr[0], pstTestMem->stDst.au64VirAddr[0]); in SAMPLE_IVE_TestMemory_Uninit()
119 stSrcData.u64VirAddr = pstTestMem->stSrc1.au64VirAddr[0]; in SAMPLE_IVE_TestMemoryProc()
125 stDstData.u64VirAddr = pstTestMem->stSrc2.au64VirAddr[0]; in SAMPLE_IVE_TestMemoryProc()
H A Dsample_ive_canny.c56 IVE_MMZ_FREE(pstCannyInfo->stSrc.au64PhyAddr[0], pstCannyInfo->stSrc.au64VirAddr[0]); in SAMPLE_IVE_Canny_Uninit()
57 IVE_MMZ_FREE(pstCannyInfo->stEdge.au64PhyAddr[0], pstCannyInfo->stEdge.au64VirAddr[0]); in SAMPLE_IVE_Canny_Uninit()
58 IVE_MMZ_FREE(pstCannyInfo->stMag.au64PhyAddr[0], pstCannyInfo->stMag.au64VirAddr[0]); in SAMPLE_IVE_Canny_Uninit()
H A Dsample_ive_od.c59 IVE_MMZ_FREE(pstOd->stSrc.au64PhyAddr[0], pstOd->stSrc.au64VirAddr[0]); in SAMPLE_IVE_Od_Uninit()
60 IVE_MMZ_FREE(pstOd->stInteg.au64PhyAddr[0], pstOd->stInteg.au64VirAddr[0]); in SAMPLE_IVE_Od_Uninit()
144 pu64VirData = SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_U64, pstOd->stInteg.au64VirAddr[0]); in SAMPLE_IVE_OdProc()
173 stDst.u64VirAddr = pstOd->stSrc.au64VirAddr[0]; in SAMPLE_IVE_OdProc()
H A Dsample_ive_persptrans.c63 IVE_MMZ_FREE(pstPerspTrans->stSrc.au64PhyAddr[0], pstPerspTrans->stSrc.au64VirAddr[0]); in SAMPLE_IVE_PerspTrans_Uninit()
66 IVE_MMZ_FREE(pstPerspTrans->astDst[i].au64PhyAddr[0], pstPerspTrans->astDst[i].au64VirAddr[0]); in SAMPLE_IVE_PerspTrans_Uninit()
H A Dsample_ive_md.c59 IVE_MMZ_FREE(pstMd->astImg[i].au64PhyAddr[0], pstMd->astImg[i].au64VirAddr[0]); in SAMPLE_IVE_Md_Uninit()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/color_space_convert/smp/
H A Dsmp_color_space_convert.c203 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
221 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
230 img->au64VirAddr[1] = img->au64VirAddr[0] + img->au32Stride[0] * (uint64_t)img->u32Height; in IveImgCreate()
236 ret = HI_MPI_SYS_MmzAlloc(&img->au64PhyAddr[0], (void**)&img->au64VirAddr[0], NULL, NULL, size); in IveImgCreate()
243 img->au64VirAddr[1] = img->au64VirAddr[0] + oneChnSize; in IveImgCreate()
246 img->au64VirAddr[2] = img->au64VirAddr[1] + oneChnSize; // 2: au64VirAddr arra in IveImgCreate()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_comm_svp.h129 HI_U64 au64VirAddr[HI_SVP_IMG_ADDR_NUM]; /* RW;The virtual address of the image */ member
H A Dhi_comm_ive.h154 HI_U64 au64VirAddr[3]; /* RW;The virtual address of the image */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_comm_svp.h129 HI_U64 au64VirAddr[HI_SVP_IMG_ADDR_NUM]; /* RW;The virtual address of the image */ member
H A Dhi_comm_ive.h154 HI_U64 au64VirAddr[3]; /* RW;The virtual address of the image */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ai_infer_process/
H A Dai_infer_process.c371 const uint8_t *srcData = (const uint8_t*)(uintptr_t)img->au64VirAddr[0]; in FillNnieByImg()
381 srcData = (const uint8_t*)(uintptr_t)img->au64VirAddr[1]; in FillNnieByImg()
396 const uint8_t *srcData = (const uint8_t*)(uintptr_t)img->au64VirAddr[i]; in FillNnieByImg()

Completed in 14 milliseconds