Skip to content

Commit

Permalink
update PlayerOneCamera SDK to v3.3.0 (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro3110i authored May 10, 2023
1 parent dda9571 commit 3bd4014
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 11 deletions.
6 changes: 6 additions & 0 deletions debian/indi-playerone/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
indi-playerone (1.7) bionic; urgency=low

* Update PlayerOneCamera SDK v3.3.0

-- Hiroshi SAITO <[email protected]> Tue, 9 Feb 2023 12:00:00 +0900

indi-playerone (1.6) bionic; urgency=low

* Update libplayerone with PlayerOnePW SDK v1.2.0
Expand Down
6 changes: 6 additions & 0 deletions debian/libplayerone/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
libplayerone (1.4) bionic; urgency=low

* Update PlayerOneCamera SDK to v3.3.0

-- Hiroshi SAITO <[email protected]> Tue, 9 May 2023 08:00:00 +0900

libplayerone (1.3) bionic; urgency=low

* Update PlayerOnePW SDK to v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion indi-playerone/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(USB1 REQUIRED)
find_package(Threads REQUIRED)

set(PLAYERONE_VERSION_MAJOR 1)
set(PLAYERONE_VERSION_MINOR 6)
set(PLAYERONE_VERSION_MINOR 7)

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/indi_playerone.xml.cmake ${CMAKE_CURRENT_BINARY_DIR}/indi_playerone.xml)
Expand Down
3 changes: 3 additions & 0 deletions indi-playerone/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.7
* Update: PlayerOneCamera SDK to v3.3.0

v1.6
* Update: PlayerOnePW SDK to v1.2.0

Expand Down
2 changes: 2 additions & 0 deletions indi-playerone/indi-playerone.spec
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ make DESTDIR=%{buildroot} install
%{_datadir}/indi

%changelog
* Tue May 09 2023 Hiroshi Saito <[email protected]>
- Update PlayerOneCamera SDK to v3.3.0
* Sat May 06 2023 Hiroshi Saito <[email protected]>
- Update PlayerOnePW SDK to v1.2.0
* Thu Apr 27 2023 Hiroshi Saito <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions libplayerone/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required (VERSION 3.0)
project (libplayerone)

# Using PlayerOne Camera SDK Version 3.2.2 updated on 2023-3-15
# Using PlayerOne Camera SDK Version 3.3.0 updated on 2023-5-06
# Using PlayerOne EFW SDK Version 1.2.0 updated on 2023-3-30

set (POACAM_VERSION "3.2.2")
set (POACAM_VERSION "3.3.0")
set (POACAM_SOVERSION "3")

set (POAEFW_VERSION "1.2.0")
Expand Down
18 changes: 10 additions & 8 deletions libplayerone/PlayerOneCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,17 +136,19 @@ typedef struct _POACameraProperties ///< Camera Properties Definition
int bitDepth; ///< ADC depth of CMOS sensor
POABool isColorCamera; ///< is a color camera or not
POABool isHasST4Port; ///< does the camera have ST4 port, if not, camera don't support ST4 guide
POABool isHasCooler; ///< does the camera have cooler, generally, the cool camera with cooler
POABool isUSB3Speed; ///< is usb3.0 speed
POABool isHasCooler; ///< does the camera have cooler assembly, generally, the cooled camera with cooler, window heater and fan
POABool isUSB3Speed; ///< is usb3.0 speed connection
POABayerPattern bayerPattern; ///< the bayer filter pattern of camera
double pixelSize; ///< camera pixel size(unit: um)
char SN[64]; ///< the serial number of camera,it's unique
char sensorModelName[32]; ///< the sersor model(name) of camera, eg: IMX462
char localPath[256]; ///< the path of the camera in the computer host
int bins[8]; ///< bins supported by the camera, 1 == bin1, 2 == bin2,..., end with 0, eg:[1,2,3,4,0,0,0,0]
POAImgFormat imgFormats[8]; ///< image data format supported by the camera, end with POA_END, eg:[POA_RAW8, POA_RAW16, POA_END,...]
POABool isSupportHardBin; ///< does the camera sensor support hardware bin (since V3.3.0)
int pID; ///< camera's Product ID, note: the vID of PlayerOne is 0xA0A0 (since V3.3.0)

char reserved[256]; ///< reserved
char reserved[248]; ///< reserved, the size of reserved has changed from 256 to 248 since V3.3.0
} POACameraProperties;

typedef union _POAConfigValue ///< Config Value Definition
Expand Down Expand Up @@ -525,15 +527,15 @@ POACAMERA_API POAErrors POASetImageFormat(int nCameraID, POAImgFormat imgFormat
*
* @param nCameraID (input), get from in the POACameraProperties structure, use POAGetCameraProperties function
*
* @param bSignalFrame (input), POA_TRUE: SnapMode, after the exposure, will not continue, POA_FALSE: continuous exposure
* @param bSingleFrame (input), POA_TRUE: SnapMode, after the exposure, will not continue(Single Shot), POA_FALSE: VideoMode, continuous exposure
*
* @return POA_OK: operation successful
* POA_ERROR_INVALID_ID: no camera with this ID was found or the ID is out of boundary
* POA_ERROR_NOT_OPENED: camera not opened
* POA_ERROR_OPERATION_FAILED: operation failed
* POA_ERROR_EXPOSING: camera is exposing
*/
POACAMERA_API POAErrors POAStartExposure(int nCameraID, POABool bSignalFrame);
POACAMERA_API POAErrors POAStartExposure(int nCameraID, POABool bSingleFrame);


/**
Expand Down Expand Up @@ -708,7 +710,7 @@ POACAMERA_API POAErrors POASetUserCustomID(int nCameraID, const char* pCustomID


/**
* @brief POAGetGainOffset: get some preset values
* @brief POAGetGainOffset: get some preset values, Note: deprecated, please use the following function
*
* @param nCameraID (input), get from in the POACameraProperties structure, use POAGetCameraProperties function
*
Expand All @@ -732,7 +734,7 @@ POACAMERA_API POAErrors POAGetGainOffset(int nCameraID, int *pOffsetHighestDR,
* @param nCameraID (input), get from in the POACameraProperties structure, use POAGetCameraProperties function
* @param pGainHighestDR (output), gain at highest dynamic range, in most cases, this gain is 0
* @param pHCGain (output), gain at HCG Mode(High Conversion Gain)
* @param pUnityGain (output), unity gain(or standard gain), with this gain, e/ADC will be 1
* @param pUnityGain (output), unity gain(or standard gain), with this gain, eGain(e/ADU) will be 1
* @param pGainLowestRN (output), aka Maximum Analog Gain, gain at lowest read noise
* @param pOffsetHighestDR (output), offset at highest dynamic range
* @param pOffsetHCGain (output), offset at HCG Mode
Expand All @@ -741,7 +743,7 @@ POACAMERA_API POAErrors POAGetGainOffset(int nCameraID, int *pOffsetHighestDR,
* @return POA_OK: operation successful
* POA_ERROR_INVALID_ID: no camera with this ID was found or the ID is out of boundary
*/
POACAMERA_API POAErrors POAGetGainsAndOffsets(int nCameraID, int*pGainHighestDR, int *pHCGain, int *pUnityGain, int *pGainLowestRN,
POACAMERA_API POAErrors POAGetGainsAndOffsets(int nCameraID, int *pGainHighestDR, int *pHCGain, int *pUnityGain, int *pGainLowestRN,
int *pOffsetHighestDR, int *pOffsetHCGain, int *pOffsetUnityGain, int *pOffsetLowestRN);


Expand Down
Binary file modified libplayerone/armv6/libPlayerOneCamera.bin
Binary file not shown.
Binary file modified libplayerone/armv7/libPlayerOneCamera.bin
Binary file not shown.
Binary file modified libplayerone/armv8/libPlayerOneCamera.bin
Binary file not shown.
2 changes: 2 additions & 0 deletions libplayerone/libplayerone.spec
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ make DESTDIR=%{buildroot} install
%license libplayerone/license.txt

%changelog
* Tue May 9 2023 Hiroshi Saito <[email protected]>
- update PlayerOneCamera SDK to v3.3.0
* Sat May 6 2023 Hiroshi Saito <[email protected]>
- update PlayerOnePW SDK to v1.2.0
* Wed Mar 15 2023 Hiroshi Saito <[email protected]>
Expand Down
Binary file modified libplayerone/mac/libPlayerOneCamera.bin
Binary file not shown.
Binary file modified libplayerone/x64/libPlayerOneCamera.bin
Binary file not shown.

0 comments on commit 3bd4014

Please sign in to comment.