Lines Matching +full:c3 +full:- +full:isp

1 .. SPDX-License-Identifier: (GPL-2.0-only OR MIT)
4 .. _v4l2-meta-fmt-c3isp-stats:
5 .. _v4l2-meta-fmt-c3isp-params:
16 The C3 ISP can collect different statistics over an input Bayer frame.
17 Those statistics are obtained from the "c3-isp-stats" metadata capture video nodes,
21 The statistics collected are Auto-white balance,
22 Auto-exposure and Auto-focus information.
29 The configuration parameters are passed to the c3-isp-params metadata output video node,
31 sub-structs for each configurable area of the ISP, parameters for the C3-ISP
38 blocks each block-specific struct embeds
45 .. code-block:: c
50 params->version = C3_ISP_PARAM_BUFFER_V0;
51 params->data_size = 0;
53 void *data = (void *)params->data;
58 gains->header.type = C3_ISP_PARAMS_BLOCK_AWB_GAINS;
59 gains->header.flags = C3_ISP_PARAMS_BLOCK_FL_ENABLE;
60 gains->header.size = sizeof(struct c3_isp_params_awb_gains);
62 gains->gr_gain = 256;
63 gains->r_gain = 256;
64 gains->b_gain = 256;
65 gains->gb_gain = 256;
68 params->data_size += sizeof(struct c3_isp_params_awb_gains);
73 awb_cfg->header.type = C3_ISP_PARAMS_BLOCK_AWB_CONFIG;
74 awb_cfg->header.flags = C3_ISP_PARAMS_BLOCK_FL_ENABLE;
75 awb_cfg->header.size = sizeof(struct c3_isp_params_awb_config);
77 awb_cfg->tap_point = C3_ISP_AWB_STATS_TAP_BEFORE_WB;
78 awb_cfg->satur = 1;
79 awb_cfg->horiz_zones_num = 32;
80 awb_cfg->vert_zones_num = 24;
82 params->data_size += sizeof(struct c3_isp_params_awb_config);
84 Amlogic C3 ISP uAPI data types
87 .. kernel-doc:: include/uapi/linux/media/amlogic/c3-isp-config.h