forked from Hshine/RM_Vison
94 lines
4.7 KiB
C
94 lines
4.7 KiB
C
|
|
|||
|
#ifndef _MV_ISP_ERROR_DEFINE_H_
|
|||
|
#define _MV_ISP_ERROR_DEFINE_H_
|
|||
|
|
|||
|
/************************************************************************
|
|||
|
* <EFBFBD><EFBFBD><EFBFBD><EFBFBD>ISP<EFBFBD>㷨<EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
************************************************************************/
|
|||
|
// ͨ<><CDA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_OK 0x00000000 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ
|
|||
|
#define MV_ALG_ERR 0x10000000 //<2F><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CDB4><EFBFBD>
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_ABILITY_ARG 0x10000001 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
// <20>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_MEM_NULL 0x10000002 //<2F>ڴ<EFBFBD><DAB4><EFBFBD>ַΪ<D6B7><CEAA>
|
|||
|
#define MV_ALG_E_MEM_ALIGN 0x10000003 //<2F>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD>벻<EFBFBD><EBB2BB><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>
|
|||
|
#define MV_ALG_E_MEM_LACK 0x10000004 //<2F>ڴ<EFBFBD><DAB4>ռ<EFBFBD><D5BC><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_MEM_SIZE_ALIGN 0x10000005 //<2F>ڴ<EFBFBD><DAB4>ռ<EFBFBD><D5BC><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>
|
|||
|
#define MV_ALG_E_MEM_ADDR_ALIGN 0x10000006 //<2F>ڴ<EFBFBD><DAB4><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA>
|
|||
|
|
|||
|
// ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_IMG_FORMAT 0x10000007 //ͼ<><CDBC><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD>߲<EFBFBD>֧<EFBFBD><D6A7>
|
|||
|
#define MV_ALG_E_IMG_SIZE 0x10000008 //ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD>߲<EFBFBD><DFB2><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD>߳<EFBFBD><DFB3><EFBFBD><EFBFBD><EFBFBD>Χ
|
|||
|
#define MV_ALG_E_IMG_STEP 0x10000009 //ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>step<65><70><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƥ<EFBFBD><C6A5>
|
|||
|
#define MV_ALG_E_IMG_DATA_NULL 0x1000000A //ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD>ݴ洢<DDB4><E6B4A2>ַΪ<D6B7><CEAA>
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_CFG_TYPE 0x1000000B //<2F><><EFBFBD>û<EFBFBD><C3BB><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_CFG_SIZE 0x1000000C //<2F><><EFBFBD>û<EFBFBD><C3BB><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>롢<EFBFBD><EBA1A2><EFBFBD><EFBFBD><EFBFBD>ṹ<EFBFBD><E1B9B9><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_PRC_TYPE 0x1000000D //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_PRC_SIZE 0x1000000E //<2F><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>롢<EFBFBD><EBA1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_FUNC_TYPE 0x1000000F //<2F>Ӵ<EFBFBD><D3B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͳ<EFBFBD><CDB2><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_FUNC_SIZE 0x10000010 //<2F>Ӵ<EFBFBD><D3B4><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>롢<EFBFBD><EBA1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>ȷ
|
|||
|
|
|||
|
// <20><><EFBFBD>в<EFBFBD><D0B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_PARAM_INDEX 0x10000011 //index<65><78><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_PARAM_VALUE 0x10000012 //value<75><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ<EFBFBD><C8B7><EFBFBD>߳<EFBFBD><DFB3><EFBFBD><EFBFBD><EFBFBD>Χ
|
|||
|
#define MV_ALG_E_PARAM_NUM 0x10000013 //param_num<75><6D><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ
|
|||
|
|
|||
|
// <20>ӿڵ<D3BF><DAB5>ü<EFBFBD><C3BC><EFBFBD>
|
|||
|
#define MV_ALG_E_NULL_PTR 0x10000014 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8>Ϊ<EFBFBD><CEAA>
|
|||
|
#define MV_ALG_E_OVER_MAX_MEM 0x10000015 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD>
|
|||
|
#define MV_ALG_E_CALL_BACK 0x10000016 //<2F>ص<EFBFBD><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
// <20>㷨<EFBFBD><E3B7A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ؼ<EFBFBD><D8BC><EFBFBD>
|
|||
|
#define MV_ALG_E_ENCRYPT 0x10000017 //<2F><><EFBFBD>ܴ<EFBFBD><DCB4><EFBFBD>
|
|||
|
#define MV_ALG_E_EXPIRE 0x10000018 //<2F>㷨<EFBFBD><E3B7A8>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><DEB4><EFBFBD>
|
|||
|
|
|||
|
// <20>ڲ<EFBFBD>ģ<EFBFBD>鷵<EFBFBD>صĻ<D8B5><C4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_BAD_ARG 0x10000019 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Χ<EFBFBD><CEA7><EFBFBD><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_DATA_SIZE 0x1000001A //<2F><><EFBFBD>ݴ<EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>ȷ
|
|||
|
#define MV_ALG_E_STEP 0x1000001B //<2F><><EFBFBD><EFBFBD>step<65><70><EFBFBD><EFBFBD>ȷ
|
|||
|
|
|||
|
// cpuָ<75>֧<EEBCAF>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_CPUID 0x1000001C //cpu<70><75>֧<EFBFBD><D6A7><EFBFBD>Ż<EFBFBD><C5BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD>ָ<EFBFBD>
|
|||
|
|
|||
|
#define MV_ALG_WARNING 0x1000001D //<2F><><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#define MV_ALG_E_TIME_OUT 0x1000001E //<2F>㷨<EFBFBD>ⳬʱ
|
|||
|
#define MV_ALG_E_LIB_VERSION 0x1000001F //<2F>㷨<EFBFBD>汾<EFBFBD>ų<EFBFBD><C5B3><EFBFBD>
|
|||
|
#define MV_ALG_E_MODEL_VERSION 0x10000020 //ģ<>Ͱ汾<CDB0>ų<EFBFBD><C5B3><EFBFBD>
|
|||
|
#define MV_ALG_E_GPU_MEM_ALLOC 0x10000021 //GPU<50>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_FILE_NON_EXIST 0x10000022 //<2F>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_NONE_STRING 0x10000023 //<2F>ַ<EFBFBD><D6B7><EFBFBD>Ϊ<EFBFBD><CEAA>
|
|||
|
#define MV_ALG_E_IMAGE_CODEC 0x10000024 //ͼ<><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_FILE_OPEN 0x10000025 //<2F><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_FILE_READ 0x10000026 //<2F>ļ<EFBFBD><C4BC><EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_FILE_WRITE 0x10000027 //<2F>ļ<EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_FILE_READ_SIZE 0x10000028 //<2F>ļ<EFBFBD><C4BC><EFBFBD>ȡ<EFBFBD><C8A1>С<EFBFBD><D0A1><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_FILE_TYPE 0x10000029 //<2F>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ʹ<EFBFBD><CDB4><EFBFBD>
|
|||
|
#define MV_ALG_E_MODEL_TYPE 0x1000002A //ģ<><C4A3><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CDB4><EFBFBD>
|
|||
|
#define MV_ALG_E_MALLOC_MEM 0x1000002B //<2F><><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_BIND_CORE_FAILED 0x1000002C //<2F>̰߳<DFB3><CCB0><EFBFBD>ʧ<EFBFBD><CAA7>
|
|||
|
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_IMG_FORMAT 0x10402001 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_FEATURE_TYPE 0x10402002 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CDB4><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_PROFILE_NUM 0x10402003 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_GAIN_NUM 0x10402004 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_GAIN_VAL 0x10402005 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_BIN_NUM 0x10402006 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_INIT_GAIN 0x10402007 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƴ<EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ô<EFBFBD><C3B4><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_NE_NOT_INIT 0x10402008 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4>ʼ<EFBFBD><CABC>
|
|||
|
#define MV_ALG_E_DENOISE_COLOR_MODE 0x10402009 //<2F><>ɫ<EFBFBD>ռ<EFBFBD>ģʽ<C4A3><CABD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_ROI_NUM 0x1040200a //ͼ<><CDBC>ROI<4F><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_ROI_ORI_PT 0x1040200b //ͼ<><CDBC>ROIԭ<49><D4AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_ROI_SIZE 0x1040200c //ͼ<><CDBC>ROI<4F><49>С<EFBFBD><D0A1><EFBFBD><EFBFBD>
|
|||
|
#define MV_ALG_E_DENOISE_GAIN_NOT_EXIST 0x1040200d //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>治<EFBFBD><E6B2BB><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ѵ<EFBFBD><D1B4><EFBFBD><EFBFBD><EFBFBD>)
|
|||
|
#define MV_ALG_E_DENOISE_GAIN_BEYOND_RANGE 0x1040200e //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>治<EFBFBD>ڷ<EFBFBD>Χ<EFBFBD><CEA7>
|
|||
|
#define MV_ALG_E_DENOISE_NP_BUF_SIZE 0x1040200f //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>С<EFBFBD><D0A1><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#endif //_MV_ISP_ERROR_DEFINE_H_
|