Home
last modified time | relevance | path

Searched full:bayer (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.14.4/drivers/media/test-drivers/vimc/
Dvimc-common.c16 * NOTE: non-bayer formats need to come first (necessary for enum_mbus_code
30 .bayer = false,
45 .bayer = false,
51 .bayer = false,
54 /* Bayer formats */
59 .bayer = true,
65 .bayer = true,
71 .bayer = true,
77 .bayer = true,
83 .bayer = true,
[all …]
Dvimc-scaler.c110 /* We don't support bayer format */ in vimc_scaler_enum_mbus_code()
111 if (!vpix || vpix->bayer) in vimc_scaler_enum_mbus_code()
128 /* Only accept code in the pix map table in non bayer format */ in vimc_scaler_enum_frame_size()
130 if (!vpix || vpix->bayer) in vimc_scaler_enum_frame_size()
162 /* Only accept code in the pix map table in non bayer format. */ in vimc_scaler_set_fmt()
164 if (vpix && !vpix->bayer) in vimc_scaler_set_fmt()
/linux-6.14.4/Documentation/admin-guide/media/
Dipu3.rst22 The CIO2 device receives the raw Bayer data from the sensors and outputs the
71 Capturing frames in raw Bayer format
74 CIO2 MIPI CSI2 receiver is used to capture frames (in packed raw Bayer format)
83 raw Bayer format that is specific to IPU3.
91 frames in packed raw Bayer format to IPU3 CSI2 receiver.
185 <entity>:<pad-number> format) is queued with buffer (in packed raw Bayer
199 The frames (in packed raw Bayer format specific to the IPU3) received by the
204 Details onand the Bayer format specific to the IPU3 can be found in
245 output larger bayer frame for further YUV processing than "VIDEO" mode to get
264 Processing the image in raw Bayer format
[all …]
Dqcom_camss.rst62 - MIPI RAW8 (8bit Bayer RAW - V4L2_PIX_FMT_SRGGB8 /
64 - MIPI RAW10 (10bit packed Bayer RAW - V4L2_PIX_FMT_SBGGR10P /
67 - MIPI RAW12 (12bit packed Bayer RAW - V4L2_PIX_FMT_SRGGB12P /
69 - (8x96 only) MIPI RAW14 (14bit packed Bayer RAW - V4L2_PIX_FMT_SRGGB14P /
76 - MIPI RAW10 (10bit packed Bayer RAW - V4L2_PIX_FMT_SBGGR10P / V4L2_PIX_FMT_Y10P).
80 - Plain16 RAW10 (10bit unpacked Bayer RAW - V4L2_PIX_FMT_SBGGR10 / V4L2_PIX_FMT_Y10).
/linux-6.14.4/drivers/staging/media/atomisp/pci/
Dia_css_types.h157 * - Origin coordinate of bayer (real sensor data)
165 …* The shading correction is applied to the bayer area which contains sensor data and padding data.
166 * The shading table should cover this bayer area.
173 * In some isp binaries, the bayer scaling is applied before the shading correction is applied.
182 * This is the size BEFORE the bayer scaling is applied.
187 * The size of this area assumes the size AFTER the bayer scaling is applied
272 …* 4. process: ISP applies the bayer scaling by the factor of shading_info.bayer_scale_…
289 NOTE: bqs = size in BQ(Bayer Quad) unit.
296 /** Horizontal ratio of bayer scaling between input width and output width,
303 /** Vertical ratio of bayer scaling
[all …]
Dia_css_frame_public.h21 /* For RAW input, the bayer order needs to be specified separately. There
94 * sum of lines to be cropped + bayer offset
107 only valid for RAW bayer frames */
108 enum ia_css_bayer_order raw_bayer_order; /** bayer order, only valid
109 for RAW bayer frames */
/linux-6.14.4/Documentation/userspace-api/media/v4l/
Dpixfmt-bayer.rst3 .. _pixfmt-bayer:
6 Raw Bayer Formats
12 The raw Bayer formats are used by image sensors before much if any processing is
15 orders. See also `the Wikipedia article on Bayer filter
Dfourcc.rst13 Raw bayer
16 The following first characters are used by raw bayer formats:
18 - B: raw bayer, uncompressed
19 - b: raw bayer, DPCM compressed
Dpixfmt-reserved.rst81 - Compressed GBRG Bayer format used by the gspca driver.
86 - Compressed BGGR Bayer format used by the gspca driver.
91 - Compressed BGGR Bayer format used by the gspca driver.
96 - JPEG compressed RGGB Bayer format used by the gspca driver.
121 - Compressed RGGB bayer format used by the gspca driver.
151 - Compressed GBRG bayer format of the gspca sn9c2028 driver.
156 - Bayer format of the gspca stv0680 driver.
Dext-ctrls-image-source.rst83 Currently it is defined only for Bayer sensors, and is an array
85 Bayer channels. The gains are always in the order B, Gb, Gr and R,
86 irrespective of the exact Bayer order of the sensor itself.
89 with, for example, non-Bayer CFAs (colour filter arrays).
/linux-6.14.4/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp_params.c24 .bayer = {
80 const struct sun6i_isp_params_config_bayer *bayer = &config->bayer; in sun6i_isp_params_configure_bayer() local
83 SUN6I_ISP_BAYER_OFFSET0_R(bayer->offset_r) | in sun6i_isp_params_configure_bayer()
84 SUN6I_ISP_BAYER_OFFSET0_GR(bayer->offset_gr)); in sun6i_isp_params_configure_bayer()
87 SUN6I_ISP_BAYER_OFFSET1_GB(bayer->offset_gb) | in sun6i_isp_params_configure_bayer()
88 SUN6I_ISP_BAYER_OFFSET1_B(bayer->offset_b)); in sun6i_isp_params_configure_bayer()
91 SUN6I_ISP_BAYER_GAIN0_R(bayer->gain_r) | in sun6i_isp_params_configure_bayer()
92 SUN6I_ISP_BAYER_GAIN0_GR(bayer->gain_gr)); in sun6i_isp_params_configure_bayer()
95 SUN6I_ISP_BAYER_GAIN1_GB(bayer->gain_gb) | in sun6i_isp_params_configure_bayer()
96 SUN6I_ISP_BAYER_GAIN1_B(bayer->gain_b)); in sun6i_isp_params_configure_bayer()
[all …]
/linux-6.14.4/drivers/staging/media/imx/
Dimx-media-utils.c108 /*** raw bayer and grayscale formats start here ***/
114 .bayer = true,
120 .bayer = true,
126 .bayer = true,
132 .bayer = true,
143 .bayer = true,
154 .bayer = true,
165 .bayer = true,
176 .bayer = true,
186 .bayer = true,
[all …]
Dimx-media.h82 /* cycles per pixel for generic (bayer) formats for the parallel bus */
86 bool bayer; /* is a raw bayer format */ member
93 PIXFMT_SEL_BAYER = BIT(2), /* select BAYER formats */
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a_types.h57 bayer bit depth in DSP. */
83 u32 bqs_per_grid_cell; /** Grid cell size in BQ(Bayer Quad) unit.
90 bayer bit depth in DSP. */
101 * ae_y_*: Coefficients to calculate luminance from bayer.
102 * awb_lg_*: Thresholds to check the saturated bayer pixels for AWB.
104 * bayer(sensor) <= awb_lg_high_raw &&
105 * bayer(when AWB statisitcs is calculated) >= awb_lg_low &&
106 * bayer(when AWB statisitcs is calculated) <= awb_lg_high
/linux-6.14.4/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/
Difmtr.c40 /* ISP expects GRBG bayer order, we skip one line and/or one row
41 * to correct in case the input bayer order is different.
131 * RAW data in any particular bayer order. copy binary with output in ia_css_ifmtr_configure()
178 /* Patch from bayer to yuv */ in ia_css_ifmtr_configure()
192 /* Patch from bayer to yuv */ in ia_css_ifmtr_configure()
267 /* Patch from bayer to rgb */ in ia_css_ifmtr_configure()
285 * output offsets to interleave the bayer pattern in in ia_css_ifmtr_configure()
398 /* Patch from bayer to rgb */ in ia_css_ifmtr_configure()
497 /* now we add the one column (if needed) to correct for the bayer in ifmtr_start_column()
526 /* now we add the one line (if needed) to correct for the bayer order */ in ifmtr_input_start_line()
/linux-6.14.4/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame_comm.h70 only valid for RAW bayer frames */
71 unsigned char raw_bayer_order; /* bayer order, only valid
72 for RAW bayer frames */
/linux-6.14.4/drivers/media/test-drivers/vivid/
Dvivid-vid-common.c540 .fourcc = V4L2_PIX_FMT_SBGGR8, /* Bayer BG/GR */
547 .fourcc = V4L2_PIX_FMT_SGBRG8, /* Bayer GB/RG */
554 .fourcc = V4L2_PIX_FMT_SGRBG8, /* Bayer GR/BG */
561 .fourcc = V4L2_PIX_FMT_SRGGB8, /* Bayer RG/GB */
568 .fourcc = V4L2_PIX_FMT_SBGGR10, /* Bayer BG/GR */
575 .fourcc = V4L2_PIX_FMT_SGBRG10, /* Bayer GB/RG */
582 .fourcc = V4L2_PIX_FMT_SGRBG10, /* Bayer GR/BG */
589 .fourcc = V4L2_PIX_FMT_SRGGB10, /* Bayer RG/GB */
596 .fourcc = V4L2_PIX_FMT_SBGGR12, /* Bayer BG/GR */
603 .fourcc = V4L2_PIX_FMT_SGBRG12, /* Bayer GB/RG */
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c102 /* Computation results of the origin coordinate of bayer on the shading table. */
104 u32 bayer_scale_hor_ratio_in; /* Horizontal ratio (in) of bayer scaling. */
105 u32 bayer_scale_hor_ratio_out; /* Horizontal ratio (out) of bayer scaling. */
106 u32 bayer_scale_ver_ratio_in; /* Vertical ratio (in) of bayer scaling. */
107 u32 bayer_scale_ver_ratio_out; /* Vertical ratio (out) of bayer scaling. */
108 …u32 sc_bayer_origin_x_bqs_on_shading_table; /* X coordinate (in bqs) of bayer origin on shading ta…
109 …u32 sc_bayer_origin_y_bqs_on_shading_table; /* Y coordinate (in bqs) of bayer origin on shading ta…
122 /* Rational fraction of the fixed bayer downscaling factor. */ in ia_css_binary_compute_shading_table_bayer_origin()
135 NxN-filter (before/after bayer scaling) moves the image position in ia_css_binary_compute_shading_table_bayer_origin()
138 and effective bayer size decreases. */ in ia_css_binary_compute_shading_table_bayer_origin()
[all …]
/linux-6.14.4/drivers/media/platform/ti/am437x/
Dam437x-vpfe.c303 &ccdc->ccdc_cfg.bayer.config_params; in vpfe_ccdc_update_raw_params()
511 &ccdc->ccdc_cfg.bayer.config_params; in vpfe_ccdc_config_raw()
512 struct ccdc_params_raw *params = &ccdc->ccdc_cfg.bayer; in vpfe_ccdc_config_raw()
597 ccdc->ccdc_cfg.bayer.buf_type = buf_type; in vpfe_ccdc_set_buftype()
607 return ccdc->ccdc_cfg.bayer.buf_type; in vpfe_ccdc_get_buftype()
620 ccdc->ccdc_cfg.bayer.pix_fmt = CCDC_PIXFMT_RAW; in vpfe_ccdc_set_pixel_format()
625 ccdc->ccdc_cfg.bayer.config_params.alaw.enable = 0; in vpfe_ccdc_set_pixel_format()
629 ccdc->ccdc_cfg.bayer.config_params.alaw.enable = 1; in vpfe_ccdc_set_pixel_format()
682 ccdc->ccdc_cfg.bayer.win = *win; in vpfe_ccdc_set_image_window()
683 ccdc->ccdc_cfg.bayer.bytesperpixel = bpp; in vpfe_ccdc_set_image_window()
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/aa/aa_2/
Dia_css_aa2_types.h16 * This structure is used both for YUV AA and Bayer AA.
25 * 2. Bayer Anti-Aliasing
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/
Dia_css_de_types.h11 * CSS-API header file for Demosaic (bayer-to-YCgCo) parameters.
14 /* Demosaic (bayer-to-YCgCo) configuration.
/linux-6.14.4/drivers/media/v4l2-core/
Dv4l2-ioctl.c1388 case V4L2_PIX_FMT_SBGGR8: descr = "8-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc()
1389 case V4L2_PIX_FMT_SGBRG8: descr = "8-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc()
1390 case V4L2_PIX_FMT_SGRBG8: descr = "8-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc()
1391 case V4L2_PIX_FMT_SRGGB8: descr = "8-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc()
1392 case V4L2_PIX_FMT_SBGGR10: descr = "10-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc()
1393 case V4L2_PIX_FMT_SGBRG10: descr = "10-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc()
1394 case V4L2_PIX_FMT_SGRBG10: descr = "10-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc()
1395 case V4L2_PIX_FMT_SRGGB10: descr = "10-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc()
1396 case V4L2_PIX_FMT_SBGGR10P: descr = "10-bit Bayer BGBG/GRGR Packed"; break; in v4l_fill_fmtdesc()
1397 case V4L2_PIX_FMT_SGBRG10P: descr = "10-bit Bayer GBGB/RGRG Packed"; break; in v4l_fill_fmtdesc()
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/
Dia_css_bnr.host.c21 /* BNR (Bayer Noise Reduction) */ in ia_css_bnr_encode()
41 ia_css_debug_dtrace(level, "Bayer Noise Reduction:\n"); in ia_css_bnr_dump()
/linux-6.14.4/include/uapi/linux/
Drkisp1-config.h26 /* Bayer Demosaic */
266 * @r: Fixed (signed!) subtraction value for Bayer pattern R
267 * @gr: Fixed (signed!) subtraction value for Bayer pattern Gr
268 * @gb: Fixed (signed!) subtraction value for Bayer pattern Gb
269 * @b: Fixed (signed!) subtraction value for Bayer pattern B
287 * @bls_samples: Set amount of measured pixels for each Bayer position
561 * struct rkisp1_cif_isp_bdm_config - Configuration used by Bayer DeMosaic
563 * @demosaic_th: threshold for bayer demosaicing texture detection
861 * @r: Fixed subtraction value for Bayer pattern R
862 * @gr: Fixed subtraction value for Bayer pattern Gr
[all …]
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
Dia_css_bnr2_2_types.h11 * CSS-API header file for Bayer Noise Reduction parameters.
16 /* Bayer Noise Reduction 2.2 configuration

12345678