OWLIFT C Library for Linux: OWLIFTLib.h ソースファイル
OWLIFT C Library for Linux  1.9.3
Top Page
OWLIFTLib.h
[詳解]
1 
54 #pragma once
55 
56  // 0xXXXXYYZZ => XXXX.YY.ZZ
57 #define OWLIB_VERSION 0x00010903
58  // 0xXXYY => XX.YY
59 #define OWLIB_SUPPORTED_MIN_FW_VERSION 0x0100
60 
61 
62 #ifdef _WIN32
63 #include <Windows.h>
64 #endif
65 
66 #ifdef __linux__
67 #include <stdint.h>
68 #ifndef INT8
69 #define INT8 int8_t
70 #endif
71 #ifndef UINT8
72 #define UINT8 uint8_t
73 #endif
74 #ifndef INT16
75 #define INT16 int16_t
76 #endif
77 #ifndef UINT16
78 #define UINT16 uint16_t
79 #endif
80 #ifndef INT32
81 #define INT32 int32_t
82 #endif
83 #ifndef UINT32
84 #define UINT32 uint32_t
85 #endif
86 #ifndef INT64
87 #define INT64 int64_t
88 #endif
89 #ifndef UINT64
90 #define UINT64 uint64_t
91 #endif
92 #ifndef BYTE
93 #define BYTE uint8_t
94 #endif
95 #ifndef WORD
96 #define WORD uint16_t
97 #endif
98 #ifndef DWORD
99 #define DWORD uint32_t
100 #endif
101 #ifndef BOOL
102 #define BOOL int
103 #endif
104 #ifndef WCHAR
105 #define WCHAR wchar_t
106 #endif
107 #ifndef TRUE
108 #define TRUE 1
109 #endif
110 #ifndef FALSE
111 #define FALSE 0
112 #endif
113 
114 #endif
115 
116 #ifdef _WIN32
117 # ifdef OWLIFTLIB_STATIC
118 # define OWLIFTLIB_API
119 # else
120 # ifdef OWLIFTLIB_EXPORTS
121 # define OWLIFTLIB_API __declspec(dllexport)
122 # else
123 # define OWLIFTLIB_API __declspec(dllimport)
124 # pragma comment(lib, "owlift.lib")
125 # endif
126 # endif
127 #else
128 # define OWLIFTLIB_API
129 #endif
130 
131 //--------------------------------
132 // Macros
133 //
134 
140 // VOSPI 15:8 7:0
141 // Mac 7:0 15:8
142 // C 15:8 7:0
143 
151 #define VOSPI16_TO_UINT16(v) \
152  ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0x00FF)))
153 
161 #define UINT16_TO_VOSPI16(v) \
162  ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0xFF)))
163 
164 // VOSPI 15:8 7:0 31:24 23:16
165 // Mac 23:16 31:24 7:0 15:8
166 // C 31:24 23:16 15:8 7:0
167 
175 #define VOSPI32_TO_UINT32(v) \
176  ((((v) >> 8) & 0x000000FF) | (((v) << 8) & 0x0000FF00) | (((v) >> 8) & 0x00FF0000) | (((v) << 8) & 0xFF000000))
177 
185 #define UINT32_TO_VOSPI32(v) \
186  (((((v) & 0x000000FF) << 8) ) | ((((v) & 0x0000FF00) >> 8)) | ((((v) & 0x00FF0000) << 8)) | ((((v) & 0xFF000000) >> 8)))
187 
195 #define OWDECODE_RANGE_MIN_TEMP_DEFAULT \
196  (INT32)((273.15 + 16.0) * 100)
197 
205 #define OWDECODE_RANGE_MAX_TEMP_DEFAULT \
206  (INT32)((273.15 + 48.0) * 100)
207 
215 #define OWAGC_RANGE_MIN_TEMP_DEFAULT \
216  (INT32)0
217 
225 #define OWAGC_RANGE_MAX_TEMP_DEFAULT \
226  (INT32)((273.15 + 430) * 100)
227 
235 #define OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT 50
236 
243 #define OWDECODE_NOISE_FILTER_THRESHOLD_MIN 1
244 
251 #define OWDECODE_NOISE_FILTER_THRESHOLD_MAX 100
252 
260 #define OWLIB_SERIAL_NUMBER_SIZE 4
261 
269 #define OWLIB_CONFIG_F_ALWAYS_ON (1 << 0)
270 
278 #define OWLIB_CONFIG_F_ALWAYS_ON (1 << 0)
279 
287 #define OWLIFT_TYPE_A_PID 0x2300
288 
296 #define OWLIFT_TYPE_B_PID 0x2301
297 
305 #define OWLIFT_TYPE_F_PID 0x2303
306 
307  /* @} */
308 
309 //--------------------------------
310 // Types
311 //
312 
318 struct _OwDev;
319 
327 typedef struct _OwDev *OwDev;
328 
329 #ifdef _WIN32
330 
339 #endif
340 
341 #ifdef __linux__
342 
351 #endif
352 
353 typedef INT32 OwHostErrorCode_t;
354 
362 #define OWHE_OK 0
363 
371 typedef unsigned char OwFirmwareErrorCode_t;
372 
380 typedef enum
381 {
389  OWST_OK = 0,
446 
463 
464 #ifdef _WIN32
465 
472  OWST_DIRECTSHOW_ERROR = 12,
473 #endif
474 
475 #ifdef __linux__
476 
484 #endif
485 
542 } OwStatus_t;
543 
544 
557 typedef enum
558 {
568 
569 
577 typedef enum
578 {
606 } OwFrameRate_t;
607 
608 
616 typedef enum
617 {
894 
902 typedef enum {
920 
921 #ifdef _WIN32
922 #include <PshPack1.h>
923 #endif
924 
925 #ifdef __linux__
926 #pragma pack(1)
927 #endif
928 
956 typedef struct
957 {
959  UINT16 telemetryRevision;
961  UINT32 timeCounter;
962  union {
964  UINT32 statusBits;
965  struct {
967  UINT32 statusBits_reserved0 : 3;
969  UINT32 statusBits_FFCDesired : 1;
971  UINT32 statusBits_FFCState : 2;
973  UINT32 statusBits_reserved1 : 6;
975  UINT32 statusBits_AGCState : 1;
977  UINT32 statusBits_reserved2 : 2;
979  UINT32 statusBits_shutterLockout : 1;
981  UINT32 statusBits_reserved3 : 4;
983  UINT32 statusBits_OverTempShutdownImminent : 1;
985  UINT32 statusBits_reserved4 : 11;
986  };
987  };
989  UINT16 moduleSerial[8];
991  UINT16 softwareRevision[4];
993  UINT16 reservedA17[3];
995  UINT32 frameCounter;
997  UINT16 frameMean;
999  UINT16 fpaTemp_inCounts;
1001  UINT16 fpaTemp_Kx100;
1003  UINT16 housingTemp_inCounts;
1005  UINT16 housingTemp_Kx100;
1007  UINT16 reservedA27[2];
1009  UINT16 fpaTempFFC_Kx100;
1011  UINT32 fpaTempFFC_timeCounter;
1013  UINT16 housingTempFFC_Kx100;
1015  UINT16 reservedA33[1];
1017  UINT16 agcROI[4];
1019  UINT16 agcClipLimitHigh;
1021  UINT16 agcClipLimitLow;
1023  UINT16 reservedA40[34];
1025  UINT16 log2OfFFCFrames;
1027  UINT16 reservedA75[5];
1028 
1030  UINT16 reservedB0[19];
1032  UINT16 emissivity_x8192;
1034  UINT16 backgroundTemp_Kx100;
1036  UINT16 atmosphericTrans_x8192;
1038  UINT16 atmosphericTemp_Kx100;
1040  UINT16 windowTrans_x8192;
1042  UINT16 windowReflect_x8192;
1044  UINT16 windowTemp_Kx100;
1046  UINT16 windowReflectTemp_Kx100;
1048  UINT16 reservedB27[53];
1049 
1051  UINT16 reservedC0[5];
1053  UINT16 gainMode;
1055  UINT16 effectiveGain;
1057  UINT16 gainModeDesiredFlag;
1059  UINT16 tempGainModeThresholdHtoL_degC;
1061  UINT16 tempGainModeThresholdLtoH_degC;
1063  UINT16 tempGainModeThresholdHtoL_K;
1065  UINT16 tempGainModeThresholdLtoH_K;
1067  UINT16 reservedC12[2];
1069  UINT16 populationGainModeThresholdHtoL;
1071  UINT16 populationGainModeThresholdLtoH;
1073  UINT16 reservedC16[6];
1075  UINT16 gainModeROI[4];
1077  UINT16 reservedC26[22];
1079  UINT16 tlinearEnabledState;
1081  UINT16 tlinearResolution;
1083  UINT16 spotmeterMean;
1085  UINT16 spotmeterMax;
1087  UINT16 spotmeterMin;
1089  UINT16 spotmeterPopulation;
1091  UINT16 spotmeterROIStartRow;
1093  UINT16 spotmeterROIStartCol;
1095  UINT16 spotmeterROIEndRow;
1097  UINT16 spotmeterROIEndCol;
1099  UINT16 reservedC58[22];
1101 
1102 
1103 #ifdef _WIN32
1104 #include <poppack.h>
1105 #endif
1106 
1107 #ifdef __linux__
1108 #pragma pack()
1109 #endif
1110 
1111 
1137 typedef void (*OwLibCaptureProc)(OwDev dev, BYTE *buf, UINT32 bufLen, void *userData);
1138 
1154 typedef void (*OwLibNotifyProc)(OwDev dev, void *userData);
1155 
1156 
1164 typedef struct
1165 {
1172  WORD year;
1179  WORD month;
1186  WORD dayOfWeek;
1193  WORD day;
1200  WORD hour;
1207  WORD minute;
1214  WORD second;
1221  WORD millisecond;
1222 } OwDateTime;
1223 
1224 
1225 /* @} */
1226 
1227 //--------------------------------
1228 // Functions
1229 //
1230 
1231 #ifdef __cplusplus
1232 extern "C" {
1233 #endif // __cplusplus
1234 
1240 
1242 #ifdef _WIN32
1243 
1284 #endif
1285 
1286 #ifdef __linux__
1287 
1328 #endif
1329 
1330 OWLIFTLIB_API OwStatus_t
1331 OwLib_GetDevices(OwDev **devsp, int *numDevsp, OwHostErrorCode_t *hep);
1332 
1399 OWLIFTLIB_API OwStatus_t
1400 OwLib_GetDevicesDiff(OwDev **newDevsp, int *numNewDevsp,
1401  OwDev **removedDevsp, int *numRemovedDevsp,
1402  OwDev *oldDevs, int numOldDevs, OwHostErrorCode_t *hep);
1403 
1404 #ifdef _WIN32
1405 
1432 OWLIFTLIB_API OwStatus_t
1433 OwLib_GetDeviceByCaptureFilter(void *baseFilter, OwDev *devp,
1434  OwHostErrorCode_t *hep);
1435 
1436 #endif
1437 
1438 #ifdef __linux__
1439 
1466 OwStatus_t OwLib_GetDeviceByDeviceFile(const char *devPath, OwDev *devp,
1467  OwHostErrorCode_t *hep);
1468 
1469 #endif
1470 
1491 
1503 OWLIFTLIB_API void
1504 OwLib_Release(OwDev dev);
1505 
1518 OWLIFTLIB_API void
1519 OwLib_ReleaseArray(OwDev *devs);
1520 
1540 OWLIFTLIB_API OwStatus_t
1541 OwLib_Reconnect(OwDev dev);
1542 
1543 /* @} */
1544 
1546 
1565 OWLIFTLIB_API UINT32
1566 OwLib_GetLibVersion(void);
1567 
1581 OWLIFTLIB_API UINT16
1583 
1599 OWLIFTLIB_API UINT16
1601 
1617 OWLIFTLIB_API UINT16
1619 
1635 OWLIFTLIB_API UINT16
1637 
1655 OWLIFTLIB_API UINT16
1657 
1674 OWLIFTLIB_API void
1675 OwLib_GetSerialNumber(OwDev dev, UINT16 *serialp);
1676 
1692 OWLIFTLIB_API UINT64
1694 
1710 OWLIFTLIB_API UINT16
1712 
1728 OWLIFTLIB_API UINT16
1730 
1746 OWLIFTLIB_API int
1748 
1764 OWLIFTLIB_API int
1766 
1784 OWLIFTLIB_API BOOL
1786 
1804 OWLIFTLIB_API void
1805 OwLib_SetCircumferenceCorrection(OwDev dev, BOOL enabled);
1806 
1822 OWLIFTLIB_API BOOL
1824 
1840 OWLIFTLIB_API void
1841 OwLib_SetNoiseFilter(OwDev dev, BOOL enabled);
1842 
1858 OWLIFTLIB_API UINT16
1860 
1878 OWLIFTLIB_API void
1879 OwLib_SetNoiseFilterThreshold(OwDev dev, UINT16 threshold);
1880 
1898 OWLIFTLIB_API BOOL
1900 
1916 OWLIFTLIB_API void
1917 OwLib_SetUndistortion(OwDev dev, BOOL enabled);
1918 
1934 OWLIFTLIB_API OwHostErrorCode_t
1936 
1952 OWLIFTLIB_API OwFirmwareErrorCode_t
1954 
1970 OWLIFTLIB_API OwSensorErrorCode_t
1972 
1984 OWLIFTLIB_API BOOL
1986 
2002 OWLIFTLIB_API const char*
2004 
2005 #ifdef _WIN32
2006 
2021 OWLIFTLIB_API void*
2022 OwLib_GetCaptureFilter(OwDev dev);
2023 #endif
2024 
2051 OWLIFTLIB_API OwStatus_t
2052 OwLib_GetConfig(OwDev dev, UINT16 *cfgp);
2053 
2074 OWLIFTLIB_API OwStatus_t
2075 OwLib_SetConfig(OwDev dev, UINT16 cfg);
2076 
2098 OWLIFTLIB_API OwStatus_t
2099 OwLib_GetActive(OwDev dev, BOOL *activep);
2100 
2118 OWLIFTLIB_API UINT16
2120 
2137 OWLIFTLIB_API UINT16
2139 
2140 
2156 OWLIFTLIB_API UINT16
2158 
2159 
2175 OWLIFTLIB_API BOOL
2177 
2178 
2179 /* @} */
2180 
2226 OWLIFTLIB_API OwStatus_t
2227 OwLib_CommandGet(OwDev dev, UINT16 moduleID, UINT16 cmdIDBase,
2228  UINT16 *data, UINT16 ndata);
2229 
2270 OWLIFTLIB_API OwStatus_t
2271 OwLib_CommandSet(OwDev dev, UINT16 moduleID, UINT16 cmdIDBase,
2272  const UINT16 *data, UINT16 ndata);
2273 
2299 OWLIFTLIB_API OwStatus_t
2300 OwLib_CommandRun(OwDev dev, UINT16 moduleID, UINT16 cmdIDBase);
2301 
2302 /* @} */
2303 
2343 OWLIFTLIB_API OwStatus_t
2344 OwLib_CaptureSetup(OwDev dev, OwFrameRate_t frameRate, OwLibCaptureProc proc, void *userData);
2345 
2361 OWLIFTLIB_API OwStatus_t
2363 
2379 OWLIFTLIB_API OwStatus_t
2381 
2394 OWLIFTLIB_API void
2396 
2416 OWLIFTLIB_API LepTelemetryDataLineA*
2417 OwLib_GetTelemetryData(OwDev dev, BYTE *buf);
2418 
2470 OWLIFTLIB_API OwStatus_t
2471 OwLib_Decode(OwDev dev, BYTE *srcBuf, BYTE *dstBuf, UINT32 dstBufLen,
2472  UINT32 dstBufStride, OwDecodeType_t dtype);
2473 
2485 OWLIFTLIB_API void
2487 
2524 OWLIFTLIB_API OwStatus_t
2525 OwLib_GetTempTable(OwDev dev, UINT16 *buf, UINT32 bufLen);
2526 
2546 OWLIFTLIB_API int
2548 
2577 OWLIFTLIB_API void
2578 OwLib_GetDecodeRange(OwDev dev, INT32 *minTempp, INT32 *maxTempp);
2579 
2601 OWLIFTLIB_API void
2602 OwLib_SetDecodeRange(OwDev dev, INT32 minTemp, INT32 maxTemp);
2603 
2628 OWLIFTLIB_API void
2629 OwLib_GetAGCRange(OwDev dev, INT32 *minTempp, INT32 *maxTempp);
2630 
2652 OWLIFTLIB_API void
2653 OwLib_SetAGCRange(OwDev dev, INT32 minTemp, INT32 maxTemp);
2654 
2674 OWLIFTLIB_API OwDecodeType_t
2676 
2696 OWLIFTLIB_API OwDecodeType_t
2698 
2718 OWLIFTLIB_API OwDecodeType_t
2720 
2730 OWLIFTLIB_API OwDecodeType_t
2732 
2748 OWLIFTLIB_API BOOL
2750 
2775 OWLIFTLIB_API void
2776 OwLib_SetSubtractionTemp(OwDev dev, BOOL enabled);
2777 
2803 OWLIFTLIB_API OwStatus_t
2804 OwLib_SetSubtractionTempTable(OwDev dev, UINT16 *buf, UINT32 bufLen);
2805 
2825 OWLIFTLIB_API BOOL
2827 
2845 OWLIFTLIB_API void
2846 OwLib_SetColorizeByRaw(OwDev dev, BOOL enabled);
2847 
2869 OWLIFTLIB_API void
2870 OwLib_SetWindowCorrection(OwDev dev, OwWindowCorrectionType wctype, int reserved);
2871 
2893 OWLIFTLIB_API void
2894 OwLib_GetWindowCorrection(OwDev dev, OwWindowCorrectionType *wctype, int *reserved);
2895 
2896 
2922 #ifdef _WIN32
2923 OWLIFTLIB_API OwStatus_t
2924 OwLib_SetReflectCorrFile(OwDev dev, const wchar_t *filePath);
2925 #else
2926 OWLIFTLIB_API OwStatus_t
2927 OwLib_SetReflectCorrFile(OwDev dev, const char *filePath);
2928 #endif
2929 
2949 OWLIFTLIB_API OwStatus_t
2951 
2952 
2970 OWLIFTLIB_API UINT32
2972 
2993 OWLIFTLIB_API void
2994 OwLib_GetColorTable(OwDecodeType_t dtype, DWORD *tab);
2995 
3037 OWLIFTLIB_API OwStatus_t
3038 OwLib_Magnify3(BYTE *srcBuf, UINT32 src_wx, UINT32 src_wy,
3039  BYTE *dstBuf, UINT32 dstBufLen, UINT32 bpp, UINT32 src_ofsx);
3040 
3084 OWLIFTLIB_API OwStatus_t
3085 OwLib_Gray8ToRGB(BYTE *srcBuf, UINT32 src_wx, UINT32 src_wy, BYTE *dstBuf, UINT32 dstBufLen, UINT32 dstBufStride, UINT32 bpp);
3086 
3104 OWLIFTLIB_API BOOL
3106 
3124 OWLIFTLIB_API void
3125 OwLib_SetUpsideDown(OwDev dev, BOOL enabled);
3126 
3146 OWLIFTLIB_API BOOL
3148 
3168 OWLIFTLIB_API void
3169 OwLib_SetRGBOrder(OwDev dev, BOOL BGRorRGB);
3170 
3171 /* @} */
3172 
3199 #ifdef _WIN32
3200 OWLIFTLIB_API OwStatus_t
3201 OwLib_FileWriteSetup(OwDev dev, const wchar_t *filePath);
3202 #else
3203 OWLIFTLIB_API OwStatus_t
3204 OwLib_FileWriteSetup(OwDev dev, const char *filePath);
3205 #endif
3206 
3224 OWLIFTLIB_API OwStatus_t
3226 
3244 OWLIFTLIB_API OwStatus_t
3246 
3280 #ifdef _WIN32
3281 OWLIFTLIB_API OwStatus_t
3282 OwLib_FileWritePassiveSetup(OwDev dev, const wchar_t *filePath,
3283  int frameRateNumerator, int frameRateDenominator);
3284 #else
3285 OWLIFTLIB_API OwStatus_t
3286 OwLib_FileWritePassiveSetup(OwDev dev, const char *filePath,
3287  int frameRateNumerator, int frameRateDenominator);
3288 #endif
3289 
3317 OWLIFTLIB_API OwStatus_t
3318 OwLib_FileWritePassiveAdd(OwDev dev, BYTE *buf, UINT32 bufLen);
3319 
3366 #ifdef _WIN32
3367 OWLIFTLIB_API OwStatus_t
3368 OwLib_FileReadSetup(OwDev *devp, const wchar_t *filePath,
3369  OwLibCaptureProc capProc, OwLibNotifyProc endNotifyProc, void *userData);
3370 #else
3371 OWLIFTLIB_API OwStatus_t
3372 OwLib_FileReadSetup(OwDev *devp, const char *filePath,
3373  OwLibCaptureProc capProc, OwLibNotifyProc endNotifyProc, void *userData);
3374 #endif
3375 
3389 OWLIFTLIB_API void
3391 
3405 OWLIFTLIB_API void
3407 
3429 OWLIFTLIB_API OwStatus_t
3430 OwLib_FileReadSeek(OwDev dev, UINT64 timeOfs);
3431 
3449 OWLIFTLIB_API UINT64
3451 
3452 
3470 OWLIFTLIB_API UINT64
3472 
3490 OWLIFTLIB_API UINT64
3492 
3510 OWLIFTLIB_API UINT32
3512 
3532 OWLIFTLIB_API UINT32
3534 
3556 OWLIFTLIB_API void
3557 OwLib_GetFileHeadDateTime(OwDev dev, OwDateTime *dateTimep);
3558 
3580 OWLIFTLIB_API void
3582 
3600 OWLIFTLIB_API double
3602 
3621 OWLIFTLIB_API void
3622 OwLib_SetFileReadSpeed(OwDev dev, double speed);
3623 
3624 
3642 OWLIFTLIB_API BOOL
3644 
3684 OWLIFTLIB_API OwStatus_t
3685 OwLib_FileTimeBasedAGCSetup(OwDev dev, BOOL isLinearAGC,
3686  UINT32 sampleFrameNumIntvl,
3687  UINT64 fromTimeOfs, UINT64 toTimeOfs);
3688 
3706 OWLIFTLIB_API BOOL
3708 
3728 OWLIFTLIB_API void
3729 OwLib_SetTimeBasedAGC(OwDev dev, BOOL enabled);
3730 
3731 
3762 OWLIFTLIB_API OwStatus_t
3763 OwLib_SetAGCROIMask(OwDev dev, const BOOL *mask);
3764 
3765 
3783 OWLIFTLIB_API OwStatus_t
3785 
3786 
3830 #ifdef _WIN32
3831 OWLIFTLIB_API OwStatus_t
3832 OwLib_DumpFrame(OwDev dev, const wchar_t *filePath, WORD *buf, UINT32 bufLen, const LepTelemetryDataLineA *telemp,
3833  const OwDateTime *dateTimep, BOOL tempOrRaw);
3834 #else
3835 OWLIFTLIB_API OwStatus_t
3836 OwLib_DumpFrame(OwDev dev, const char *filePath, WORD *buf, UINT32 bufLen, const LepTelemetryDataLineA *telemp,
3837  const OwDateTime *dateTimep, BOOL tempOrRaw);
3838 #endif
3839 
3840 /* @} */
3841 
3842 #ifdef __cplusplus
3843 } // extern "C"
3844 #endif // __cplusplus
Definition: OWLIFTLib.h:634
Definition: OWLIFTLib.h:525
Definition: OWLIFTLib.h:586
Definition: OWLIFTLib.h:642
Definition: OWLIFTLib.h:830
Definition: OWLIFTLib.h:493
Definition: OWLIFTLib.h:770
OwStatus_t OwLib_GetTempTable(OwDev dev, UINT16 *buf, UINT32 bufLen)
OwStatus_t OwLib_CaptureStart(OwDev dev)
UINT16 OwLib_GetProductID(OwDev dev)
Definition: OWLIFTLib.h:883
OwStatus_t OwLib_GetConfig(OwDev dev, UINT16 *cfgp)
Definition: OWLIFTLib.h:509
OwStatus_t OwLib_CreateWithoutConnect(OwDev *devp)
Definition: OWLIFTLib.h:796
void OwLib_GetFileHeadDateTime(OwDev dev, OwDateTime *dateTimep)
OwStatus_t OwLib_SetAGCROIMask(OwDev dev, const BOOL *mask)
void OwLib_SetCircumferenceCorrection(OwDev dev, BOOL enabled)
BOOL OwLib_GetFileReadPaused(OwDev dev)
UINT64 OwLib_GetFileHeadTimeOffset(OwDev dev)
void OwLib_SetNoiseFilter(OwDev dev, BOOL enabled)
void OwLib_GetDecodeRange(OwDev dev, INT32 *minTempp, INT32 *maxTempp)
OwStatus_t OwLib_FileReadSetup(OwDev *devp, const char *filePath, OwLibCaptureProc capProc, OwLibNotifyProc endNotifyProc, void *userData)
UINT16 OwLib_GetFrameWidth(OwDev dev)
OwFrameRate_t
Definition: OWLIFTLib.h:577
Definition: OWLIFTLib.h:838
Definition: OWLIFTLib.h:483
OwStatus_t OwLib_Decode(OwDev dev, BYTE *srcBuf, BYTE *dstBuf, UINT32 dstBufLen, UINT32 dstBufStride, OwDecodeType_t dtype)
Definition: OWLIFTLib.h:413
Definition: OWLIFTLib.h:454
BOOL OwLib_GetColorizeByRaw(OwDev dev)
Definition: OWLIFTLib.h:874
OwStatus_t OwLib_Magnify3(BYTE *srcBuf, UINT32 src_wx, UINT32 src_wy, BYTE *dstBuf, UINT32 dstBufLen, UINT32 bpp, UINT32 src_ofsx)
UINT16 OwLib_GetTelemetryDataLines(OwDev dev)
BOOL OwLib_GetNoiseFilter(OwDev dev)
UINT64 OwLib_GetSerialNumberAsUINT64(OwDev dev)
void OwLib_CaptureRelease(OwDev dev)
BOOL OwLib_GetSubtractionTemp(OwDev dev)
BOOL OwLib_GetRGBOrder(OwDev dev)
UINT32 OwLib_GetFileCurrentFrameNumber(OwDev dev)
Definition: OWLIFTLib.h:674
Definition: OWLIFTLib.h:892
double OwLib_GetFileReadSpeed(OwDev dev)
BOOL OwLib_GetUndistortion(OwDev dev)
BOOL OwLib_GetDisconnected(OwDev dev)
Definition: OWLIFTLib.h:744
OwStatus_t OwLib_CaptureSetup(OwDev dev, OwFrameRate_t frameRate, OwLibCaptureProc proc, void *userData)
OwStatus_t OwLib_GetDevicesDiff(OwDev **newDevsp, int *numNewDevsp, OwDev **removedDevsp, int *numRemovedDevsp, OwDev *oldDevs, int numOldDevs, OwHostErrorCode_t *hep)
Definition: OWLIFTLib.h:533
Definition: OWLIFTLib.h:590
void OwLib_SetFileReadSpeed(OwDev dev, double speed)
void OwLib_SetAGCRange(OwDev dev, INT32 minTemp, INT32 maxTemp)
void OwLib_FileReadResume(OwDev dev)
OwDecodeType_t OwLib_GetLinearAutoGainType(OwDecodeType_t dtype)
BOOL OwLib_GetCircumferenceCorrection(OwDev dev)
void(* OwLibNotifyProc)(OwDev dev, void *userData)
Definition: OWLIFTLib.h:1154
Definition: OWLIFTLib.h:397
UINT16 OwLib_GetFirmwareVersion(OwDev dev)
Definition: OWLIFTLib.h:517
Definition: OWLIFTLib.h:788
int OwLib_GetLastTempResolution(OwDev dev)
Definition: OWLIFTLib.h:691
OwStatus_t OwLib_SetConfig(OwDev dev, UINT16 cfg)
Definition: OWLIFTLib.h:761
BOOL OwLib_GetTimeBasedAGC(OwDev dev)
OwStatus_t
Definition: OWLIFTLib.h:380
Definition: OWLIFTLib.h:709
void OwLib_GetAGCRange(OwDev dev, INT32 *minTempp, INT32 *maxTempp)
void OwLib_FinishDecode(OwDev dev)
INT32 OwHostErrorCode_t
Definition: OWLIFTLib.h:353
UINT32 OwLib_GetFileFrames(OwDev dev)
Definition: OWLIFTLib.h:718
UINT16 OwLib_GetReleaseNumber(OwDev dev)
Definition: OWLIFTLib.h:910
void OwLib_SetUndistortion(OwDev dev, BOOL enabled)
OwStatus_t OwLib_GetDevices(OwDev **devsp, int *numDevsp, OwHostErrorCode_t *hep)
OwStatus_t OwLib_FileTimeBasedAGCSetup(OwDev dev, BOOL isLinearAGC, UINT32 sampleFrameNumIntvl, UINT64 fromTimeOfs, UINT64 toTimeOfs)
Definition: OWLIFTLib.h:658
Definition: OWLIFTLib.h:1164
void OwLib_SetSubtractionTemp(OwDev dev, BOOL enabled)
Definition: OWLIFTLib.h:726
void OwLib_GetSerialNumber(OwDev dev, UINT16 *serialp)
void OwLib_SetWindowCorrection(OwDev dev, OwWindowCorrectionType wctype, int reserved)
Definition: OWLIFTLib.h:445
UINT16 OwLib_GetNoiseFilterThreshold(OwDev dev)
UINT16 OwLib_GetVendorID(OwDev dev)
OwStatus_t OwLib_Reconnect(OwDev dev)
OwStatus_t OwLib_GetActive(OwDev dev, BOOL *activep)
OwStatus_t OwLib_FileWriteStop(OwDev dev)
BOOL OwLib_GetUpsideDown(OwDev dev)
Definition: OWLIFTLib.h:847
BOOL OwLib_IsRealDevice(OwDev dev)
const char * OwLib_GetErrorMessage(OwStatus_t st)
OwSensorErrorCode_t OwLib_GetSensorError(OwDev dev)
Definition: OWLIFTLib.h:429
OwStatus_t OwLib_DumpFrame(OwDev dev, const char *filePath, WORD *buf, UINT32 bufLen, const LepTelemetryDataLineA *telemp, const OwDateTime *dateTimep, BOOL tempOrRaw)
OwStatus_t OwLib_FileWritePassiveSetup(OwDev dev, const char *filePath, int frameRateNumerator, int frameRateDenominator)
OwDecodeType_t OwLib_GetManualGainType(OwDecodeType_t dtype)
Definition: OWLIFTLib.h:625
struct _OwDev * OwDev
Definition: OWLIFTLib.h:327
void(* OwLibCaptureProc)(OwDev dev, BYTE *buf, UINT32 bufLen, void *userData)
Definition: OWLIFTLib.h:1137
Definition: OWLIFTLib.h:389
OwHostErrorCode_t OwLib_GetHostError(OwDev dev)
Definition: OWLIFTLib.h:462
OwStatus_t OwLib_EnableHighGainMode(OwDev dev)
void OwLib_SetNoiseFilterThreshold(OwDev dev, UINT16 threshold)
void OwLib_SetColorizeByRaw(OwDev dev, BOOL enabled)
OwStatus_t OwLib_FileWritePassiveAdd(OwDev dev, BYTE *buf, UINT32 bufLen)
void OwLib_GetWindowCorrection(OwDev dev, OwWindowCorrectionType *wctype, int *reserved)
UINT32 OwLib_GetColorTableSize(OwDecodeType_t dtype)
UINT16 OwLib_GetFrameHeight(OwDev dev)
Definition: OWLIFTLib.h:683
Definition: OWLIFTLib.h:822
Definition: OWLIFTLib.h:421
OwStatus_t OwLib_FileWriteStart(OwDev dev)
OwStatus_t OwLib_SetSubtractionTempTable(OwDev dev, UINT16 *buf, UINT32 bufLen)
void OwLib_SetUpsideDown(OwDev dev, BOOL enabled)
void OwLib_FileReadPause(OwDev dev)
UINT16 OwLib_GetFooterLines(OwDev dev)
OwStatus_t OwLib_CommandSet(OwDev dev, UINT16 moduleID, UINT16 cmdIDBase, const UINT16 *data, UINT16 ndata)
void OwLib_Release(OwDev dev)
UINT32 OwLib_GetLibVersion(void)
unsigned char OwFirmwareErrorCode_t
Definition: OWLIFTLib.h:371
Definition: OWLIFTLib.h:405
OwDecodeType_t
Definition: OWLIFTLib.h:616
OwStatus_t OwLib_GetFileError(OwDev dev)
UINT64 OwLib_GetFileTimeLength(OwDev dev)
void OwLib_SetTimeBasedAGC(OwDev dev, BOOL enabled)
Definition: OWLIFTLib.h:865
Definition: OWLIFTLib.h:650
OwStatus_t OwLib_FileReadSeek(OwDev dev, UINT64 timeOfs)
void OwLib_GetFileCurrentDateTime(OwDev dev, OwDateTime *dateTimep)
OwSensorErrorCode_t
Definition: OWLIFTLib.h:557
Definition: OWLIFTLib.h:753
int OwLib_GetFrameRateDenominator(OwDev dev)
Definition: OWLIFTLib.h:956
Definition: OWLIFTLib.h:541
OwStatus_t OwLib_CaptureStop(OwDev dev)
Definition: OWLIFTLib.h:566
Definition: OWLIFTLib.h:605
Definition: OWLIFTLib.h:437
UINT16 OwLib_GetSupportedTelemetryDataRevision(OwDev dev)
Definition: OWLIFTLib.h:805
void OwLib_SetRGBOrder(OwDev dev, BOOL BGRorRGB)
OwDecodeType_t OwLib_GetNonLinearAutoGainType(OwDecodeType_t dtype)
Definition: OWLIFTLib.h:501
void OwLib_SetDecodeRange(OwDev dev, INT32 minTemp, INT32 maxTemp)
OwStatus_t OwLib_SetReflectCorrFile(OwDev dev, const char *filePath)
void OwLib_ReleaseArray(OwDev *devs)
int OwLib_GetFrameRateNumerator(OwDev dev)
UINT64 OwLib_GetFileCurrentTimeOffset(OwDev dev)
Definition: OWLIFTLib.h:666
OwStatus_t OwLib_FileWriteSetup(OwDev dev, const char *filePath)
OwStatus_t OwLib_GetDeviceByDeviceFile(const char *devPath, OwDev *devp, OwHostErrorCode_t *hep)
LepTelemetryDataLineA * OwLib_GetTelemetryData(OwDev dev, BYTE *buf)
void OwLib_GetColorTable(OwDecodeType_t dtype, DWORD *tab)
UINT16 OwLib_GetSupportedFWVersion(void)
OwFirmwareErrorCode_t OwLib_GetFirmwareError(OwDev dev)
OwWindowCorrectionType
Definition: OWLIFTLib.h:902
Definition: OWLIFTLib.h:779
Definition: OWLIFTLib.h:814
OwStatus_t OwLib_CommandGet(OwDev dev, UINT16 moduleID, UINT16 cmdIDBase, UINT16 *data, UINT16 ndata)
OwDecodeType_t OwLib_GetAutoGainType(OwDecodeType_t dtype)
OwStatus_t OwLib_CommandRun(OwDev dev, UINT16 moduleID, UINT16 cmdIDBase)
OwStatus_t OwLib_Gray8ToRGB(BYTE *srcBuf, UINT32 src_wx, UINT32 src_wy, BYTE *dstBuf, UINT32 dstBufLen, UINT32 dstBufStride, UINT32 bpp)