libcamera: libipa: camera_sensor: Add GalaxyCore gc08a3 sensor properties
Provide the GalaxyCore gc08a3 camera sensor properties and registration with libipa for the gain code helpers. Signed-off-by: Han-Lin Chen <hanlinchen@chromium.org> Co-developed-by: Xing Gu <xinggu@chromium.org> Signed-off-by: Xing Gu <xinggu@chromium.org> Co-developed-by: Yudhistira Erlandinata <yerlandinata@chromium.org> Signed-off-by: Yudhistira Erlandinata <yerlandinata@chromium.org> Co-developed-by: Harvey Yang <chenghaoyang@chromium.org> Signed-off-by: Harvey Yang <chenghaoyang@chromium.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
4076201873
commit
8e0e6886f7
2 changed files with 26 additions and 0 deletions
|
@ -532,6 +532,19 @@ public:
|
||||||
};
|
};
|
||||||
REGISTER_CAMERA_SENSOR_HELPER("gc05a2", CameraSensorHelperGc05a2)
|
REGISTER_CAMERA_SENSOR_HELPER("gc05a2", CameraSensorHelperGc05a2)
|
||||||
|
|
||||||
|
class CameraSensorHelperGc08a3 : public CameraSensorHelper
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CameraSensorHelperGc08a3()
|
||||||
|
{
|
||||||
|
/* From datasheet: 64 at 10bits. */
|
||||||
|
blackLevel_ = 4096;
|
||||||
|
gainType_ = AnalogueGainLinear;
|
||||||
|
gainConstants_.linear = { 100, 0, 0, 1024 };
|
||||||
|
}
|
||||||
|
};
|
||||||
|
REGISTER_CAMERA_SENSOR_HELPER("gc08a3", CameraSensorHelperGc08a3)
|
||||||
|
|
||||||
class CameraSensorHelperImx214 : public CameraSensorHelper
|
class CameraSensorHelperImx214 : public CameraSensorHelper
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -119,6 +119,19 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
|
||||||
.hblankDelay = 2
|
.hblankDelay = 2
|
||||||
},
|
},
|
||||||
} },
|
} },
|
||||||
|
{ "gc08a3", {
|
||||||
|
.unitCellSize = { 1120, 1120 },
|
||||||
|
.testPatternModes = {
|
||||||
|
{ controls::draft::TestPatternModeOff, 0 },
|
||||||
|
{ controls::draft::TestPatternModeColorBars, 2 },
|
||||||
|
},
|
||||||
|
.sensorDelays = {
|
||||||
|
.exposureDelay = 2,
|
||||||
|
.gainDelay = 2,
|
||||||
|
.vblankDelay = 2,
|
||||||
|
.hblankDelay = 2
|
||||||
|
},
|
||||||
|
} },
|
||||||
{ "hi846", {
|
{ "hi846", {
|
||||||
.unitCellSize = { 1120, 1120 },
|
.unitCellSize = { 1120, 1120 },
|
||||||
.testPatternModes = {
|
.testPatternModes = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue