The open imaging DSP library
Loading...
Searching...
No Matches
Data Structures | Enumerations
mpix/types.h

All of libmpix type definitions. More...

Data Structures

struct  mpix_format
 Image format description. More...
 
struct  mpix_ring
 Ring buffer of pixels. More...
 
struct  mpix_base_op
 One step of a line operation pipeline. More...
 
struct  mpix_image
 Represent the image currently being processed. More...
 
struct  mpix_str
 
struct  mpix_palette
 
struct  mpix_stats
 
struct  mpix_auto_ctrls
 

Enumerations

enum  mpix_op_type { MPIX_OP_END , MPIX_NB_OP }
 MPIX operation type identifying an operation family. More...
 
enum  mpix_jpeg_quality { MPIX_JPEG_QUALITY_DEFAULT , MPIX_NB_JPEG_QUALITY }
 
enum  mpix_kernel_type {
  MPIX_KERNEL_EDGE_DETECT , MPIX_KERNEL_GAUSSIAN_BLUR , MPIX_KERNEL_IDENTITY , MPIX_KERNEL_SHARPEN ,
  MPIX_NB_KERNEL
}
 
enum  mpix_control_id {
  MPIX_CID_BLACK_LEVEL , MPIX_CID_GAMMA_LEVEL , MPIX_CID_RED_BALANCE , MPIX_CID_BLUE_BALANCE ,
  MPIX_CID_JPEG_QUALITY , MPIX_CID_COLOR_MATRIX , MPIX_NB_CID
}
 

Detailed Description

All of libmpix type definitions.

SPDX-License-Identifier: Apache-2.0

Enumeration Type Documentation

◆ mpix_control_id

Control identifiers to select which parameter of the ISP to tune

Enumerator
MPIX_CID_BLACK_LEVEL 

Value in [0..255] range to subtract to every pixel to compensate the sensor offset

MPIX_CID_GAMMA_LEVEL 

Gamma value (in Q.10) to use to gamma-encode the image

MPIX_CID_RED_BALANCE 

Correction level (in Q.10) to apply to the red pixels as opposed to green pixels

MPIX_CID_BLUE_BALANCE 

Correction level (in Q.10) to apply to the blue pixels as opposed to green pixels

MPIX_CID_JPEG_QUALITY 

JPEG quality level (enum) to use while encoding/decoding images

MPIX_CID_COLOR_MATRIX 

Color correction matrix coefficients (in Q.10, array of 9 values)

MPIX_NB_CID 

Total number of control IDs

◆ mpix_jpeg_quality

JPEG image quality

Enumerator
MPIX_JPEG_QUALITY_DEFAULT 

Default JPEG quality level of the library

MPIX_NB_JPEG_QUALITY 

Number of possible JPEG qualities

◆ mpix_kernel_type

Type of convolution kernel

Enumerator
MPIX_KERNEL_EDGE_DETECT 

Turn the high contrast region in white, and low-contrast in black

MPIX_KERNEL_GAUSSIAN_BLUR 

Apply a blur to the image, the intensity depends on the kernel size

MPIX_KERNEL_IDENTITY 

No modification to the image at all, useful for testing purpose

MPIX_KERNEL_SHARPEN 

Accentuate the contrasted region of the image

◆ mpix_op_type

MPIX operation type identifying an operation family.

Each type can further be using its own methods for identifying the particular operation.