/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/ |
D | sample_comm_nnie.c | 24 if ((pstNnieParam->stTaskBuf.u64PhyAddr != 0) && (pstNnieParam->stTaskBuf.u64VirAddr != 0)) { in SAMPLE_COMM_SVP_NNIE_ParamDeinit() 25 SAMPLE_SVP_MMZ_FREE(pstNnieParam->stTaskBuf.u64PhyAddr, pstNnieParam->stTaskBuf.u64VirAddr); in SAMPLE_COMM_SVP_NNIE_ParamDeinit() 27 pstNnieParam->stTaskBuf.u64VirAddr = 0; in SAMPLE_COMM_SVP_NNIE_ParamDeinit() 30 if ((pstNnieParam->stStepBuf.u64PhyAddr != 0) && (pstNnieParam->stStepBuf.u64VirAddr != 0)) { in SAMPLE_COMM_SVP_NNIE_ParamDeinit() 31 SAMPLE_SVP_MMZ_FREE(pstNnieParam->stStepBuf.u64PhyAddr, pstNnieParam->stStepBuf.u64VirAddr); in SAMPLE_COMM_SVP_NNIE_ParamDeinit() 33 pstNnieParam->stStepBuf.u64VirAddr = 0; in SAMPLE_COMM_SVP_NNIE_ParamDeinit() 55 pstNnieParam->astForwardWithBboxCtrl[i].stTskBuf.u64VirAddr = in SAMPLE_SVP_NNIE_FillForwardInfo() 56 pstNnieParam->stTaskBuf.u64VirAddr + u32Offset; in SAMPLE_SVP_NNIE_FillForwardInfo() 66 …pstNnieParam->astForwardCtrl[i].stTskBuf.u64VirAddr = pstNnieParam->stTaskBuf.u64VirAddr + u32Offs… in SAMPLE_SVP_NNIE_FillForwardInfo() 277 pstNnieParam->stTaskBuf.u64VirAddr = (HI_U64)(HI_UINTPTR_T)pu8VirAddr; in SAMPLE_SVP_NNIE_ParamInit() [all …]
|
D | sample_comm_svp.c | 335 …s32Ret = HI_MPI_SYS_MmzAlloc(&pstMemInfo->u64PhyAddr, (void **)&pstMemInfo->u64VirAddr, NULL, HI_N… in SAMPLE_COMM_SVP_CreateMemInfo() 340 pstMemInfo->u64VirAddr += u32AddrOffset; in SAMPLE_COMM_SVP_CreateMemInfo() 348 if ((pstMemInfo->u64VirAddr != 0) && (pstMemInfo->u64PhyAddr != 0)) { in SAMPLE_COMM_SVP_DestroyMemInfo() 350 (HI_VOID *)(HI_UINTPTR_T)(pstMemInfo->u64VirAddr - u32AddrOffset)); in SAMPLE_COMM_SVP_DestroyMemInfo()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ai_infer_process/ |
D | ai_infer_process.c | 126 pstCnnSoftWarePara->stGetTopN.u64VirAddr = (HI_U64)(HI_UL)pu8VirAddr; in SampleSvpNnieCnnSoftwareParaInit() 134 pstCnnSoftWarePara->stAssistBuf.u64VirAddr = (HI_U64)(HI_UL)pu8VirAddr + u32GetTopNMemSize; in SampleSvpNnieCnnSoftwareParaInit() 148 …if (pstCnnSoftWarePara->stGetTopN.u64PhyAddr != 0 && pstCnnSoftWarePara->stGetTopN.u64VirAddr != 0… in SampleSvpNnieCnnSoftwareDeinit() 150 pstCnnSoftWarePara->stGetTopN.u64VirAddr); in SampleSvpNnieCnnSoftwareDeinit() 152 pstCnnSoftWarePara->stGetTopN.u64VirAddr = 0; in SampleSvpNnieCnnSoftwareDeinit() 365 pstNnieParam->astSegData[segId].astSrc[nodeId].u64VirAddr); in FillNnieByImg() 410 …LE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_VOID, pstNnieParam->astSegData[segId].astSrc[nodeId].u64VirAddr), in FillNnieByImg() 429 pu32Tmp = (HI_U32*)((HI_UL)pstGetTopN->u64VirAddr + j * u32Stride); in CnnFetchRes() 454 pstNnieParam->astForwardCtrl[pstProcSegIdx->u32SegIdx].stTskBuf.u64VirAddr), in SAMPLE_SVP_NNIE_Forward() 465 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_Forward() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample/ |
D | sample_nnie.c | 107 pstNnieParam->astForwardCtrl[pstProcSegIdx->u32SegIdx].stTskBuf.u64VirAddr), in SAMPLE_SVP_NNIE_Forward() 119 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_Forward() 124 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_Forward() 175 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_Forward() 180 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_Forward() 212 pstNnieParam->astForwardWithBboxCtrl[pstProcSegIdx->u32SegIdx].stTskBuf.u64VirAddr), in SAMPLE_SVP_NNIE_ForwardWithBbox() 224 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_ForwardWithBbox() 229 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_ForwardWithBbox() 281 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_ForwardWithBbox() 286 pstNnieParam->astSegData[pstProcSegIdx->u32SegIdx].astDst[i].u64VirAddr), in SAMPLE_SVP_NNIE_ForwardWithBbox() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/ |
D | sample_ive_st_and_lk.c | 71 stDataSrc.u64VirAddr = pstSrc->au64VirAddr[0]; in SAMPLE_IVE_St_Lk_DMA() 77 stDataDst.u64VirAddr = pstDst->au64VirAddr[0]; in SAMPLE_IVE_St_Lk_DMA() 117 IVE_MMZ_FREE(pstStLk->stPrevPts.u64PhyAddr, pstStLk->stPrevPts.u64VirAddr); in SAMPLE_IVE_St_Lk_Uninit() 118 IVE_MMZ_FREE(pstStLk->stNextPts.u64PhyAddr, pstStLk->stNextPts.u64VirAddr); in SAMPLE_IVE_St_Lk_Uninit() 119 IVE_MMZ_FREE(pstStLk->stStatus.u64PhyAddr, pstStLk->stStatus.u64VirAddr); in SAMPLE_IVE_St_Lk_Uninit() 120 IVE_MMZ_FREE(pstStLk->stErr.u64PhyAddr, pstStLk->stErr.u64VirAddr); in SAMPLE_IVE_St_Lk_Uninit() 124 IVE_MMZ_FREE(pstStLk->stCorner.u64PhyAddr, pstStLk->stCorner.u64VirAddr); in SAMPLE_IVE_St_Lk_Uninit() 126 …FREE(pstStLk->stStCandiCornerCtrl.stMem.u64PhyAddr, pstStLk->stStCandiCornerCtrl.stMem.u64VirAddr); in SAMPLE_IVE_St_Lk_Uninit() 259 SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(IVE_ST_CORNER_INFO_S, pstStLk->stCorner.u64VirAddr); in SAMPLE_IVE_St_LkProc() 261 SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(IVE_POINT_S25Q7_S, pstStLk->stNextPts.u64VirAddr); in SAMPLE_IVE_St_LkProc() [all …]
|
D | sample_ive_kcf.c | 975 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_U32, pstSoftwareParam->stRpnTmpBuf.u64VirAddr), in SAMPLE_IVE_Rfcn_Rpn() 976 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_IVE_Rfcn_Rpn() 980 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_VOID, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_IVE_Rfcn_Rpn() 993 …*ps32Proposal = SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stRpnBbox.u64VirAddr); in SAMPLE_IVE_Rfcn_GetResult() 995 …SAMPLE_SVP_CHECK_EXPR_RET(pstSoftwareParam->stRpnBbox.u64VirAddr == 0, HI_INVALID_VALUE, SAMPLE_SV… in SAMPLE_IVE_Rfcn_GetResult() 1005 pstNnieParam->astSegData[SAMPLE_IVE_KCF_SEG_1].astDst[0].u64VirAddr), in SAMPLE_IVE_Rfcn_GetResult() 1008 pstNnieParam->astSegData[SAMPLE_IVE_KCF_SEG_2].astDst[0].u64VirAddr), in SAMPLE_IVE_Rfcn_GetResult() 1010 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_IVE_Rfcn_GetResult() 1014 … SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_U32, pstSoftwareParam->stGetResultTmpBuf.u64VirAddr), in SAMPLE_IVE_Rfcn_GetResult() 1015 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stDstScore.u64VirAddr), in SAMPLE_IVE_Rfcn_GetResult() [all …]
|
D | sample_ive_test_memory.c | 49 IVE_MMZ_FREE(pstTestMem->stHist.u64PhyAddr, pstTestMem->stHist.u64VirAddr); 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() 151 pu32Hist = SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_U32, pstTestMem->stHist.u64VirAddr); in SAMPLE_IVE_TestMemoryProc()
|
D | sample_ive_od.c | 167 stSrc.u64VirAddr = stExtFrmInfo.stVFrame.u64VirAddr[0]; in SAMPLE_IVE_OdProc() 173 stDst.u64VirAddr = pstOd->stSrc.au64VirAddr[0]; in SAMPLE_IVE_OdProc()
|
D | sample_ive_persptrans.c | 67 …IVE_MMZ_FREE(pstPerspTrans->astPointPair[i].u64PhyAddr, pstPerspTrans->astPointPair[i].u64VirAddr); in SAMPLE_IVE_PerspTrans_Uninit() 118 … pstTmp = (IVE_PERSP_TRANS_POINT_PAIR_S *)(HI_UINTPTR_T)pstPerspTrans->astPointPair[i].u64VirAddr; in SAMPLE_IVE_PerspTrans_Init()
|
D | sample_ive_md.c | 62 IVE_MMZ_FREE(pstMd->stBlob.u64PhyAddr, pstMd->stBlob.u64VirAddr); in SAMPLE_IVE_Md_Uninit() 166 …PLE_COMM_IVE_BlobToRect(SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(IVE_CCBLOB_S, pstMd->stBlob.u64VirAddr), in SAMPLE_IVE_MdProc()
|
D | sample_ive_canny.c | 59 IVE_MMZ_FREE(pstCannyInfo->stStack.u64PhyAddr, pstCannyInfo->stStack.u64VirAddr); in SAMPLE_IVE_Canny_Uninit() 60 …CannyInfo->stCannyHysEdgeCtrl.stMem.u64PhyAddr, pstCannyInfo->stCannyHysEdgeCtrl.stMem.u64VirAddr); in SAMPLE_IVE_Canny_Uninit()
|
D | sample_ive_gmm2.c | 106 IVE_MMZ_FREE(pstGmm2->stModel.u64PhyAddr, pstGmm2->stModel.u64VirAddr); in SAMPLE_IVE_Gmm2_Uninit() 107 IVE_MMZ_FREE(pstGmm2->stBlob.u64PhyAddr, pstGmm2->stBlob.u64VirAddr); in SAMPLE_IVE_Gmm2_Uninit() 176 (HI_VOID)memset_s(SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(HI_VOID, pstGmm2->stModel.u64VirAddr), in SAMPLE_IVE_Gmm2_Init() 333 pstCclBlob = SAMPLE_COMM_IVE_CONVERT_64BIT_ADDR(IVE_CCBLOB_S, pstBlob->u64VirAddr); in SAMPLE_IVE_ChgFactorByGrad()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/scenario/tennis_detect/ |
D | tennis_detect.cpp | 52 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() 117 dstImage->u64VirAddr = pstDst.au64VirAddr[0]; in yuvFrame2rgb() 135 srcRGB = (HI_U8 *)dstImage.u64VirAddr; in frame2Mat() 138 HI_MPI_SYS_MmzFree(dstImage.u64PhyAddr, (void *)&(dstImage.u64VirAddr)); in frame2Mat()
|
D | tennis_detect.h | 28 HI_U64 u64VirAddr; member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample_nnie_software/ |
D | sample_svp_nnie_software.c | 2359 … SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstNnieParam->astSegData[0].astDst[0].u64VirAddr), in SAMPLE_SVP_NNIE_Cnn_GetTopN() 2362 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stAssistBuf.u64VirAddr), in SAMPLE_SVP_NNIE_Cnn_GetTopN() 2364 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stGetTopN.u64VirAddr)); in SAMPLE_SVP_NNIE_Cnn_GetTopN() 2432 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_U32, pstSoftwareParam->stRpnTmpBuf.u64VirAddr), in SAMPLE_SVP_NNIE_FasterRcnn_Rpn() 2433 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_SVP_NNIE_FasterRcnn_Rpn() 2436 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_VOID, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_SVP_NNIE_FasterRcnn_Rpn() 2454 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_U32, pstSoftwareParam->stRpnTmpBuf.u64VirAddr), in SAMPLE_SVP_NNIE_Pvanet_Rpn() 2455 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_S32, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_SVP_NNIE_Pvanet_Rpn() 2458 SAMPLE_SVP_NNIE_CONVERT_64BIT_ADDR(HI_VOID, pstSoftwareParam->stRpnBbox.u64VirAddr), in SAMPLE_SVP_NNIE_Pvanet_Rpn() 2525 …SAMPLE_SVP_CHECK_EXPR_RET(pstSoftwareParam->stRpnBbox.u64VirAddr == 0, HI_INVALID_VALUE, SAMPLE_SV… in SAMPLE_SVP_NNIE_FasterRcnn_GetResult() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
D | hi_comm_svp.h | 68 HI_U64 u64VirAddr; /* virtual addr */ member 91 HI_U64 u64VirAddr; /* RW;The virtual address of the memory */ member
|
D | hi_runtime_comm.h | 77 HI_U64 u64VirAddr; /* virtual addr */ member 116 HI_U64 u64VirAddr; /* RW;The virtual address of the memory */ member
|
D | hi_comm_ive.h | 170 HI_U64 u64VirAddr; /* RW;The virtual address of the memory */ member 179 HI_U64 u64VirAddr; /* RW;The virtaul address of the data */ member 301 HI_U64 u64VirAddr; /* virtual addr */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
D | hi_comm_svp.h | 68 HI_U64 u64VirAddr; /* virtual addr */ member 91 HI_U64 u64VirAddr; /* RW;The virtual address of the memory */ member
|
D | hi_runtime_comm.h | 77 HI_U64 u64VirAddr; /* virtual addr */ member 116 HI_U64 u64VirAddr; /* RW;The virtual address of the memory */ member
|
D | hi_comm_ive.h | 170 HI_U64 u64VirAddr; /* RW;The virtual address of the memory */ member 179 HI_U64 u64VirAddr; /* RW;The virtaul address of the data */ member 301 HI_U64 u64VirAddr; /* virtual addr */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/ |
D | vgs_img.c | 72 frm->stVFrame.u64VirAddr[0] = frm->stVFrame.u64HeaderVirAddr[0] + vbCfg->u32HeadSize; in MppFrmSetBuf() 73 frm->stVFrame.u64VirAddr[1] = frm->stVFrame.u64VirAddr[0] + vbCfg->u32MainYSize; in MppFrmSetBuf() 74 …frm->stVFrame.u64VirAddr[2] = frm->stVFrame.u64VirAddr[1]; // 2: Array subscript, not out of bounds in MppFrmSetBuf() 197 ret = HI_MPI_SYS_Munmap((void*)(uintptr_t)frm->stVFrame.u64VirAddr[0], memSize); in MppFrmDestroy()
|
D | ive_img.c | 75 img->au64VirAddr[i] = frm->stVFrame.u64VirAddr[i]; in FrmToOrigImg() 324 frm->stVFrame.u64VirAddr[i] = img->au64VirAddr[i]; in OrigImgToFrm()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/ |
D | smp_resize_crop.c | 457 (void**)&memInfo->u64VirAddr, NULL, NULL, size); in IveCtrlAlloc() 460 (void**)&memInfo->u64VirAddr, NULL, NULL, size); in IveCtrlAlloc() 474 if (HI_MPI_SYS_MmzFree(memInfo->u64PhyAddr, (void*)((uintptr_t)memInfo->u64VirAddr)) < 0) { in IveCtrlFree() 479 memInfo->u64VirAddr = 0; in IveCtrlFree() 535 if (resizeCtrl.stMem.u64VirAddr) { in IveResizeOnce() 547 if (resizeCtrl.stMem.u64VirAddr) { in IveResizeOnce()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/ |
D | 4.2.2.NNIE介绍.md | 239 * pstTskBuf->u64VirAddr不使用,不做参数异常检查。 275 * pstTskBuf->u64VirAddr不使用,不做参数异常检查。
|