/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/ive/sample/ |
H A D | sample_ive_persptrans.c | 74 static HI_S32 SAMPLE_IVE_PerspTrans_Init(SAMPLE_IVE_PERSP_TRANS_S *pstPerspTrans, HI_U32 u32SrcWidth,
in SAMPLE_IVE_PerspTrans_Init() argument 93 s32Ret = SAMPLE_COMM_IVE_CreateImage(&(pstPerspTrans->stSrc), IVE_IMAGE_TYPE_YUV420SP, u32SrcWidth, u32SrcHeight);
in SAMPLE_IVE_PerspTrans_Init() 193 HI_U32 u32SrcWidth = SAMPLE_IVE_PSP_WIDTH_250;
in SAMPLE_IVE_PerspTrans() local 220 s32Ret = SAMPLE_IVE_PerspTrans_Init(&s_stPerspTrans, u32SrcWidth, u32SrcHeight, u32DstWidth, u32DstHeight, astRoi,
in SAMPLE_IVE_PerspTrans()
|
H A D | sample_ive_kcf.c | 1228 HI_FLOAT *paf32ScoreThr, HI_BOOL bRmBg, SAMPLE_SVP_NNIE_RECT_ARRAY_S *pstRect, HI_U32 u32SrcWidth,
in SAMPLE_IVE_RoiToRect() 1265 (HI_U32)((HI_FLOAT)ps32Roi[u32BboxBias + j * SAMPLE_IVE_COORDI_NUM] / (HI_FLOAT)u32SrcWidth *
in SAMPLE_IVE_RoiToRect() 1275 (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) &
in SAMPLE_IVE_RoiToRect() 1227 SAMPLE_IVE_RoiToRect(SVP_BLOB_S *pstDstScore, SVP_BLOB_S *pstDstRoi, SVP_BLOB_S *pstClassRoiNum, HI_FLOAT *paf32ScoreThr, HI_BOOL bRmBg, SAMPLE_SVP_NNIE_RECT_ARRAY_S *pstRect, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32DstWidth, HI_U32 u32DstHeight) SAMPLE_IVE_RoiToRect() argument
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/common/ |
H A D | sample_comm_ive.h | 140 HI_U16 u16AreaThrStep, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32DstWidth, HI_U32 u32DstHeight);
|
H A D | sample_comm_ive.c | 367 HI_U16 u16AreaThrStep, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32DstWidth, HI_U32 u32DstHeight)
in SAMPLE_COMM_IVE_BlobToRect() 392 (HI_U32)((HI_FLOAT)pstBlob->astRegion[i].u16Left / (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) &
in SAMPLE_COMM_IVE_BlobToRect() 399 (HI_U32)((HI_FLOAT)pstBlob->astRegion[i].u16Right / (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) &
in SAMPLE_COMM_IVE_BlobToRect() 407 (HI_U32)((HI_FLOAT)pstBlob->astRegion[i].u16Right / (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) &
in SAMPLE_COMM_IVE_BlobToRect() 415 (HI_U32)((HI_FLOAT)pstBlob->astRegion[i].u16Left / (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) &
in SAMPLE_COMM_IVE_BlobToRect() 366 SAMPLE_COMM_IVE_BlobToRect(IVE_CCBLOB_S *pstBlob, SAMPLE_RECT_ARRAY_S *pstRect, HI_U16 u16RectMaxNum, HI_U16 u16AreaThrStep, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32DstWidth, HI_U32 u32DstHeight) SAMPLE_COMM_IVE_BlobToRect() argument
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_nnie.h | 140 HI_U32 u32SrcWidth; /* ROI/PSROI Pooling src width */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | hi_nnie.h | 140 HI_U32 u32SrcWidth; /* ROI/PSROI Pooling src width */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample_nnie_software/ |
H A D | sample_svp_nnie_software.c | 2086 * HI_U32 u32SrcWidth [IN] input image width 2096 HI_U32 u32EachGridBbox, HI_U32 u32ClassNum, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32MaxRoiNum, in SVP_NNIE_Yolov2_GetResult() 2186 *(ps32DstRoi++) = (HI_S32)SAMPLE_SVP_NNIE_MAX(pstBox[n].f32Xmin * u32SrcWidth, 0); in SVP_NNIE_Yolov2_GetResult() 2188 *(ps32DstRoi++) = (HI_S32)SAMPLE_SVP_NNIE_MIN(pstBox[n].f32Xmax * u32SrcWidth, u32SrcWidth); in SVP_NNIE_Yolov2_GetResult() 2208 * HI_U32 u32SrcWidth [IN] input image width 2220 HI_U32 au32GridNumHeight[], HI_U32 au32Stride[], HI_U32 u32EachGridBbox, HI_U32 u32ClassNum, HI_U32 u32SrcWidth, in SVP_NNIE_Yolov3_GetResult() 2293 if (u32SrcWidth == 0 || u32SrcHeight == 0) { in SVP_NNIE_Yolov3_GetResult() 2294 printf("Divisor u32SrcWidth or u32SrcHeight cannot be 0!\n"); in SVP_NNIE_Yolov3_GetResult() 2298 af32Bias[i][2 * k]) / u32SrcWidth; in SVP_NNIE_Yolov3_GetResult() 2095 SVP_NNIE_Yolov2_GetResult(HI_S32 *ps32InputData, HI_U32 u32GridNumWidth, HI_U32 u32GridNumHeight, HI_U32 u32EachGridBbox, HI_U32 u32ClassNum, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32MaxRoiNum, HI_U32 u32NmsThresh, HI_U32 u32ConfThresh, HI_FLOAT af32Bias[], HI_U32 *pu32TmpBuf, HI_S32 *ps32DstScores, HI_S32 *ps32DstRoi, HI_S32 *ps32ClassRoiNum) SVP_NNIE_Yolov2_GetResult() argument 2219 SVP_NNIE_Yolov3_GetResult(HI_U64 au64InputBlobAddr[], HI_U32 au32GridNumWidth[], HI_U32 au32GridNumHeight[], HI_U32 au32Stride[], HI_U32 u32EachGridBbox, HI_U32 u32ClassNum, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32MaxRoiNum, HI_U32 u32NmsThresh, HI_U32 u32ConfThresh, HI_FLOAT af32Bias[SAMPLE_SVP_NNIE_YOLOV3_REPORT_BLOB_NUM][SAMPLE_SVP_NNIE_YOLOV3_EACH_GRID_BIAS_NUM], HI_S32 *ps32TmpBuf, HI_S32 *ps32DstScore, HI_S32 *ps32DstRoi, HI_S32 *ps32ClassRoiNum) SVP_NNIE_Yolov3_GetResult() argument [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/svp/nnie/sample/ |
H A D | sample_nnie.c | 1577 HI_FLOAT *paf32ScoreThr, HI_BOOL bRmBg, SAMPLE_SVP_NNIE_RECT_ARRAY_S *pstRect, HI_U32 u32SrcWidth,
in SAMPLE_SVP_NNIE_RoiToRect() 1615 (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) & (~1);
in SAMPLE_SVP_NNIE_RoiToRect() 1621 SAMPLE_SVP_NNIE_X_MAX_OFFSET] / (HI_FLOAT)u32SrcWidth * (HI_FLOAT)u32DstWidth) & (~1);
in SAMPLE_SVP_NNIE_RoiToRect() 1576 SAMPLE_SVP_NNIE_RoiToRect(SVP_BLOB_S *pstDstScore, SVP_BLOB_S *pstDstRoi, SVP_BLOB_S *pstClassRoiNum, HI_FLOAT *paf32ScoreThr, HI_BOOL bRmBg, SAMPLE_SVP_NNIE_RECT_ARRAY_S *pstRect, HI_U32 u32SrcWidth, HI_U32 u32SrcHeight, HI_U32 u32DstWidth, HI_U32 u32DstHeight) SAMPLE_SVP_NNIE_RoiToRect() argument
|