Home
last modified time | relevance | path

Searched refs:HI_ASSERT (Results 1 - 25 of 25) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ext_util/
H A Dbase_interface.c45 HI_ASSERT(!g_mainThrdId); in ConfBaseInit()
80 HI_ASSERT(key && *key); in GetCfgInt()
90 HI_ASSERT(key && *key); in GetCfgDouble()
100 HI_ASSERT(key && *key); in GetCfgStr()
138 HI_ASSERT(field && *field); in SectGetCfgInt()
142 HI_ASSERT(0); in SectGetCfgInt()
153 HI_ASSERT(field && *field); in SectGetCfgDouble()
157 HI_ASSERT(0); in SectGetCfgDouble()
168 HI_ASSERT(field && *field); in SectGetCfgBool()
172 HI_ASSERT( in SectGetCfgBool()
[all...]
H A Dposix_help.c41 HI_ASSERT(chn); in SkPairCreate()
45 HI_ASSERT(0); in SkPairCreate()
58 HI_ASSERT(msgBuf && msgSize > 0); in FdReadMsg()
91 HI_ASSERT(msgData && msgLen > 0); in FdWriteMsg()
107 HI_ASSERT(ret < 0); in FdWriteMsg()
121 HI_ASSERT(chn); in SkPairDestroy()
125 HI_ASSERT(0); in SkPairDestroy()
131 HI_ASSERT(0); in SkPairDestroy()
143 HI_ASSERT(mutex); in RecurMutexInit()
148 HI_ASSERT(!re in RecurMutexInit()
[all...]
H A Dmisc_util.c36 HI_ASSERT(rateMin < 1 && rateMax > 1); in IntZoomTo()
40 HI_ASSERT(rateMin); in IntZoomTo()
61 HI_ASSERT(srcWidth && srcHeight); in RectBoxTran()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/resize_crop/smp/
H A Dsmp_resize_crop.c138 HI_ASSERT(path); in HiPathName()
185 HI_ASSERT(0); in IveCalStride()
197 HI_ASSERT(img); in IveImgCreate()
203 HI_ASSERT(0); in IveImgCreate()
270 HI_ASSERT(0); in IveImgCreate()
283 HI_ASSERT(boxWidth > 0 && boxWidth <= src->u32Width); in ImgYuvCrop()
284 HI_ASSERT(boxHeight > 0 && boxHeight <= src->u32Height); in ImgYuvCrop()
285 HI_ASSERT(src->au64VirAddr[0]); in ImgYuvCrop()
286 HI_ASSERT(src->au32Stride[0] >= src->u32Width); in ImgYuvCrop()
307 HI_ASSERT(!re in ImgYuvCrop()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dvgs_img.c107 HI_ASSERT(frm); in MppFrmCreate()
111 HI_ASSERT(0); in MppFrmCreate()
114 HI_ASSERT(width > 0 && height > 0); in MppFrmCreate()
125 HI_ASSERT(0); in MppFrmCreate()
137 HI_ASSERT(phyAddr); in MppFrmCreate()
139 HI_ASSERT(virAddr); in MppFrmCreate()
198 HI_ASSERT(ret == HI_SUCCESS); in MppFrmDestroy()
200 HI_ASSERT(ret == HI_SUCCESS); in MppFrmDestroy()
202 HI_ASSERT(0); in MppFrmDestroy()
217 HI_ASSERT(sr in VgsResizeOnce()
[all...]
H A Dive_img.c58 HI_ASSERT(0); in FrmToOrigImg()
69 HI_ASSERT(0); in FrmToOrigImg()
119 HI_ASSERT(0); in IveCalStride()
131 HI_ASSERT(img); in IveImgCreate()
137 HI_ASSERT(0); in IveImgCreate()
204 HI_ASSERT(0); in IveImgCreate()
217 HI_ASSERT(boxWidth > 0 && boxWidth <= src->u32Width); in ImgYuvCrop()
218 HI_ASSERT(boxHeight > 0 && boxHeight <= src->u32Height); in ImgYuvCrop()
219 HI_ASSERT(src->au64VirAddr[0]); in ImgYuvCrop()
220 HI_ASSERT(sr in ImgYuvCrop()
[all...]
H A Dosd_img.c172 HI_ASSERT(0); in OsdsCreate()
175 HI_ASSERT(0); in OsdsCreate()
215 HI_ASSERT(0); in OSD_GetTimeStr()
286 HI_ASSERT(self); in OsdsCreateRgn()
335 HI_ASSERT(HI_TRUE == s_bOSDInitFlg); in HI_OSD_Stop()
340 HI_ASSERT(s32OsdIdx >= 0); in HI_OSD_Stop()
341 HI_ASSERT(HI_OSD_MAX_CNT > s32OsdIdx); in HI_OSD_Stop()
379 HI_ASSERT(self); in OsdsDestroyRgn()
380 HI_ASSERT(rgnHnd >= 0 && rgnHnd < HI_OSD_MAX_CNT); in OsdsDestroyRgn()
383 HI_ASSERT(g_osdHndPoo in OsdsDestroyRgn()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/color_space_convert/smp/
H A Dsmp_color_space_convert.c127 HI_ASSERT(path); in HiPathName()
174 HI_ASSERT(0); in IveCalStride()
186 HI_ASSERT(img); in IveImgCreate()
192 HI_ASSERT(0); in IveImgCreate()
259 HI_ASSERT(0); in IveImgCreate()
279 HI_ASSERT(0); in IveImgDestroy()
347 HI_ASSERT(img->enType == IVE_IMAGE_TYPE_U8C3_PLANAR); in ImgRgbToBgr()
348 HI_ASSERT(img->au32Stride[0] >= img->u32Width); in ImgRgbToBgr()
349 HI_ASSERT(img->au32Stride[1] >= img->u32Width); in ImgRgbToBgr()
350 HI_ASSERT(im in ImgRgbToBgr()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/scenario/cnn_trash_classify/
H A Dcnn_trash_classify.c131 HI_ASSERT(ret == HI_SUCCESS); in CnnTrashClassifyLoadModel()
134 HI_ASSERT(g_osdsTrash); in CnnTrashClassifyLoadModel()
136 HI_ASSERT(g_osd0Trash >= 0); in CnnTrashClassifyLoadModel()
144 HI_ASSERT(ret == 0); in CnnTrashClassifyLoadModel()
146 HI_ASSERT(0); in CnnTrashClassifyLoadModel()
232 HI_ASSERT(offset < size); in CnnTrashClassifyFlag()
235 HI_ASSERT(offset < size); in CnnTrashClassifyFlag()
289 HI_ASSERT(resLen <= sizeof(resBuf) / sizeof(resBuf[0])); in CnnTrashClassifyCal()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/smp/
H A Dsample_media_opencv.cpp55 HI_ASSERT(self); in TennisViCfgSetDev()
56 HI_ASSERT((int)wdrMode < WDR_MODE_BUTT); in TennisViCfgSetDev()
69 HI_ASSERT(self); in TennisViCfgSetChn()
70 HI_ASSERT((int)pixFormat < PIXEL_FORMAT_BUTT); in TennisViCfgSetChn()
71 HI_ASSERT((int)videoFormat < VIDEO_FORMAT_BUTT); in TennisViCfgSetChn()
72 HI_ASSERT((int)dynamicRange < DYNAMIC_RANGE_BUTT); in TennisViCfgSetChn()
126 HI_ASSERT(!g_aicTennisMediaInfo.viSess); in TennisVpssParamCfg()
221 HI_ASSERT(0);
H A Dsample_media_ai.c1248 HI_ASSERT(pstVoConfig); in StVoPubAttrCfg()
1281 HI_ASSERT(pstVoConfig); in StLayerAttrCfg()
1299 HI_ASSERT(pstVoConfig); in SampleCommVoStartMipi()
1378 HI_ASSERT(self); in ViCfgInit()
1380 HI_ASSERT(0); in ViCfgInit()
1398 HI_ASSERT(self); in ViCfgSetDev()
1399 HI_ASSERT((int)wdrMode < WDR_MODE_BUTT); in ViCfgSetDev()
1411 HI_ASSERT(self); in ViCfgSetPipe()
1426 HI_ASSERT(self); in ViCfgSetChn()
1427 HI_ASSERT((in in ViCfgSetChn()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
H A Dhi_debug.h58 /* For User Mode : HI_PRINT, HI_ASSERT, HI_TRACE */
63 /* Using samples: HI_ASSERT(x>y); */
64 #define HI_ASSERT(expr) \ macro
85 #define HI_ASSERT(expr) macro
91 /* For Linux Kernel : HI_PRINT, HI_ASSERT, HI_TRACE */
98 /* Using samples: HI_ASSERT(x>y); */
99 #define HI_ASSERT(expr) \ macro
114 #define HI_ASSERT(expr) macro
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_debug.h55 /* For User Mode : HI_PRINT, HI_ASSERT, HI_TRACE */
60 /* Using samples: HI_ASSERT(x>y); */
61 #define HI_ASSERT(expr) \ macro
82 #define HI_ASSERT(expr) macro
88 /* For Linux Kernel : HI_PRINT, HI_ASSERT, HI_TRACE */
95 /* Using samples: HI_ASSERT(x>y); */
96 #define HI_ASSERT(expr) \ macro
111 #define HI_ASSERT(expr) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_debug.h55 /* For User Mode : HI_PRINT, HI_ASSERT, HI_TRACE */
60 /* Using samples: HI_ASSERT(x>y); */
61 #define HI_ASSERT(expr) \ macro
82 #define HI_ASSERT(expr) macro
88 /* For Linux Kernel : HI_PRINT, HI_ASSERT, HI_TRACE */
95 /* Using samples: HI_ASSERT(x>y); */
96 #define HI_ASSERT(expr) \ macro
111 #define HI_ASSERT(expr) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/ai_infer_process/
H A Dai_infer_process.c240 HI_ASSERT(self); in CnnCreate()
242 HI_ASSERT(0); in CnnCreate()
358 HI_ASSERT(0); in FillNnieByImg()
368 HI_ASSERT(pstNnieParam->astSegData[segId].astSrc[nodeId].u32Num == 1); in FillNnieByImg()
372 HI_ASSERT(srcData); in FillNnieByImg()
375 HI_ASSERT(0); in FillNnieByImg()
382 HI_ASSERT(srcData); in FillNnieByImg()
385 HI_ASSERT(0); in FillNnieByImg()
392 HI_ASSERT(0); in FillNnieByImg()
397 HI_ASSERT(srcDat in FillNnieByImg()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/helloworld/smp/
H A Dsample_lcd.c1214 HI_ASSERT(pstVoConfig); in StVoPubAttrCfg()
1247 HI_ASSERT(pstVoConfig); in StLayerAttrCfg()
1265 HI_ASSERT(pstVoConfig); in SampleCommVoStartMipi()
1350 HI_ASSERT(self); in ViCfgInit()
1352 HI_ASSERT(0); in ViCfgInit()
1370 HI_ASSERT(self); in ViCfgSetDev()
1371 HI_ASSERT((int)wdrMode < WDR_MODE_BUTT); in ViCfgSetDev()
1383 HI_ASSERT(self); in ViCfgSetPipe()
1398 HI_ASSERT(self); in ViCfgSetChn()
1399 HI_ASSERT((in in ViCfgSetChn()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/mkp/src/
H A Dcmpi_mod.c200 HI_ASSERT(module->mod_id < MAX_MPP_MODULES); in cmpi_register_module()
231 HI_ASSERT(mod_id < MAX_MPP_MODULES); in cmpi_unregister_module()
H A Dcmpi_log.c139 HI_ASSERT(g_log_buf.write_pos <= g_log_buf.max_len); in log_write()
140 HI_ASSERT(g_log_buf.read_pos <= g_log_buf.max_len); in log_write()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/include/
H A Dosd_img.h81 HI_ASSERT(0); in MutexLock()
92 HI_ASSERT(0); in MutexUnlock()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/sysd/mkp/src/
H A Dsys_bind.c521 HI_ASSERT(src_bind->dest_num > 0); in sys_really_unbind()
929 HI_ASSERT(send_bind_src->mpp_chn[i].mod_id < HI_ID_BUTT); in sys_bind_really_send_data()
963 HI_ASSERT(mod_id < HI_ID_BUTT); in sys_bind_send_data()
964 HI_ASSERT(data_type < MPP_DATA_BUTT); in sys_bind_send_data()
983 HI_ASSERT(ret == HI_SUCCESS); in sys_bind_send_data()
1005 HI_ASSERT(send_bind_src->mpp_chn[i].mod_id < HI_ID_BUTT); in sys_bind_really_reset_data()
1034 HI_ASSERT(mod_id < HI_ID_BUTT); in sys_bind_reset_data()
1053 HI_ASSERT(ret == HI_SUCCESS); in sys_bind_reset_data()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/dependency/
H A Daudio_test.c129 HI_ASSERT(0); in SAMPLE_AUDIO_OpenAdecFile_AAC()
135 HI_ASSERT(0); in SAMPLE_AUDIO_OpenAdecFile_AAC()
142 HI_ASSERT(0); in SAMPLE_AUDIO_OpenAdecFile_AAC()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/store_sample/smp/
H A Dsample_store.c353 HI_ASSERT(self); in ViCfgInit()
355 HI_ASSERT(0); in ViCfgInit()
375 HI_ASSERT(self); in ViCfgSetDevPipeChnInfo()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/include/
H A Dhi_log.h159 #define HI_ASSERT(expr) \ macro
273 #define HI_ASSERT(expr) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/scenario/hand_classify/
H A Dhand_classify.c259 HI_ASSERT(resLen <= sizeof(numInfo) / sizeof(numInfo[0])); in Yolo2HandDetectResnetClassifyCal()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/hal/
H A Dvou_drv.c848 HI_ASSERT((dev == VO_DEV_DHD0)); in vou_drv_check_dev_intf()
2397 HI_ASSERT(0); in vou_drv_set_dev_dither_mode()

Completed in 22 milliseconds