libcamera v0.7.0
Supporting cameras in Linux since 2019
Loading...
Searching...
No Matches
libcamera::Debayer::DebayerInputConfig Struct Reference

Structure describing the incoming Bayer parameters. More...

Collaboration diagram for libcamera::Debayer::DebayerInputConfig:

Public Attributes

Size patternSize
unsigned int bpp
unsigned int stride
std::vector< PixelFormatoutputFormats

Detailed Description

Structure describing the incoming Bayer parameters.

The DebayerInputConfig structure defines the characteristics of the raw Bayer frame being processed, including:

  • The Bayer pattern dimensions (patternSize)
  • Memory layout parameters such as stride and bytes per pixel (bpp)
  • A list of supported output pixel formats.

Member Data Documentation

◆ bpp

unsigned int libcamera::Debayer::DebayerInputConfig::bpp

Number of bytes used per pixel in memory. This reflects storage size, not precision.

◆ outputFormats

std::vector<PixelFormat> libcamera::Debayer::DebayerInputConfig::outputFormats

List of pixel formats supported as output for this input configuration.

◆ patternSize

Size libcamera::Debayer::DebayerInputConfig::patternSize

Size of the Bayer pattern in pixels. For standard Bayer formats such as BGGR, GRBG, GBRG, and RGGB, this is typically 2×2 pixels.

◆ stride

unsigned int libcamera::Debayer::DebayerInputConfig::stride

Line stride in bytes for the Bayer input frame.


The documentation for this struct was generated from the following files:
  • src/libcamera/software_isp/debayer.h
  • src/libcamera/software_isp/debayer.cpp