7 #define AVI_DEFINE_NODE(EXPANDER) \
8 EXPANDER(chain_bayer_inter) \
9 EXPANDER(vlformat_32to40) \
11 EXPANDER(green_imbalance) \
12 EXPANDER(green_imbalance_green_red_coeff_mem) \
13 EXPANDER(green_imbalance_green_blue_coeff_mem) \
14 EXPANDER(dead_pixel_correction) \
15 EXPANDER(dead_pixel_correction_list_mem) \
17 EXPANDER(statistics_bayer) \
18 EXPANDER(lens_shading_correction) \
19 EXPANDER(lens_shading_correction_red_coeff_mem) \
20 EXPANDER(lens_shading_correction_green_coeff_mem) \
21 EXPANDER(lens_shading_correction_blue_coeff_mem) \
22 EXPANDER(chromatic_aberration) \
24 EXPANDER(color_correction) \
25 EXPANDER(vlformat_40to32) \
26 EXPANDER(gamma_corrector) \
27 EXPANDER(gamma_corrector_ry_lut) \
28 EXPANDER(gamma_corrector_gu_lut) \
29 EXPANDER(gamma_corrector_bv_lut) \
31 EXPANDER(statistics_yuv) \
32 EXPANDER(statistics_yuv_ae_histogram_y) \
33 EXPANDER(chain_yuv_inter) \
34 EXPANDER(edge_enhancement_color_reduction_filter) \
35 EXPANDER(edge_enhancement_color_reduction_filter_ee_lut) \
37 EXPANDER(i3d_lut_lut_outside) \
38 EXPANDER(i3d_lut_lut_inside) \
41 #define EXPAND_AS_ENUM(_node) \
106 #define EXPAND_AS_PROTOTYPE(_node) \
107 void avi_isp_ ## _node ## _set_registers(struct libisp_context *, \
108 struct avi_isp_ ## _node ## _regs const *regs); \
109 void avi_isp_ ## _node ## _get_registers(struct libisp_context *, \
110 struct avi_isp_ ## _node ## _regs *regs);
struct avi_isp_gamma_corrector_gu_lut_regs gc_gu_lut
Gamma corrector GU lut.
struct avi_isp_edge_enhancement_color_reduction_filter_ee_lut_regs eecrf_lut
Edge enhancement + Color correction lut.
struct avi_isp_lens_shading_correction_regs lens_shading_correction
Lens shade correction.
int configure_isp(struct v4l2_device *dev)
struct avi_isp_gamma_corrector_ry_lut_regs gc_ry_lut
Gamma corrector RY lut.
struct avi_isp_green_imbalance_green_red_coeff_mem_regs grim_gr
Green imbalance GR coefficients.
uint32_t awb_nb_grey_pixels
uint32_t ae_histogram_Y[256]
struct avi_isp_color_correction_regs color_correction
Color correction parameters.
int isp_get_statistics_yuv(struct isp_yuv_stats_t *yuv_stats)
struct avi_isp_lens_shading_correction_red_coeff_mem_regs lsc_red_coeffs
Lens shade correction red coefficients.
struct avi_isp_vlformat_40to32_regs vlformat_40to32
Conversion factor (10bit to 10bit default)
#define AVI_DEFINE_NODE(EXPANDER)
struct avi_isp_gamma_corrector_bv_lut_regs gc_bv_lut
Gamma corrector BV lut.
struct avi_isp_edge_enhancement_color_reduction_filter_regs eecrf
Edge enhancement + Color reduction.
struct avi_isp_statistics_yuv_regs statistics_yuv
YUV statistics parameters.
struct avi_isp_chain_yuv_inter_regs chain_yuv_inter
YUV chain bypass configuration (enable/disable features)
struct avi_isp_statistics_bayer_regs statistics_bayer
Statistics bayer parameters.
struct avi_isp_lens_shading_correction_blue_coeff_mem_regs lsc_blue_coeffs
Lens shade correction blue coefficients.
struct avi_isp_gamma_corrector_regs gamma_corrector
Gamma corrector (Curves)
int isp_request_statistics_yuv_window(uint16_t x_start, uint16_t x_end, uint16_t y_start, uint16_t y_end, uint16_t x_odd_inc, uint16_t y_odd_inc)
struct avi_isp_chroma_regs chroma
Color space conversion.
struct avi_isp_bayer_regs bayer
< Chromatic abberation (Disabled for now)
struct avi_isp_green_imbalance_regs green_imbalance
Green imbalance correction.
struct avi_isp_chain_bayer_inter_regs bayer_inter
Enable or disable bayer ISP functions by bypassing them.
struct avi_isp_dead_pixel_correction_regs dead_pixel_correction
Dead pixel correction (disabled)
struct avi_isp_lens_shading_correction_green_coeff_mem_regs lsc_green_coeffs
Lens shade correction green coefficients.
struct avi_isp_denoising_regs denoising
Denoising parameters.
struct avi_isp_green_imbalance_green_blue_coeff_mem_regs grim_gb
Green imbalance GB coefficients.
#define EXPAND_AS_ENUM(_node)
struct avi_isp_pedestal_regs pedestal
Pedestral parameters (substract from pixels)
#define EXPAND_AS_PROTOTYPE(_node)
struct avi_isp_vlformat_32to40_regs vlformat_32to40
Conversion factor (10bit to 10bit default)
static const struct usb_device_descriptor dev
Capture images from a V4L2 device (Video for Linux 2)
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.