Home
last modified time | relevance | path

Searched full:awb (Results 1 – 25 of 59) sorted by relevance

123

/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a_types.h38 u32 awb_enable; /** awb enabled in binary,
94 /* This struct should be split into 3, for AE, AWB and AF.
102 * awb_lg_*: Thresholds to check the saturated bayer pixels for AWB.
103 * Condition of effective pixel for AWB level gate check:
105 * bayer(when AWB statisitcs is calculated) >= awb_lg_low &&
106 * bayer(when AWB statisitcs is calculated) <= awb_lg_high
109 * ISP block: S3A1(ae_y_* for AE/AF, awb_lg_* for AWB)
110 * S3A2(ae_y_* for AF, awb_lg_* for AWB)
126 ia_css_u0_16 awb_lg_high_raw; /** AWB level gate high for raw.
130 ia_css_u0_16 awb_lg_low; /** AWB level gate low.
[all …]
Dia_css_s3a_param.h20 /* AWB (3A Support) */
38 /* AWB level gate */
39 struct sh_css_isp_awb_params awb; member
Dia_css_s3a.host.c60 /* AWB level gate */ in ia_css_awb_encode()
98 ia_css_awb_encode(&to->awb, from, sizeof(to->awb)); in ia_css_s3a_encode()
146 const struct sh_css_isp_awb_params *awb, in ia_css_awb_dump() argument
150 "awb_lg_high_raw", awb->lg_high_raw); in ia_css_awb_dump()
152 "awb_lg_low", awb->lg_low); in ia_css_awb_dump()
154 "awb_lg_high", awb->lg_high); in ia_css_awb_dump()
199 ia_css_awb_dump(&s3a->awb, level); in ia_css_s3a_dump()
Dia_css_s3a.host.h34 const struct sh_css_isp_awb_params *awb,
/linux-6.14.4/drivers/media/i2c/
Dov772x.c42 #define BLUE 0x01 /* AWB - Blue channel gain setting */
43 #define RED 0x02 /* AWB - Red channel gain setting */
44 #define GREEN 0x03 /* AWB - Green channel gain setting */
136 #define AWBB_BLK 0x62 /* AWB option for advanced AWB */
137 #define AWB_CTRL0 0x63 /* AWB control byte 0 */
142 #define AWB_BIAS 0x68 /* AWB BLC level clip */
143 #define AWB_CTRL1 0x69 /* AWB control 1 */
144 #define AWB_CTRL2 0x6A /* AWB control 2 */
145 #define AWB_CTRL3 0x6B /* AWB control 3 */
146 #define AWB_CTRL4 0x6C /* AWB control 4 */
[all …]
Dgc0308.c283 /* AWB (P1) - Auto White Balance */
662 {CCI_REG8(0x114), 0x44}, /* AWB set1 */
663 {CCI_REG8(0x115), 0x44}, /* AWB set1 */
664 {CCI_REG8(0x116), 0xc2}, /* AWB set1 */
665 {CCI_REG8(0x117), 0xa8}, /* AWB set1 */
666 {CCI_REG8(0x118), 0x18}, /* AWB set1 */
667 {CCI_REG8(0x119), 0x50}, /* AWB set1 */
668 {CCI_REG8(0x11a), 0xd8}, /* AWB set1 */
669 {CCI_REG8(0x11b), 0xf5}, /* AWB set1 */
670 {CCI_REG8(0x170), 0x40}, /* AWB set2 */
[all …]
/linux-6.14.4/drivers/media/platform/rockchip/rkisp1/
Drkisp1-stats.c184 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas_v10()
188 pbuf->params.awb.awb_mean[0].mean_cr_or_r = in rkisp1_stats_get_awb_meas_v10()
190 pbuf->params.awb.awb_mean[0].mean_cb_or_b = in rkisp1_stats_get_awb_meas_v10()
192 pbuf->params.awb.awb_mean[0].mean_y_or_g = in rkisp1_stats_get_awb_meas_v10()
205 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas_v12()
209 pbuf->params.awb.awb_mean[0].mean_cr_or_r = in rkisp1_stats_get_awb_meas_v12()
211 pbuf->params.awb.awb_mean[0].mean_cb_or_b = in rkisp1_stats_get_awb_meas_v12()
213 pbuf->params.awb.awb_mean[0].mean_y_or_g = in rkisp1_stats_get_awb_meas_v12()
/linux-6.14.4/drivers/staging/media/ipu3/
Dipu3-css-params.c1419 * The following handshake protocol is the same for AF, AWB and AWB FR.
2616 acc->awb.config = acc_user->awb.config; in imgu_css_cfg_acc()
2619 acc->awb.config = acc_old->awb.config; in imgu_css_cfg_acc()
2622 acc->awb.config = imgu_css_awb_defaults; in imgu_css_cfg_acc()
2625 if (acc->awb.config.grid.width <= 0) in imgu_css_cfg_acc()
2628 acc->awb.config.grid.height_per_slice = in imgu_css_cfg_acc()
2629 IMGU_ABI_AWB_MAX_CELLS_PER_SET / acc->awb.config.grid.width; in imgu_css_cfg_acc()
2630 imgu_css_grid_end_calc(&acc->awb.config.grid); in imgu_css_cfg_acc()
2633 acc->awb.stripes[i] = acc->awb.config; in imgu_css_cfg_acc()
2635 if (acc->awb.config.grid.x_start >= in imgu_css_cfg_acc()
[all …]
/linux-6.14.4/include/uapi/linux/
Drkisp1-config.h469 * struct rkisp1_cif_isp_awb_meas_config - Configuration for the AWB statistics
471 * @awb_mode: the awb meas mode. From enum rkisp1_cif_isp_awb_mode_type.
473 * @max_y: only pixels values < max_y contribute to awb measurement, set to 0
475 * @min_y: only pixels values > min_y contribute to awb measurement
477 * smaller than threshold for awb measurements
479 * each greater than threshold value for awb measurements
482 * @awb_ref_cr: reference Cr value for AWB regulation, target for AWB
483 * @awb_ref_cb: reference Cb value for AWB regulation, target for AWB
668 * @RKISP1_CIF_ISP_DPF_GAIN_USAGE_AWB_GAINS: use only the gains from AWB module
669 * @RKISP1_CIF_ISP_DPF_GAIN_USAGE_AWB_LSC_GAINS: use the gains from AWB and LSC module
[all …]
/linux-6.14.4/include/linux/
Datmel-isc-media.h25 * AWB == 1: autowhitebalance is on, the do_white_balance button is inactive,
29 * AWB == 0: autowhitebalance is off, cluster is in manual mode, user can
/linux-6.14.4/drivers/staging/media/atomisp/i2c/
Dov2722.h314 {OV2722_8BIT, 0x5183, 0xb0}, /* AWB red */
315 {OV2722_8BIT, 0x5184, 0xb0}, /* AWB green */
316 {OV2722_8BIT, 0x5185, 0xb0}, /* AWB blue */
317 {OV2722_8BIT, 0x5180, 0x03}, /* AWB manual mode */
424 {OV2722_8BIT, 0x5183, 0xb0}, /* AWB red */
425 {OV2722_8BIT, 0x5184, 0xb0}, /* AWB green */
426 {OV2722_8BIT, 0x5185, 0xb0}, /* AWB blue */
427 {OV2722_8BIT, 0x5180, 0x03}, /* AWB manual mode */
533 {OV2722_8BIT, 0x5183, 0xb0}, /* AWB red */
534 {OV2722_8BIT, 0x5184, 0xb0}, /* AWB green */
[all …]
/linux-6.14.4/Documentation/userspace-api/media/v4l/
Dmetafmt-intel-ipu3.rst21 The statistics collected are AWB (Auto-white balance) RGBS (Red, Green, Blue and
22 Saturation measure) cells, AWB filter response, AF (Auto-focus) filter response,
/linux-6.14.4/drivers/staging/media/deprecated/atmel/
Datmel-isc.h145 u8 awb; member
221 * @awb_mutex: serialize access to streaming status from awb work queue
222 * @awb_lock: lock for serializing awb work queue operations
Datmel-isc-base.c327 if (isc->ctrls.awb && in isc_configure()
1433 * if awb has been disabled, we need to reset registers as well. in isc_awb_work()
1435 if (hist_id == ISC_HIS_CFG_MODE_GR || ctrls->awb == ISC_WB_NONE) { in isc_awb_work()
1450 if (ctrls->awb == ISC_WB_ONETIME) { in isc_awb_work()
1455 ctrls->awb = ISC_WB_NONE; in isc_awb_work()
1478 /* if awb has been disabled, we don't need to start another histogram */ in isc_awb_work()
1479 if (ctrls->awb) in isc_awb_work()
1527 ctrls->awb = ISC_WB_AUTO; in isc_s_awb_ctrl()
1529 ctrls->awb = ISC_WB_NONE; in isc_s_awb_ctrl()
1570 if (ctrls->awb == ISC_WB_AUTO && in isc_s_awb_ctrl()
[all …]
/linux-6.14.4/drivers/media/platform/microchip/
Dmicrochip-isc.h146 u8 awb; member
232 * @awb_mutex: serialize access to streaming status from awb work queue
233 * @awb_lock: lock for serializing awb work queue operations
Dmicrochip-isc-base.c317 if (isc->ctrls.awb && in isc_configure()
963 /* Reset and restart AWB if the subdevice changed the format */ in isc_link_validate()
1381 * if awb has been disabled, we need to reset registers as well. in isc_awb_work()
1383 if (hist_id == ISC_HIS_CFG_MODE_GR || ctrls->awb == ISC_WB_NONE) { in isc_awb_work()
1398 if (ctrls->awb == ISC_WB_ONETIME) { in isc_awb_work()
1403 ctrls->awb = ISC_WB_NONE; in isc_awb_work()
1426 /* if awb has been disabled, we don't need to start another histogram */ in isc_awb_work()
1427 if (ctrls->awb) in isc_awb_work()
1475 ctrls->awb = ISC_WB_AUTO; in isc_s_awb_ctrl()
1477 ctrls->awb = ISC_WB_NONE; in isc_s_awb_ctrl()
[all …]
/linux-6.14.4/drivers/media/usb/gspca/
Dov534_9.c411 {0x13, 0xe7}, /* com8 - everything (AGC, AWB and AEC) */
460 {0x59, 0x85}, /* AWB control */
466 {0x5f, 0xf0}, /* AWB blue limit */
467 {0x60, 0xf0}, /* AWB red limit */
468 {0x61, 0xf0}, /* AWB green limit */
516 {0xa6, 0x4a}, /* AWB green */
614 {0x13, 0xe7}, /* com8 - everything (AGC, AWB and AEC) */
648 {0x13, 0xe7}, /* com8 - everything (AGC, AWB and AEC) */
931 {0x13, 0xe7}, /* com8 - everything (AGC, AWB and AEC) */
949 {0x13, 0xe7}, /* com8 - everything (AGC, AWB and AEC) */
[all …]
Dt613.c31 struct { /* awb / color gains control cluster */
32 struct v4l2_ctrl *awb; member
514 if (!sd->awb->val) in setawb_n_RGB()
515 all_gain_reg[7] &= ~0x04; /* AWB off */ in setawb_n_RGB()
967 sd->awb = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, in sd_init_controls()
995 v4l2_ctrl_auto_cluster(4, &sd->awb, 0, true); in sd_init_controls()
/linux-6.14.4/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-param.c87 __hw_param_copy(&par->isp.awb, &cfg->isp.awb); in __fimc_is_hw_update_param()
318 isp->awb.cmd = cmd; in __is_set_isp_awb()
319 isp->awb.illumination = val; in __is_set_isp_awb()
320 isp->awb.err = ISP_AWB_ERROR_NONE; in __is_set_isp_awb()
Dfimc-is-param.h305 /* -------------------------- AWB ------------------------------------ */
320 #define ISP_AWB_ERROR_NONE 0 /* AWB setting is done */
689 struct param_isp_awb awb; member
/linux-6.14.4/include/uapi/linux/media/raspberrypi/
Dpisp_fe_statistics.h59 struct pisp_awb_statistics awb; member
/linux-6.14.4/drivers/staging/media/ipu3/include/uapi/
Dintel-ipu3.h37 * For AWB, the range is (16, 80).
40 * For AWB, the range is (16, 60).
43 * For AWB, the range is [3, 6].
46 * For AWB, the range is [3, 6].
71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB
108 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer
119 * struct ipu3_uapi_awb_config_s - AWB config
139 * struct ipu3_uapi_awb_config - AWB config wrapper
452 * struct ipu3_uapi_awb_fr_raw_buffer - AWB filter response meta data
462 * struct ipu3_uapi_awb_fr_config_s - AWB filter response config
[all …]
/linux-6.14.4/Documentation/driver-api/media/drivers/
Drkisp1.rst35 - The AWB and AEC modules got replaced to support finer
/linux-6.14.4/Documentation/devicetree/bindings/media/i2c/
Dgalaxycore,gc2145.yaml16 processor allowing AE/AWB/interpolation/de-noise/color-conversion and
/linux-6.14.4/drivers/staging/media/atomisp/include/linux/
Datomisp.h150 AWB level gate high for raw */
151 unsigned int awb_lg_low; /* [intensity] AWB level gate low */
152 unsigned int awb_lg_high; /* [intensity] AWB level gate high */

123