57 #define OWLIB_VERSION 0x00010903 59 #define OWLIB_SUPPORTED_MIN_FW_VERSION 0x0100 78 #define UINT16 uint16_t 84 #define UINT32 uint32_t 90 #define UINT64 uint64_t 99 #define DWORD uint32_t 105 #define WCHAR wchar_t 117 # ifdef OWLIFTLIB_STATIC 118 # define OWLIFTLIB_API 120 # ifdef OWLIFTLIB_EXPORTS 121 # define OWLIFTLIB_API __declspec(dllexport) 123 # define OWLIFTLIB_API __declspec(dllimport) 124 # pragma comment(lib, "owlift.lib") 128 # define OWLIFTLIB_API 151 #define VOSPI16_TO_UINT16(v) \ 152 ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0x00FF))) 161 #define UINT16_TO_VOSPI16(v) \ 162 ((((v) << 8) & 0xFF00) | ((((v) >> 8) & 0xFF))) 175 #define VOSPI32_TO_UINT32(v) \ 176 ((((v) >> 8) & 0x000000FF) | (((v) << 8) & 0x0000FF00) | (((v) >> 8) & 0x00FF0000) | (((v) << 8) & 0xFF000000)) 185 #define UINT32_TO_VOSPI32(v) \ 186 (((((v) & 0x000000FF) << 8) ) | ((((v) & 0x0000FF00) >> 8)) | ((((v) & 0x00FF0000) << 8)) | ((((v) & 0xFF000000) >> 8))) 195 #define OWDECODE_RANGE_MIN_TEMP_DEFAULT \ 196 (INT32)((273.15 + 16.0) * 100) 205 #define OWDECODE_RANGE_MAX_TEMP_DEFAULT \ 206 (INT32)((273.15 + 48.0) * 100) 215 #define OWAGC_RANGE_MIN_TEMP_DEFAULT \ 225 #define OWAGC_RANGE_MAX_TEMP_DEFAULT \ 226 (INT32)((273.15 + 430) * 100) 235 #define OWDECODE_NOISE_FILTER_THRESHOLD_DEFAULT 50 243 #define OWDECODE_NOISE_FILTER_THRESHOLD_MIN 1 251 #define OWDECODE_NOISE_FILTER_THRESHOLD_MAX 100 260 #define OWLIB_SERIAL_NUMBER_SIZE 4 269 #define OWLIB_CONFIG_F_ALWAYS_ON (1 << 0) 278 #define OWLIB_CONFIG_F_ALWAYS_ON (1 << 0) 287 #define OWLIFT_TYPE_A_PID 0x2300 296 #define OWLIFT_TYPE_B_PID 0x2301 305 #define OWLIFT_TYPE_F_PID 0x2303 472 OWST_DIRECTSHOW_ERROR = 12,
922 #include <PshPack1.h> 959 UINT16 telemetryRevision;
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;
989 UINT16 moduleSerial[8];
991 UINT16 softwareRevision[4];
993 UINT16 reservedA17[3];
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];
1019 UINT16 agcClipLimitHigh;
1021 UINT16 agcClipLimitLow;
1023 UINT16 reservedA40[34];
1025 UINT16 log2OfFFCFrames;
1027 UINT16 reservedA75[5];
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];
1051 UINT16 reservedC0[5];
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];
1104 #include <poppack.h> 1233 #endif // __cplusplus 1401 OwDev **removedDevsp,
int *numRemovedDevsp,
1433 OwLib_GetDeviceByCaptureFilter(
void *baseFilter,
OwDev *devp,
1565 OWLIFTLIB_API UINT32
1581 OWLIFTLIB_API UINT16
1599 OWLIFTLIB_API UINT16
1617 OWLIFTLIB_API UINT16
1635 OWLIFTLIB_API UINT16
1655 OWLIFTLIB_API UINT16
1692 OWLIFTLIB_API UINT64
1710 OWLIFTLIB_API UINT16
1728 OWLIFTLIB_API UINT16
1858 OWLIFTLIB_API UINT16
2002 OWLIFTLIB_API
const char*
2022 OwLib_GetCaptureFilter(
OwDev dev);
2118 OWLIFTLIB_API UINT16
2137 OWLIFTLIB_API UINT16
2156 OWLIFTLIB_API UINT16
2228 UINT16 *data, UINT16 ndata);
2272 const UINT16 *data, UINT16 ndata);
2970 OWLIFTLIB_API UINT32
3039 BYTE *dstBuf, UINT32 dstBufLen, UINT32 bpp, UINT32 src_ofsx);
3085 OwLib_Gray8ToRGB(BYTE *srcBuf, UINT32 src_wx, UINT32 src_wy, BYTE *dstBuf, UINT32 dstBufLen, UINT32 dstBufStride, UINT32 bpp);
3283 int frameRateNumerator,
int frameRateDenominator);
3287 int frameRateNumerator,
int frameRateDenominator);
3449 OWLIFTLIB_API UINT64
3470 OWLIFTLIB_API UINT64
3490 OWLIFTLIB_API UINT64
3510 OWLIFTLIB_API UINT32
3532 OWLIFTLIB_API UINT32
3600 OWLIFTLIB_API
double 3686 UINT32 sampleFrameNumIntvl,
3687 UINT64 fromTimeOfs, UINT64 toTimeOfs);
3833 const OwDateTime *dateTimep, BOOL tempOrRaw);
3837 const OwDateTime *dateTimep, BOOL tempOrRaw);
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:918
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)
Definition: OWLIFTLib.h:700
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)
Definition: OWLIFTLib.h:856
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
Definition: OWLIFTLib.h:735
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)