Skip to content

Commit

Permalink
Add support for C1×, C3 and C4 cameras (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
sWski committed Jul 27, 2021
1 parent db1c353 commit d702a44
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libmicam/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required (VERSION 3.0)
project (libmicam)

set (MICAM_VERSION "0.5.6")
set (MICAM_VERSION_MAC "0.4.6")
set (MICAM_VERSION "0.6.9")
set (MICAM_VERSION_MAC "0.5.0")
set (MICAM_SOVERSION "0")

list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
Expand Down
8 changes: 5 additions & 3 deletions libmicam/gxccd.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* The Moravian Instruments (MI) camera library.
*
* Copyright 2019, Moravian Instruments <http://www.gxccd.com, linux@gxccd.com>
* Copyright 2021, Moravian Instruments <http://www.gxccd.com, linux@gxccd.com>
* All rights reserved.
*/

Expand Down Expand Up @@ -197,7 +197,7 @@ enum {
GBP_POWER_UTILIZATION, /* true if camera can return power utilization in
gxccd_get_value() */
GBP_GAIN, /* true if camera can return gain in gxccd_get_value() */
GBP_ELECTRONIC_SHUTTER, /**/
GBP_ELECTRONIC_SHUTTER, /* true if camera has electronic shutter */
GBP_CONFIGURED = 127, /* true if camera is configured */
GBP_RGB, /* true if camera has Bayer RGBG filters on the chip */
GBP_CMY, /* true if camera has CMY filters on the chip */
Expand All @@ -206,8 +206,10 @@ enum {
odd pixel */
GBP_DEBAYER_Y_ODD, /* true if camera Bayer masks starts on vertical
odd pixel */
GBP_INTERLACED = 256 /* true if chip is interlaced
GBP_INTERLACED = 256, /* true if chip is interlaced
(else progressive) */
GBP_HEX_VERSION_NUMBER = 1024 /* true if GIP_FIRMWARE_MAJOR should be represented
as hexadecimal number */
};

/* Returns true or false in "value" depending on the "index". */
Expand Down
Binary file modified libmicam/libgxccd32.bin
Binary file not shown.
Binary file modified libmicam/libgxccd64.bin
Binary file not shown.
Binary file modified libmicam/libgxccdarmv7.bin
Binary file not shown.
Binary file modified libmicam/libgxccdarmv8.bin
Binary file not shown.
Binary file modified libmicam/libgxccdmac.bin
Binary file not shown.

0 comments on commit d702a44

Please sign in to comment.