libcamera  v0.2.0+150-2031e2f2
Supporting cameras in Linux since 2019
Public Attributes | Static Public Attributes | List of all members
libcamera::DebayerParams Struct Reference

Struct to hold the debayer parameters. More...

Public Attributes

unsigned int gainR
 Red gain. More...
 
unsigned int gainG
 Green gain. More...
 
unsigned int gainB
 Blue gain. More...
 
float gamma
 Gamma correction, 1.0 is no correction.
 
unsigned int blackLevel
 Level of the black point, 0..255, 0 is no correction.
 

Static Public Attributes

static constexpr unsigned int kGain10 = 256
 const value for 1.0 gain
 

Detailed Description

Struct to hold the debayer parameters.

Member Data Documentation

◆ gainB

libcamera::DebayerParams::gainB

Blue gain.

128 = 0.5, 256 = 1.0, 512 = 2.0, etc.

◆ gainG

libcamera::DebayerParams::gainG

Green gain.

128 = 0.5, 256 = 1.0, 512 = 2.0, etc.

◆ gainR

libcamera::DebayerParams::gainR

Red gain.

128 = 0.5, 256 = 1.0, 512 = 2.0, etc.


The documentation for this struct was generated from the following files: