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 483 OWST_V4L2_ERROR = 13,
922 #include <PshPack1.h> 989 UINT16 moduleSerial[8];
991 UINT16 softwareRevision[4];
993 UINT16 reservedA17[3];
1007 UINT16 reservedA27[2];
1015 UINT16 reservedA33[1];
1023 UINT16 reservedA40[34];
1027 UINT16 reservedA75[5];
1030 UINT16 reservedB0[19];
1048 UINT16 reservedB27[53];
1051 UINT16 reservedC0[5];
1067 UINT16 reservedC12[2];
1073 UINT16 reservedC16[6];
1075 UINT16 gainModeROI[4];
1077 UINT16 reservedC26[22];
1099 UINT16 reservedC58[22];
1104 #include <poppack.h> 1233 #endif // __cplusplus 1401 OwDev **removedDevsp,
int *numRemovedDevsp,
1466 OwStatus_t OwLib_GetDeviceByDeviceFile(
const char *devPath,
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*
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
UINT16 atmosphericTemp_Kx100
Definition: OWLIFTLib.h:1038
Definition: OWLIFTLib.h:586
Definition: OWLIFTLib.h:642
Definition: OWLIFTLib.h:830
UINT16 housingTemp_inCounts
Definition: OWLIFTLib.h:1003
Definition: OWLIFTLib.h:493
UINT16 backgroundTemp_Kx100
Definition: OWLIFTLib.h:1034
Definition: OWLIFTLib.h:918
Definition: OWLIFTLib.h:770
UINT32 statusBits
Definition: OWLIFTLib.h:964
OwStatus_t OwLib_GetTempTable(OwDev dev, UINT16 *buf, UINT32 bufLen)
OwStatus_t OwLib_CaptureStart(OwDev dev)
UINT16 OwLib_GetProductID(OwDev dev)
UINT32 statusBits_FFCDesired
Definition: OWLIFTLib.h:969
UINT16 agcClipLimitHigh
Definition: OWLIFTLib.h:1019
Definition: OWLIFTLib.h:883
OwStatus_t OwLib_GetConfig(OwDev dev, UINT16 *cfgp)
Definition: OWLIFTLib.h:509
OwStatus_t OwLib_CreateWithoutConnect(OwDev *devp)
UINT16 effectiveGain
Definition: OWLIFTLib.h:1055
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)
UINT16 windowTrans_x8192
Definition: OWLIFTLib.h:1040
UINT16 OwLib_GetFrameWidth(OwDev dev)
OwFrameRate_t
Definition: OWLIFTLib.h:577
Definition: OWLIFTLib.h:838
WORD millisecond
Definition: OWLIFTLib.h:1221
UINT16 tempGainModeThresholdHtoL_degC
Definition: OWLIFTLib.h:1059
UINT16 windowReflect_x8192
Definition: OWLIFTLib.h:1042
UINT16 spotmeterMin
Definition: OWLIFTLib.h:1087
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 spotmeterMean
Definition: OWLIFTLib.h:1083
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)
WORD minute
Definition: OWLIFTLib.h:1207
Definition: OWLIFTLib.h:674
Definition: OWLIFTLib.h:892
double OwLib_GetFileReadSpeed(OwDev dev)
UINT32 statusBits_reserved4
Definition: OWLIFTLib.h:985
BOOL OwLib_GetUndistortion(OwDev dev)
OwStatus_t OwLib_FileReadSetup(OwDev *devp, const wchar_t *filePath, OwLibCaptureProc capProc, OwLibNotifyProc endNotifyProc, void *userData)
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)
UINT16 agcClipLimitLow
Definition: OWLIFTLib.h:1021
WORD month
Definition: OWLIFTLib.h:1179
void OwLib_FileReadResume(OwDev dev)
UINT16 telemetryRevision
Definition: OWLIFTLib.h:959
OwDecodeType_t OwLib_GetLinearAutoGainType(OwDecodeType_t dtype)
BOOL OwLib_GetCircumferenceCorrection(OwDev dev)
void(* OwLibNotifyProc)(OwDev dev, void *userData)
Definition: OWLIFTLib.h:1154
UINT16 spotmeterROIStartCol
Definition: OWLIFTLib.h:1093
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
void * OwLib_GetCaptureFilter(OwDev dev)
UINT16 tlinearEnabledState
Definition: OWLIFTLib.h:1079
UINT16 OwLib_GetReleaseNumber(OwDev dev)
UINT32 statusBits_shutterLockout
Definition: OWLIFTLib.h:979
Definition: OWLIFTLib.h:910
void OwLib_SetUndistortion(OwDev dev, BOOL enabled)
UINT16 spotmeterROIEndRow
Definition: OWLIFTLib.h:1095
UINT16 tempGainModeThresholdLtoH_K
Definition: OWLIFTLib.h:1065
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
OwStatus_t OwLib_FileWriteSetup(OwDev dev, const wchar_t *filePath)
void OwLib_GetSerialNumber(OwDev dev, UINT16 *serialp)
void OwLib_SetWindowCorrection(OwDev dev, OwWindowCorrectionType wctype, int reserved)
Definition: OWLIFTLib.h:445
UINT16 emissivity_x8192
Definition: OWLIFTLib.h:1032
UINT16 OwLib_GetNoiseFilterThreshold(OwDev dev)
WORD second
Definition: OWLIFTLib.h:1214
WORD dayOfWeek
Definition: OWLIFTLib.h:1186
UINT16 OwLib_GetVendorID(OwDev dev)
OwStatus_t OwLib_SetReflectCorrFile(OwDev dev, const wchar_t *filePath)
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
Definition: OWLIFTLib.h:472
BOOL OwLib_IsRealDevice(OwDev dev)
UINT32 fpaTempFFC_timeCounter
Definition: OWLIFTLib.h:1011
UINT32 statusBits_reserved2
Definition: OWLIFTLib.h:977
const char * OwLib_GetErrorMessage(OwStatus_t st)
UINT16 housingTemp_Kx100
Definition: OWLIFTLib.h:1005
OwStatus_t OwLib_GetDeviceByCaptureFilter(void *baseFilter, OwDev *devp, OwHostErrorCode_t *hep)
OwSensorErrorCode_t OwLib_GetSensorError(OwDev dev)
Definition: OWLIFTLib.h:429
OwStatus_t OwLib_FileWritePassiveSetup(OwDev dev, const wchar_t *filePath, int frameRateNumerator, int frameRateDenominator)
UINT16 gainMode
Definition: OWLIFTLib.h:1053
UINT16 log2OfFFCFrames
Definition: OWLIFTLib.h:1025
UINT32 frameCounter
Definition: OWLIFTLib.h:995
OwDecodeType_t OwLib_GetManualGainType(OwDecodeType_t dtype)
UINT16 fpaTemp_Kx100
Definition: OWLIFTLib.h:1001
Definition: OWLIFTLib.h:625
WORD hour
Definition: OWLIFTLib.h:1200
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)
UINT16 atmosphericTrans_x8192
Definition: OWLIFTLib.h:1036
Definition: OWLIFTLib.h:462
OwStatus_t OwLib_EnableHighGainMode(OwDev dev)
UINT16 housingTempFFC_Kx100
Definition: OWLIFTLib.h:1013
void OwLib_SetNoiseFilterThreshold(OwDev dev, UINT16 threshold)
UINT16 populationGainModeThresholdHtoL
Definition: OWLIFTLib.h:1069
void OwLib_SetColorizeByRaw(OwDev dev, BOOL enabled)
OwStatus_t OwLib_FileWritePassiveAdd(OwDev dev, BYTE *buf, UINT32 bufLen)
UINT32 statusBits_reserved3
Definition: OWLIFTLib.h:981
void OwLib_GetWindowCorrection(OwDev dev, OwWindowCorrectionType *wctype, int *reserved)
Definition: OWLIFTLib.h:856
UINT32 OwLib_GetColorTableSize(OwDecodeType_t dtype)
UINT16 OwLib_GetFrameHeight(OwDev dev)
UINT32 statusBits_OverTempShutdownImminent
Definition: OWLIFTLib.h:983
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 spotmeterPopulation
Definition: OWLIFTLib.h:1089
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)
UINT16 tempGainModeThresholdLtoH_degC
Definition: OWLIFTLib.h:1061
UINT32 statusBits_AGCState
Definition: OWLIFTLib.h:975
unsigned char OwFirmwareErrorCode_t
Definition: OWLIFTLib.h:371
Definition: OWLIFTLib.h:405
OwDecodeType_t
Definition: OWLIFTLib.h:616
OwStatus_t OwLib_GetFileError(OwDev dev)
WORD year
Definition: OWLIFTLib.h:1172
UINT64 OwLib_GetFileTimeLength(OwDev dev)
UINT16 windowTemp_Kx100
Definition: OWLIFTLib.h:1044
void OwLib_SetTimeBasedAGC(OwDev dev, BOOL enabled)
OwStatus_t OwLib_DumpFrame(OwDev dev, const wchar_t *filePath, WORD *buf, UINT32 bufLen, const LepTelemetryDataLineA *telemp, const OwDateTime *dateTimep, BOOL tempOrRaw)
UINT16 tempGainModeThresholdHtoL_K
Definition: OWLIFTLib.h:1063
Definition: OWLIFTLib.h:865
Definition: OWLIFTLib.h:650
UINT16 populationGainModeThresholdLtoH
Definition: OWLIFTLib.h:1071
OwStatus_t OwLib_FileReadSeek(OwDev dev, UINT64 timeOfs)
void OwLib_GetFileCurrentDateTime(OwDev dev, OwDateTime *dateTimep)
OwSensorErrorCode_t
Definition: OWLIFTLib.h:557
UINT16 fpaTemp_inCounts
Definition: OWLIFTLib.h:999
UINT16 frameMean
Definition: OWLIFTLib.h:997
Definition: OWLIFTLib.h:753
int OwLib_GetFrameRateDenominator(OwDev dev)
Definition: OWLIFTLib.h:956
UINT32 statusBits_reserved0
Definition: OWLIFTLib.h:967
Definition: OWLIFTLib.h:541
UINT32 timeCounter
Definition: OWLIFTLib.h:961
OwStatus_t OwLib_CaptureStop(OwDev dev)
Definition: OWLIFTLib.h:566
Definition: OWLIFTLib.h:605
Definition: OWLIFTLib.h:437
UINT16 spotmeterROIEndCol
Definition: OWLIFTLib.h:1097
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
UINT16 spotmeterROIStartRow
Definition: OWLIFTLib.h:1091
void OwLib_SetDecodeRange(OwDev dev, INT32 minTemp, INT32 maxTemp)
void OwLib_ReleaseArray(OwDev *devs)
UINT16 windowReflectTemp_Kx100
Definition: OWLIFTLib.h:1046
UINT16 fpaTempFFC_Kx100
Definition: OWLIFTLib.h:1009
int OwLib_GetFrameRateNumerator(OwDev dev)
UINT64 OwLib_GetFileCurrentTimeOffset(OwDev dev)
UINT32 statusBits_reserved1
Definition: OWLIFTLib.h:973
UINT16 tlinearResolution
Definition: OWLIFTLib.h:1081
Definition: OWLIFTLib.h:666
LepTelemetryDataLineA * OwLib_GetTelemetryData(OwDev dev, BYTE *buf)
UINT16 gainModeDesiredFlag
Definition: OWLIFTLib.h:1057
void OwLib_GetColorTable(OwDecodeType_t dtype, DWORD *tab)
UINT16 OwLib_GetSupportedFWVersion(void)
WORD day
Definition: OWLIFTLib.h:1193
OwFirmwareErrorCode_t OwLib_GetFirmwareError(OwDev dev)
OwWindowCorrectionType
Definition: OWLIFTLib.h:902
Definition: OWLIFTLib.h:779
Definition: OWLIFTLib.h:814
UINT16 spotmeterMax
Definition: OWLIFTLib.h:1085
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)
UINT32 statusBits_FFCState
Definition: OWLIFTLib.h:971
OwStatus_t OwLib_Gray8ToRGB(BYTE *srcBuf, UINT32 src_wx, UINT32 src_wy, BYTE *dstBuf, UINT32 dstBufLen, UINT32 dstBufStride, UINT32 bpp)