00001 #ifndef __KSJ_API_COMPANDING_H__
00002 #define __KSJ_API_COMPANDING_H__
00003 
00004 // #pragma message("Include KSJApiCompanding.h") 
00005 
00006 #ifdef KSJAPI_EXPORTS
00007     #define KSJ_API __declspec(dllexport)
00008 #elif defined KSJAPI_STATIC
00009     #define KSJ_API
00010 #else
00011     #define KSJ_API __declspec(dllimport)
00012 #endif
00013 
00014 
00015 #ifdef __cplusplus
00016 extern "C"{
00017 #endif
00018 
00021 
00022 
00023 
00024 
00035     KSJ_API  int __stdcall KSJ_LutFileDownload(int nIndex, const TCHAR *pszKtbFile);
00036     
00048     KSJ_API  int __stdcall KSJ_LutDataDownload(int nIndex, unsigned char *pData, int nBytes);
00049     
00060     KSJ_API  int __stdcall KSJ_LutSetEnable(int nIndex, bool bEnable);
00061 
00072     KSJ_API  int __stdcall KSJ_LutGetEnable(int nIndex, bool *pbEnable);
00073 
00075     enum KSJ_SENSITIVITYMODE
00076     {
00077         KSJ_LOW = 0,     
00078         KSJ_MID,         
00079         KSJ_HIGH,        
00080         KSJ_HIGHER,      
00081         KSJ_HIGHEST      
00082     };
00083     
00094     KSJ_API  int __stdcall KSJ_SensitivitySetMode(int nIndex, KSJ_SENSITIVITYMODE SensitivityMode);
00095     
00106     KSJ_API  int __stdcall KSJ_SensitivityGetMode(int nIndex, KSJ_SENSITIVITYMODE *pSensitivityMode);
00108 #ifdef __cplusplus
00109 }
00110 #endif
00111 
00112 #endif