Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/drivers/media/test-drivers/vimc/
Dvimc-common.c14 * NOTE: non-bayer formats need to come first (necessary for enum_mbus_code
28 .bayer = false,
43 .bayer = false,
49 .bayer = false,
52 /* Bayer formats */
57 .bayer = true,
63 .bayer = true,
69 .bayer = true,
75 .bayer = true,
81 .bayer = true,
[all …]
Dvimc-scaler.c103 /* We don't support bayer format */ in vimc_scaler_enum_mbus_code()
104 if (!vpix || vpix->bayer) in vimc_scaler_enum_mbus_code()
121 /* Only accept code in the pix map table in non bayer format */ in vimc_scaler_enum_frame_size()
123 if (!vpix || vpix->bayer) in vimc_scaler_enum_frame_size()
189 /* Only accept code in the pix map table in non bayer format. */ in vimc_scaler_set_fmt()
191 if (vpix && !vpix->bayer) in vimc_scaler_set_fmt()
/Linux-v6.1/drivers/staging/media/deprecated/vpfe_capture/
Ddm355_ccdc.c9 * Raw yuv or Bayer RGB data from a decoder. CCDC has several modules
11 * pre-process the Bayer RGB data, before writing it to SDRAM.
13 * TODO: 1) Raw bayer parameter settings and bayer capture
39 /* Raw Bayer configuration */
40 struct ccdc_params_raw bayer; member
47 .bayer = {
100 /* Raw Bayer formats */
140 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset()
141 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset()
142 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset()
[all …]
Disif.c8 * TI SoCs. This is used for capturing yuv or bayer video or image data
14 * TODO: 1) Raw bayer parameter settings and bayer capture
73 struct isif_params_raw bayer; member
92 .bayer = {
127 /* Raw Bayer formats */
214 &isif_cfg.bayer.config_params.gain_offset; in isif_config_gain_offset()
250 isif_cfg.bayer.config_params = isif_config_defaults; in isif_restore_defaults()
530 struct isif_params_raw *params = &isif_cfg.bayer; in isif_config_raw()
532 &isif_cfg.bayer.config_params; in isif_config_raw()
681 frame_size.hlpfr = isif_cfg.bayer.win.width; in isif_config_raw()
[all …]
Ddm644x_ccdc.c9 * Raw yuv or Bayer RGB data from a decoder. CCDC has several modules
11 * pre-process the Raw Bayer RGB data, before writing it to SDRAM.
15 * TODO: Test Raw bayer parameter settings and bayer capture
41 /* Raw Bayer configuration */
42 struct ccdc_params_raw bayer; member
49 .bayer = {
75 /* Raw Bayer formats */
374 struct ccdc_params_raw *params = &ccdc_cfg.bayer; in ccdc_config_raw()
376 &ccdc_cfg.bayer.config_params; in ccdc_config_raw()
540 ccdc_cfg.bayer.buf_type = buf_type; in ccdc_set_buftype()
[all …]
/Linux-v6.1/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-v6.1/drivers/staging/media/atomisp/pci/
Dia_css_types.h164 * - Origin coordinate of bayer (real sensor data)
172 …* The shading correction is applied to the bayer area which contains sensor data and padding data.
173 * The shading table should cover this bayer area.
180 * In some isp binaries, the bayer scaling is applied before the shading correction is applied.
189 * This is the size BEFORE the bayer scaling is applied.
194 * The size of this area assumes the size AFTER the bayer scaling is applied
279 …* 4. process: ISP applies the bayer scaling by the factor of shading_info.bayer_scale_…
296 NOTE: bqs = size in BQ(Bayer Quad) unit.
303 /** Horizontal ratio of bayer scaling between input width and output width,
310 /** Vertical ratio of bayer scaling
[all …]
Dia_css_frame_public.h29 /* For RAW input, the bayer order needs to be specified separately. There
102 * sum of lines to be cropped + bayer offset
115 only valid for RAW bayer frames */
116 enum ia_css_bayer_order raw_bayer_order; /** bayer order, only valid
117 for RAW bayer frames */
/Linux-v6.1/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-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a_types.h66 bayer bit depth in DSP. */
92 u32 bqs_per_grid_cell; /** Grid cell size in BQ(Bayer Quad) unit.
99 bayer bit depth in DSP. */
110 * ae_y_*: Coefficients to calculate luminance from bayer.
111 * awb_lg_*: Thresholds to check the saturated bayer pixels for AWB.
113 * bayer(sensor) <= awb_lg_high_raw &&
114 * bayer(when AWB statisitcs is calculated) >= awb_lg_low &&
115 * bayer(when AWB statisitcs is calculated) <= awb_lg_high
/Linux-v6.1/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 …]
/Linux-v6.1/include/media/
Dv4l2-uvc.h235 .name = "BGGR Bayer (BY8 )",
240 .name = "BGGR Bayer (BA81)",
245 .name = "GBRG Bayer (GBRG)",
250 .name = "GRBG Bayer (GRBG)",
255 .name = "RGGB Bayer (RGGB)",
295 .name = "Bayer 10-bit (SRGGB10P)",
300 .name = "Bayer 16-bit (SBGGR16)",
305 .name = "Bayer 16-bit (SGBRG16)",
310 .name = "Bayer 16-bit (SRGGB16)",
315 .name = "Bayer 16-bit (SGRBG16)",
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/
Difmtr.c50 /* ISP expects GRBG bayer order, we skip one line and/or one row
51 * to correct in case the input bayer order is different.
141 * RAW data in any particular bayer order. copy binary with output in ia_css_ifmtr_configure()
188 /* Patch from bayer to yuv */ in ia_css_ifmtr_configure()
202 /* Patch from bayer to yuv */ in ia_css_ifmtr_configure()
277 /* Patch from bayer to rgb */ in ia_css_ifmtr_configure()
295 * output offsets to interleave the bayer pattern in in ia_css_ifmtr_configure()
419 /* Patch from bayer to rgb */ in ia_css_ifmtr_configure()
518 /* now we add the one column (if needed) to correct for the bayer in ifmtr_start_column()
547 /* now we add the one line (if needed) to correct for the bayer order */ in ifmtr_input_start_line()
/Linux-v6.1/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-v6.1/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c111 /* Computation results of the origin coordinate of bayer on the shading table. */
113 u32 bayer_scale_hor_ratio_in; /* Horizontal ratio (in) of bayer scaling. */
114 u32 bayer_scale_hor_ratio_out; /* Horizontal ratio (out) of bayer scaling. */
115 u32 bayer_scale_ver_ratio_in; /* Vertical ratio (in) of bayer scaling. */
116 u32 bayer_scale_ver_ratio_out; /* Vertical ratio (out) of bayer scaling. */
117 …u32 sc_bayer_origin_x_bqs_on_shading_table; /* X coordinate (in bqs) of bayer origin on shading ta…
118 …u32 sc_bayer_origin_y_bqs_on_shading_table; /* Y coordinate (in bqs) of bayer origin on shading ta…
131 /* Numerator and denominator of the fixed bayer downscaling factor. in ia_css_binary_compute_shading_table_bayer_origin()
135 /* Horizontal/Vertical ratio of bayer scaling in ia_css_binary_compute_shading_table_bayer_origin()
152 NxN-filter (before/after bayer scaling) moves the image position in ia_css_binary_compute_shading_table_bayer_origin()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/frame/interface/
Dia_css_frame_comm.h79 only valid for RAW bayer frames */
80 unsigned char raw_bayer_order; /* bayer order, only valid
81 for RAW bayer frames */
/Linux-v6.1/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-v6.1/include/uapi/linux/
Drkisp1-config.h26 /* Bayer Demosaic */
256 * @r: Fixed (signed!) subtraction value for Bayer pattern R
257 * @gr: Fixed (signed!) subtraction value for Bayer pattern Gr
258 * @gb: Fixed (signed!) subtraction value for Bayer pattern Gb
259 * @b: Fixed (signed!) subtraction value for Bayer pattern B
277 * @bls_samples: Set amount of measured pixels for each Bayer position
551 * struct rkisp1_cif_isp_bdm_config - Configuration used by Bayer DeMosaic
553 * @demosaic_th: threshold for bayer demosaicing texture detection
883 * @meas_r: Mean measured value for Bayer pattern R
884 * @meas_gr: Mean measured value for Bayer pattern Gr
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/aa/aa_2/
Dia_css_aa2_types.h25 * This structure is used both for YUV AA and Bayer AA.
34 * 2. Bayer Anti-Aliasing
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/
Dia_css_de_types.h20 * CSS-API header file for Demosaic (bayer-to-YCgCo) parameters.
23 /* Demosaic (bayer-to-YCgCo) configuration.
/Linux-v6.1/drivers/media/v4l2-core/
Dv4l2-ioctl.c1373 case V4L2_PIX_FMT_SBGGR8: descr = "8-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc()
1374 case V4L2_PIX_FMT_SGBRG8: descr = "8-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc()
1375 case V4L2_PIX_FMT_SGRBG8: descr = "8-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc()
1376 case V4L2_PIX_FMT_SRGGB8: descr = "8-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc()
1377 case V4L2_PIX_FMT_SBGGR10: descr = "10-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc()
1378 case V4L2_PIX_FMT_SGBRG10: descr = "10-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc()
1379 case V4L2_PIX_FMT_SGRBG10: descr = "10-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc()
1380 case V4L2_PIX_FMT_SRGGB10: descr = "10-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc()
1381 case V4L2_PIX_FMT_SBGGR10P: descr = "10-bit Bayer BGBG/GRGR Packed"; break; in v4l_fill_fmtdesc()
1382 case V4L2_PIX_FMT_SGBRG10P: descr = "10-bit Bayer GBGB/RGRG Packed"; break; in v4l_fill_fmtdesc()
[all …]

1234567