Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a_types.h47 u32 awb_enable; /** awb enabled in binary,
103 /* This struct should be split into 3, for AE, AWB and AF.
111 * awb_lg_*: Thresholds to check the saturated bayer pixels for AWB.
112 * Condition of effective pixel for AWB level gate check:
114 * bayer(when AWB statisitcs is calculated) >= awb_lg_low &&
115 * bayer(when AWB statisitcs is calculated) <= awb_lg_high
118 * ISP block: S3A1(ae_y_* for AE/AF, awb_lg_* for AWB)
119 * S3A2(ae_y_* for AF, awb_lg_* for AWB)
135 ia_css_u0_16 awb_lg_high_raw; /** AWB level gate high for raw.
139 ia_css_u0_16 awb_lg_low; /** AWB level gate low.
[all …]
Dia_css_s3a_param.h29 /* AWB (3A Support) */
47 /* AWB level gate */
48 struct sh_css_isp_awb_params awb; member
Dia_css_s3a.host.c69 /* AWB level gate */ in ia_css_awb_encode()
107 ia_css_awb_encode(&to->awb, from, sizeof(to->awb)); in ia_css_s3a_encode()
155 const struct sh_css_isp_awb_params *awb, in ia_css_awb_dump() argument
159 "awb_lg_high_raw", awb->lg_high_raw); in ia_css_awb_dump()
161 "awb_lg_low", awb->lg_low); in ia_css_awb_dump()
163 "awb_lg_high", awb->lg_high); in ia_css_awb_dump()
208 ia_css_awb_dump(&s3a->awb, level); in ia_css_s3a_dump()
Dia_css_s3a.host.h43 const struct sh_css_isp_awb_params *awb,
/linux-6.12.1/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.c284 /* AWB (P1) - Auto White Balance */
663 {CCI_REG8(0x114), 0x44}, /* AWB set1 */
664 {CCI_REG8(0x115), 0x44}, /* AWB set1 */
665 {CCI_REG8(0x116), 0xc2}, /* AWB set1 */
666 {CCI_REG8(0x117), 0xa8}, /* AWB set1 */
667 {CCI_REG8(0x118), 0x18}, /* AWB set1 */
668 {CCI_REG8(0x119), 0x50}, /* AWB set1 */
669 {CCI_REG8(0x11a), 0xd8}, /* AWB set1 */
670 {CCI_REG8(0x11b), 0xf5}, /* AWB set1 */
671 {CCI_REG8(0x170), 0x40}, /* AWB set2 */
[all …]
Dov9650.c43 #define REG_BLUE 0x01 /* AWB - Blue channel gain */
44 #define REG_RED 0x02 /* AWB - Red channel gain */
327 { REG_COM8, 0xe7 }, /* Enable AEC, AWB, AEC */
623 static int ov965x_set_white_balance(struct ov965x *ov965x, int awb) in ov965x_set_white_balance() argument
630 reg = awb ? reg | REG_COM8 : reg & ~REG_COM8; in ov965x_set_white_balance()
633 if (!ret && !awb) { in ov965x_set_white_balance()
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-stats.c186 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas_v10()
190 pbuf->params.awb.awb_mean[0].mean_cr_or_r = in rkisp1_stats_get_awb_meas_v10()
192 pbuf->params.awb.awb_mean[0].mean_cb_or_b = in rkisp1_stats_get_awb_meas_v10()
194 pbuf->params.awb.awb_mean[0].mean_y_or_g = in rkisp1_stats_get_awb_meas_v10()
207 pbuf->params.awb.awb_mean[0].cnt = in rkisp1_stats_get_awb_meas_v12()
211 pbuf->params.awb.awb_mean[0].mean_cr_or_r = in rkisp1_stats_get_awb_meas_v12()
213 pbuf->params.awb.awb_mean[0].mean_cb_or_b = in rkisp1_stats_get_awb_meas_v12()
215 pbuf->params.awb.awb_mean[0].mean_y_or_g = in rkisp1_stats_get_awb_meas_v12()
/linux-6.12.1/drivers/staging/media/ipu3/
Dipu3-css-params.c1419 * The follow handshake procotol 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.12.1/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.12.1/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.12.1/drivers/staging/media/atomisp/i2c/
Dov2722.h325 {OV2722_8BIT, 0x5183, 0xb0}, /* AWB red */
326 {OV2722_8BIT, 0x5184, 0xb0}, /* AWB green */
327 {OV2722_8BIT, 0x5185, 0xb0}, /* AWB blue */
328 {OV2722_8BIT, 0x5180, 0x03}, /* AWB manual mode */
435 {OV2722_8BIT, 0x5183, 0xb0}, /* AWB red */
436 {OV2722_8BIT, 0x5184, 0xb0}, /* AWB green */
437 {OV2722_8BIT, 0x5185, 0xb0}, /* AWB blue */
438 {OV2722_8BIT, 0x5180, 0x03}, /* AWB manual mode */
544 {OV2722_8BIT, 0x5183, 0xb0}, /* AWB red */
545 {OV2722_8BIT, 0x5184, 0xb0}, /* AWB green */
[all …]
/linux-6.12.1/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.12.1/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()
1435 * if awb has been disabled, we need to reset registers as well. in isc_awb_work()
1437 if (hist_id == ISC_HIS_CFG_MODE_GR || ctrls->awb == ISC_WB_NONE) { in isc_awb_work()
1452 if (ctrls->awb == ISC_WB_ONETIME) { in isc_awb_work()
1457 ctrls->awb = ISC_WB_NONE; in isc_awb_work()
1480 /* if awb has been disabled, we don't need to start another histogram */ in isc_awb_work()
1481 if (ctrls->awb) in isc_awb_work()
1529 ctrls->awb = ISC_WB_AUTO; in isc_s_awb_ctrl()
1531 ctrls->awb = ISC_WB_NONE; in isc_s_awb_ctrl()
1572 if (ctrls->awb == ISC_WB_AUTO && in isc_s_awb_ctrl()
[all …]
/linux-6.12.1/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()
965 /* Reset and restart AWB if the subdevice changed the format */ in isc_link_validate()
1383 * if awb has been disabled, we need to reset registers as well. in isc_awb_work()
1385 if (hist_id == ISC_HIS_CFG_MODE_GR || ctrls->awb == ISC_WB_NONE) { in isc_awb_work()
1400 if (ctrls->awb == ISC_WB_ONETIME) { in isc_awb_work()
1405 ctrls->awb = ISC_WB_NONE; in isc_awb_work()
1428 /* if awb has been disabled, we don't need to start another histogram */ in isc_awb_work()
1429 if (ctrls->awb) in isc_awb_work()
1477 ctrls->awb = ISC_WB_AUTO; in isc_s_awb_ctrl()
1479 ctrls->awb = ISC_WB_NONE; in isc_s_awb_ctrl()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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()
327 isp->awb.cmd = cmd; in __is_set_isp_awb()
328 isp->awb.illumination = val; in __is_set_isp_awb()
329 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.12.1/Documentation/driver-api/media/drivers/
Drkisp1.rst35 - The AWB and AEC modules got replaced to support finer
/linux-6.12.1/Documentation/devicetree/bindings/media/i2c/
Dgalaxycore,gc2145.yaml16 processor allowing AE/AWB/interpolation/de-noise/color-conversion and
/linux-6.12.1/drivers/staging/media/atomisp/include/linux/
Datomisp.h161 AWB level gate high for raw */
162 unsigned int awb_lg_low; /* [intensity] AWB level gate low */
163 unsigned int awb_lg_high; /* [intensity] AWB level gate high */

123