Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: rkisp1: uapi: document which flags/structs relate to statistics config

Modify the documentation to point out which flags and structs are
used to configure the statistics.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Dafna Hirschfeld and committed by
Mauro Carvalho Chehab
b98fc6b6 033fc896

+8 -8
+8 -8
include/uapi/linux/rkisp1-config.h
··· 15 15 #define RKISP1_CIF_ISP_MODULE_BLS (1U << 1) 16 16 /* Sensor De-gamma */ 17 17 #define RKISP1_CIF_ISP_MODULE_SDG (1U << 2) 18 - /* Histogram */ 18 + /* Histogram statistics configuration */ 19 19 #define RKISP1_CIF_ISP_MODULE_HST (1U << 3) 20 20 /* Lens Shade Control */ 21 21 #define RKISP1_CIF_ISP_MODULE_LSC (1U << 4) ··· 31 31 #define RKISP1_CIF_ISP_MODULE_GOC (1U << 9) 32 32 /* Color Processing */ 33 33 #define RKISP1_CIF_ISP_MODULE_CPROC (1U << 10) 34 - /* Auto Focus Control */ 34 + /* Auto Focus Control statistics configuration */ 35 35 #define RKISP1_CIF_ISP_MODULE_AFC (1U << 11) 36 - /* Auto White Balancing */ 36 + /* Auto White Balancing statistics configuration */ 37 37 #define RKISP1_CIF_ISP_MODULE_AWB (1U << 12) 38 38 /* Image Effect */ 39 39 #define RKISP1_CIF_ISP_MODULE_IE (1U << 13) 40 - /* Auto Exposure Control */ 40 + /* Auto Exposure Control statistics configuration */ 41 41 #define RKISP1_CIF_ISP_MODULE_AEC (1U << 14) 42 42 /* Wide Dynamic Range */ 43 43 #define RKISP1_CIF_ISP_MODULE_WDR (1U << 15) ··· 411 411 }; 412 412 413 413 /** 414 - * struct rkisp1_cif_isp_awb_meas_config - Configuration used by auto white balance 414 + * struct rkisp1_cif_isp_awb_meas_config - Configuration for the AWB statistics 415 415 * 416 416 * @awb_mode: the awb meas mode. From enum rkisp1_cif_isp_awb_mode_type. 417 417 * @awb_wnd: white balance measurement window (in pixels) ··· 550 550 }; 551 551 552 552 /** 553 - * struct rkisp1_cif_isp_hst_config - Configuration used by Histogram 553 + * struct rkisp1_cif_isp_hst_config - Configuration for Histogram statistics 554 554 * 555 555 * @mode: histogram mode (from enum rkisp1_cif_isp_histogram_mode) 556 556 * @histogram_predivider: process every stepsize pixel, all other pixels are ··· 575 575 }; 576 576 577 577 /** 578 - * struct rkisp1_cif_isp_aec_config - Configuration used by Auto Exposure Control 578 + * struct rkisp1_cif_isp_aec_config - Configuration for Auto Exposure statistics 579 579 * 580 580 * @mode: Exposure measure mode (from enum rkisp1_cif_isp_exp_meas_mode) 581 581 * @autostop: stop mode (from enum rkisp1_cif_isp_exp_ctrl_autostop) ··· 588 588 }; 589 589 590 590 /** 591 - * struct rkisp1_cif_isp_afc_config - Configuration used by Auto Focus Control 591 + * struct rkisp1_cif_isp_afc_config - Configuration for the Auto Focus statistics 592 592 * 593 593 * @num_afm_win: max RKISP1_CIF_ISP_AFM_MAX_WINDOWS 594 594 * @afm_win: coordinates of the meas window