Home
last modified time | relevance | path

Searched refs:u32Size (Results 1 – 25 of 35) sorted by relevance

12

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/
Dsample_comm_svp.c104 HI_U32 SAMPLE_COMM_SVP_Align(HI_U32 u32Size, HI_U16 u16Align) in SAMPLE_COMM_SVP_Align() argument
110 HI_U32 u32Stride = u32Size + (u16Align - u32Size % u16Align) % u16Align; in SAMPLE_COMM_SVP_Align()
117 HI_U32 u32Size = 0; in SAMPLE_COMM_SVP_CreateImage() local
131 u32Size = pstImg->au32Stride[0] * pstImg->u32Height + u32AddrOffset; in SAMPLE_COMM_SVP_CreateImage()
133 …PI_SYS_MmzAlloc(&pstImg->au64PhyAddr[0], (void **)&pstImg->au64VirAddr[0], NULL, HI_NULL, u32Size); in SAMPLE_COMM_SVP_CreateImage()
141 u32Size = in SAMPLE_COMM_SVP_CreateImage()
144 …PI_SYS_MmzAlloc(&pstImg->au64PhyAddr[0], (void **)&pstImg->au64VirAddr[0], NULL, HI_NULL, u32Size); in SAMPLE_COMM_SVP_CreateImage()
155u32Size = pstImg->au32Stride[0] * pstImg->u32Height * 2 + u32AddrOffset; /* YUV422: stride * h * 2… in SAMPLE_COMM_SVP_CreateImage()
157 …PI_SYS_MmzAlloc(&pstImg->au64PhyAddr[0], (void **)&pstImg->au64VirAddr[0], NULL, HI_NULL, u32Size); in SAMPLE_COMM_SVP_CreateImage()
172 u32Size = in SAMPLE_COMM_SVP_CreateImage()
[all …]
Dsample_comm_ive.c443 HI_U32 u32Size = 0; in SAMPLE_COMM_IVE_CreateImage() local
458 u32Size = pstImg->au32Stride[0] * pstImg->u32Height; in SAMPLE_COMM_IVE_CreateImage()
460 u32Size); in SAMPLE_COMM_IVE_CreateImage()
468u32Size = pstImg->au32Stride[0] * pstImg->u32Height * 3 / 2; /* YUV420SP size: stride * height * 3… in SAMPLE_COMM_IVE_CreateImage()
470 u32Size); in SAMPLE_COMM_IVE_CreateImage()
481u32Size = pstImg->au32Stride[0] * pstImg->u32Height * 2; /* YUV422SP size: stride * height * 2 */ in SAMPLE_COMM_IVE_CreateImage()
483 u32Size); in SAMPLE_COMM_IVE_CreateImage()
503 u32Size = pstImg->au32Stride[0] * pstImg->u32Height * sizeof(HI_U16); in SAMPLE_COMM_IVE_CreateImage()
505 u32Size); in SAMPLE_COMM_IVE_CreateImage()
513u32Size = pstImg->au32Stride[0] * pstImg->u32Height * 3; /* YUV422SP size: stride * height * 3 */ in SAMPLE_COMM_IVE_CreateImage()
[all …]
Dsample_comm_svp.h159 HI_U32 SAMPLE_COMM_SVP_Align(HI_U32 u32Size, HI_U16 u16Align);
166 HI_S32 SAMPLE_COMM_SVP_CreateMemInfo(SVP_MEM_INFO_S *pstMemInfo, HI_U32 u32Size, HI_U32 u32AddrOffs…
171 HI_U32 u32Size);
174 HI_U32 u32Size);
176 HI_S32 SAMPLE_COMM_SVP_FlushCache(HI_U64 u64PhyAddr, HI_VOID *pvVirAddr, HI_U32 u32Size);
Dsample_comm_nnie.c57 … pstNnieParam->astForwardWithBboxCtrl[i].stTskBuf.u32Size = pstNnieParam->au32TaskBufSize[i]; in SAMPLE_SVP_NNIE_FillForwardInfo()
67 pstNnieParam->astForwardCtrl[i].stTskBuf.u32Size = pstNnieParam->au32TaskBufSize[i]; in SAMPLE_SVP_NNIE_FillForwardInfo()
275 pstNnieParam->stTaskBuf.u32Size = u32TotalTaskBufSize; in SAMPLE_SVP_NNIE_ParamInit()
280 pstNnieParam->stTmpBuf.u32Size = u32TmpBufSize; in SAMPLE_SVP_NNIE_ParamInit()
292 … pstNnieParam->astForwardWithBboxCtrl[i].stTskBuf.u32Size = pstNnieParam->au32TaskBufSize[i]; in SAMPLE_SVP_NNIE_ParamInit()
298 pstNnieParam->astForwardCtrl[i].stTskBuf.u32Size = pstNnieParam->au32TaskBufSize[i]; in SAMPLE_SVP_NNIE_ParamInit()
402 pstNnieModel->stModelBuf.u32Size = (HI_U32)slFileSize; in SAMPLE_COMM_SVP_NNIE_LoadModel()
419 pstNnieModel->stModelBuf.u32Size = 0; in SAMPLE_COMM_SVP_NNIE_LoadModel()
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dhi_buffer.h170 HI_U32 u32Size = 0; in VI_GetRawBufferSizeEx() local
231 u32Size = u32Stride * u32Height; in VI_GetRawBufferSizeEx()
236 u32Size = u32Stride * u32Height; in VI_GetRawBufferSizeEx()
238u32Size = HI_ALIGN_UP(u32Height * u32Width * u32BitWidth * 1000UL / (u32RawCmpRatio * 8), u32Align… in VI_GetRawBufferSizeEx()
241 return u32Size; in VI_GetRawBufferSizeEx()
256 HI_U32 u32Size = 0; in VDEC_GetPicBufferSize() local
265 u32Size = ((u32AlignWidth * u32AlignHeight) * 3) >> 1; in VDEC_GetPicBufferSize()
269 u32Size = ((u32AlignWidth * u32AlignHeight) * 3) >> 1; in VDEC_GetPicBufferSize()
274 u32Size = (u32AlignWidth * u32AlignHeight * 3) >> 1; in VDEC_GetPicBufferSize()
276 u32Size = 0; in VDEC_GetPicBufferSize()
[all …]
Dmpi_sys.h69 HI_S32 HI_MPI_SYS_MmzFlushCache(HI_U64 u64PhyAddr, HI_VOID *pVirAddr, HI_U32 u32Size);
75 HI_VOID *HI_MPI_SYS_Mmap(HI_U64 u64PhyAddr, HI_U32 u32Size);
76 HI_VOID *HI_MPI_SYS_MmapCache(HI_U64 u64PhyAddr, HI_U32 u32Size);
77 HI_S32 HI_MPI_SYS_Munmap(HI_VOID *pVirAddr, HI_U32 u32Size);
78 HI_S32 HI_MPI_SYS_MflushCache(HI_U64 u64PhyAddr, HI_VOID *pVirAddr, HI_U32 u32Size);
117 HI_S32 HI_MPI_LOG_Read(HI_CHAR *pBuf, HI_U32 u32Size);
Dhi_plugin.h63 HI_U32 u32Size; member
Dhi_comm_svp.h92 HI_U32 u32Size; /* RW;The size of memory */ member
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dhi_buffer.h170 HI_U32 u32Size = 0; in VI_GetRawBufferSizeEx() local
231 u32Size = u32Stride * u32Height; in VI_GetRawBufferSizeEx()
236 u32Size = u32Stride * u32Height; in VI_GetRawBufferSizeEx()
238u32Size = HI_ALIGN_UP(u32Height * u32Width * u32BitWidth * 1000UL / (u32RawCmpRatio * 8), u32Align… in VI_GetRawBufferSizeEx()
241 return u32Size; in VI_GetRawBufferSizeEx()
256 HI_U32 u32Size = 0; in VDEC_GetPicBufferSize() local
265 u32Size = ((u32AlignWidth * u32AlignHeight) * 3) >> 1; in VDEC_GetPicBufferSize()
269 u32Size = ((u32AlignWidth * u32AlignHeight) * 3) >> 1; in VDEC_GetPicBufferSize()
274 u32Size = (u32AlignWidth * u32AlignHeight * 3) >> 1; in VDEC_GetPicBufferSize()
276 u32Size = 0; in VDEC_GetPicBufferSize()
[all …]
Dmpi_sys.h69 HI_S32 HI_MPI_SYS_MmzFlushCache(HI_U64 u64PhyAddr, HI_VOID *pVirAddr, HI_U32 u32Size);
75 HI_VOID *HI_MPI_SYS_Mmap(HI_U64 u64PhyAddr, HI_U32 u32Size);
76 HI_VOID *HI_MPI_SYS_MmapCache(HI_U64 u64PhyAddr, HI_U32 u32Size);
77 HI_S32 HI_MPI_SYS_Munmap(HI_VOID *pVirAddr, HI_U32 u32Size);
78 HI_S32 HI_MPI_SYS_MflushCache(HI_U64 u64PhyAddr, HI_VOID *pVirAddr, HI_U32 u32Size);
117 HI_S32 HI_MPI_LOG_Read(HI_CHAR *pBuf, HI_U32 u32Size);
Dhi_plugin.h63 HI_U32 u32Size; member
Dhi_comm_svp.h92 HI_U32 u32Size; /* RW;The size of memory */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/
Dsample_ive_st_and_lk.c139 HI_U32 u32Size = 0; in SAMPLE_IVE_St_Lk_Init() local
164 u32Size = sizeof(IVE_POINT_S25Q7_S) * SAMPLE_IVE_LK_MAX_POINT_NUM; in SAMPLE_IVE_St_Lk_Init()
165 u32Size = SAMPLE_COMM_IVE_CalcStride(u32Size, IVE_ALIGN); in SAMPLE_IVE_St_Lk_Init()
166 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&(pstStLk->stPrevPts), u32Size); in SAMPLE_IVE_St_Lk_Init()
170 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&(pstStLk->stNextPts), u32Size); in SAMPLE_IVE_St_Lk_Init()
175 u32Size = sizeof(HI_U8) * SAMPLE_IVE_LK_MAX_POINT_NUM; in SAMPLE_IVE_St_Lk_Init()
176 u32Size = SAMPLE_COMM_IVE_CalcStride(u32Size, IVE_ALIGN); in SAMPLE_IVE_St_Lk_Init()
177 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&(pstStLk->stStatus), u32Size); in SAMPLE_IVE_St_Lk_Init()
182 u32Size = sizeof(HI_U9Q7) * SAMPLE_IVE_LK_MAX_POINT_NUM; in SAMPLE_IVE_St_Lk_Init()
183 u32Size = SAMPLE_COMM_IVE_CalcStride(u32Size, IVE_ALIGN); in SAMPLE_IVE_St_Lk_Init()
[all …]
Dsample_ive_canny.c70 HI_U32 u32Size; in SAMPLE_IVE_Canny_Init() local
99 u32Size = (HI_U32)sizeof(HI_U16) + (HI_U32)sizeof(HI_U16); in SAMPLE_IVE_Canny_Init()
100 u32Size = pstCannyInfo->stSrc.au32Stride[0] * pstCannyInfo->stSrc.u32Height * u32Size + in SAMPLE_IVE_Canny_Init()
102 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&pstCannyInfo->stStack, u32Size); in SAMPLE_IVE_Canny_Init()
104 u32Size = (HI_U32)sizeof(HI_U16) + (HI_U32)sizeof(HI_U8); in SAMPLE_IVE_Canny_Init()
105 u32Size = pstCannyInfo->stSrc.au32Stride[0] * pstCannyInfo->stSrc.u32Height * u32Size; in SAMPLE_IVE_Canny_Init()
106 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&pstCannyInfo->stCannyHysEdgeCtrl.stMem, u32Size); in SAMPLE_IVE_Canny_Init()
Dsample_ive_kcf.c474 HI_U32 u32Size = 0; in IVE_Rpn() local
535 u32Size = SAMPLE_IVE_COORDI_NUM * u32NumAnchors; in IVE_Rpn()
536 pu32Ptr += u32Size; in IVE_Rpn()
539 pu32Ptr += u32Size; in IVE_Rpn()
542 u32Size = SAMPLE_IVE_PROPOSAL_WIDTH * u32NumAnchors; in IVE_Rpn()
543 pu32Ptr += u32Size; in IVE_Rpn()
547 u32Size = u32NumRatioAnchors * SAMPLE_IVE_COORDI_NUM; in IVE_Rpn()
548 pf32Ptr = pf32Ptr + u32Size; in IVE_Rpn()
551 u32Size = u32NumScaleAnchors * u32NumRatioAnchors * SAMPLE_IVE_COORDI_NUM; in IVE_Rpn()
552 pf32Ptr = pf32Ptr + u32Size; in IVE_Rpn()
[all …]
Dsample_ive_gmm2.c118 HI_U32 u32Size; in SAMPLE_IVE_Gmm2_Init() local
172 u32Size = pstGmm2->stGmm2Ctrl.u8ModelNum * SAMPLE_IVE_GMM2_U8C1_MODLE_SIZE_UNIT * in SAMPLE_IVE_Gmm2_Init()
174 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&pstGmm2->stModel, u32Size); in SAMPLE_IVE_Gmm2_Init()
177 pstGmm2->stModel.u32Size, 0, pstGmm2->stModel.u32Size); in SAMPLE_IVE_Gmm2_Init()
178 u32Size = sizeof(IVE_CCBLOB_S); in SAMPLE_IVE_Gmm2_Init()
179 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&pstGmm2->stBlob, u32Size); in SAMPLE_IVE_Gmm2_Init()
Dsample_ive_test_memory.c59 HI_U32 u32Size; in SAMPLE_IVE_TestMemory_Init() local
75 u32Size = IVE_HIST_NUM * sizeof(HI_U32); in SAMPLE_IVE_TestMemory_Init()
76 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&(pstTestMem->stHist), u32Size); in SAMPLE_IVE_TestMemory_Init()
Dsample_ive_persptrans.c79 HI_U32 u32Size; in SAMPLE_IVE_PerspTrans_Init() local
104 u32Size = sizeof(IVE_PERSP_TRANS_POINT_PAIR_S) * u16MaxPointPairNum; in SAMPLE_IVE_PerspTrans_Init()
106 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&(pstPerspTrans->astPointPair[i]), u32Size); in SAMPLE_IVE_PerspTrans_Init()
Dsample_ive_md.c75 HI_U32 u32Size; in SAMPLE_IVE_Md_Init() local
84 u32Size = sizeof(IVE_CCBLOB_S); in SAMPLE_IVE_Md_Init()
85 s32Ret = SAMPLE_COMM_IVE_CreateMemInfo(&pstMd->stBlob, u32Size); in SAMPLE_IVE_Md_Init()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/include/
Dhi_common.h191 hi_u32 u32Size; /* <Buffer size */ /* <CNcomment: Buffer´óÝ¡ */ member
484 hi_u32 HI_MMZ_New(hi_u32 u32Size, hi_u32 u32Align, hi_char *ps8MMZName, hi_char *ps8MMBName);
550 hi_void *HI_MEM_Map(hi_u32 u32PhyAddr, hi_u32 u32Size);
691 hi_void *HI_MEM_Malloc(hi_u32 u32ModuleID, hi_u32 u32Size);
718 hi_void *HI_MEM_Calloc(hi_u32 u32ModuleID, hi_u32 u32MemBlock, HI_U32 u32Size);
736 hi_void *HI_MMZ_New_Share(hi_u32 u32Size, hi_u32 u32Align, hi_char *ps8MMZName, hi_char *ps8MMBName…
753 hi_void *HI_MMZ_New_Shm_Com(hi_u32 u32Size, hi_u32 u32Align, hi_char *ps8MMZName, hi_char *ps8MMBNa…
791 hi_s32 HI_MMZ_Flush_Dirty(hi_u32 u32PhysAddr, hi_u32 u32VirtAddr, hi_u32 u32Size);
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample_nnie_software/
Dsample_svp_nnie_software.c464 HI_U32 u32Size = 0; in SVP_NNIE_Rpn() local
525 u32Size = SAMPLE_SVP_NNIE_COORDI_NUM * u32NumAnchors; in SVP_NNIE_Rpn()
526 pu32Ptr += u32Size; in SVP_NNIE_Rpn()
529 pu32Ptr += u32Size; in SVP_NNIE_Rpn()
532 u32Size = SAMPLE_SVP_NNIE_PROPOSAL_WIDTH * u32NumAnchors; in SVP_NNIE_Rpn()
533 pu32Ptr += u32Size; in SVP_NNIE_Rpn()
537 u32Size = u32NumRatioAnchors * SAMPLE_SVP_NNIE_COORDI_NUM; in SVP_NNIE_Rpn()
538 pf32Ptr = pf32Ptr + u32Size; in SVP_NNIE_Rpn()
541 u32Size = u32NumScaleAnchors * u32NumRatioAnchors * SAMPLE_SVP_NNIE_COORDI_NUM; in SVP_NNIE_Rpn()
542 pf32Ptr = pf32Ptr + u32Size; in SVP_NNIE_Rpn()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/
Dsample_comm_sys.c61 HI_VOID *SAMPLE_SYS_IOMmap(HI_U64 u64PhyAddr, HI_U32 u32Size) in SAMPLE_SYS_IOMmap() argument
70 if (u32Size == 0) { in SAMPLE_SYS_IOMmap()
80 u32PageSize = ((u32Size + u32Diff - 1) & 0xfffff000UL) + 0x1000; in SAMPLE_SYS_IOMmap()
90 HI_S32 SAMPLE_SYS_Munmap(HI_VOID *pVirAddr, HI_U32 u32Size) in SAMPLE_SYS_Munmap() argument
98 u32PageSize = ((u32Size + u32Diff - 1) & 0xfffff000UL) + 0x1000; in SAMPLE_SYS_Munmap()
Dsample_comm_vi.c2101 HI_U32 u32Size; in SAMPLE_VI_GetFrameBlkInfo() local
2112 u32Size = u32Stride * pstFrmCfg->u32Height * 2; /* YUV422 size is 2 * stride * h */ in SAMPLE_VI_GetFrameBlkInfo()
2117 u32Size = u32Stride * pstFrmCfg->u32Height * 3 / 2; /* YUV420 size is stride * h * 3 / 2 */ in SAMPLE_VI_GetFrameBlkInfo()
2122 u32Size = u32Stride * pstFrmCfg->u32Height; in SAMPLE_VI_GetFrameBlkInfo()
2123 u32LumaSize = u32Size; in SAMPLE_VI_GetFrameBlkInfo()
2127 u32Size = u32Stride * pstFrmCfg->u32Height; in SAMPLE_VI_GetFrameBlkInfo()
2133 stVbPoolCfg.u64BlkSize = u32Size; in SAMPLE_VI_GetFrameBlkInfo()
2143 VbBlk = HI_MPI_VB_GetBlock(u32PoolId, u32Size, HI_NULL); in SAMPLE_VI_GetFrameBlkInfo()
2145 SAMPLE_PRT("HI_MPI_VB_GetBlock err! size:%d\n", u32Size); in SAMPLE_VI_GetFrameBlkInfo()
2155 pVirAddr = (HI_U8 *)HI_MPI_SYS_Mmap(u64PhyAddr, u32Size); in SAMPLE_VI_GetFrameBlkInfo()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
Dhi_mbuf_define_ext.h54 …I_S32 (*Mbuf_Mcopy_Func)(const HI_VOID *argv, HI_VOID *pDest, const HI_VOID *pSrc, HI_U32 u32Size);
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/
D4.2.2.NNIE介绍.md241 * pstTskBuf->u32Size不能为0。
277 * pstTskBuf->u32Size不能为0。

12