Home
last modified time | relevance | path

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

1234567

/openbmc/linux/drivers/media/test-drivers/vimc/
H A 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 …]
H A 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()
/openbmc/linux/Documentation/admin-guide/media/
H A 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 …]
H A 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).
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A 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 …]
H A Dia_css_frame_public.h30 /* For RAW input, the bayer order needs to be specified separately. There
103 * sum of lines to be cropped + bayer offset
116 only valid for RAW bayer frames */
117 enum ia_css_bayer_order raw_bayer_order; /** bayer order, only valid
118 for RAW bayer frames */
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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
H A 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
H A 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).
H A 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.
H A Dpixfmt-srggb10dpcm8.rst18 10-bit Bayer formats compressed to 8 bits
24 These four pixel formats are raw sRGB / Bayer formats with 10 bits per
/openbmc/linux/drivers/staging/media/sunxi/sun6i-isp/
H A 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 …]
/openbmc/linux/drivers/staging/media/imx/
H A 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 …]
H A 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 */
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A 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
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/
H A 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()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/frame/interface/
H A 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 */
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c113 /* Computation results of the origin coordinate of bayer on the shading table. */
115 u32 bayer_scale_hor_ratio_in; /* Horizontal ratio (in) of bayer scaling. */
116 u32 bayer_scale_hor_ratio_out; /* Horizontal ratio (out) of bayer scaling. */
117 u32 bayer_scale_ver_ratio_in; /* Vertical ratio (in) of bayer scaling. */
118 u32 bayer_scale_ver_ratio_out; /* Vertical ratio (out) of bayer scaling. */
119 …u32 sc_bayer_origin_x_bqs_on_shading_table; /* X coordinate (in bqs) of bayer origin on shading ta…
120 …u32 sc_bayer_origin_y_bqs_on_shading_table; /* Y coordinate (in bqs) of bayer origin on shading ta…
133 /* Rational fraction of the fixed bayer downscaling factor. */ in ia_css_binary_compute_shading_table_bayer_origin()
146 NxN-filter (before/after bayer scaling) moves the image position in ia_css_binary_compute_shading_table_bayer_origin()
149 and effective bayer size decreases. */ in ia_css_binary_compute_shading_table_bayer_origin()
[all …]
/openbmc/linux/drivers/media/platform/ti/am437x/
H A 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 …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/aa/aa_2/
H A Dia_css_aa2_types.h25 * This structure is used both for YUV AA and Bayer AA.
34 * 2. Bayer Anti-Aliasing
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/
H A Dia_css_de_types.h20 * CSS-API header file for Demosaic (bayer-to-YCgCo) parameters.
23 /* Demosaic (bayer-to-YCgCo) configuration.
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c1374 case V4L2_PIX_FMT_SBGGR8: descr = "8-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc()
1375 case V4L2_PIX_FMT_SGBRG8: descr = "8-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc()
1376 case V4L2_PIX_FMT_SGRBG8: descr = "8-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc()
1377 case V4L2_PIX_FMT_SRGGB8: descr = "8-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc()
1378 case V4L2_PIX_FMT_SBGGR10: descr = "10-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc()
1379 case V4L2_PIX_FMT_SGBRG10: descr = "10-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc()
1380 case V4L2_PIX_FMT_SGRBG10: descr = "10-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc()
1381 case V4L2_PIX_FMT_SRGGB10: descr = "10-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc()
1382 case V4L2_PIX_FMT_SBGGR10P: descr = "10-bit Bayer BGBG/GRGR Packed"; break; in v4l_fill_fmtdesc()
1383 case V4L2_PIX_FMT_SGBRG10P: descr = "10-bit Bayer GBGB/RGRG Packed"; break; in v4l_fill_fmtdesc()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/
H A Dia_css_bnr.host.c30 /* BNR (Bayer Noise Reduction) */ in ia_css_bnr_encode()
49 ia_css_debug_dtrace(level, "Bayer Noise Reduction:\n"); in ia_css_bnr_dump()

1234567