/Linux-v5.15/drivers/media/test-drivers/vimc/ |
D | vimc-common.c | 14 * 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 …]
|
D | vimc-scaler.c | 121 /* We don't support bayer format */ in vimc_sca_enum_mbus_code() 122 if (!vpix || vpix->bayer) in vimc_sca_enum_mbus_code() 139 /* Only accept code in the pix map table in non bayer format */ in vimc_sca_enum_frame_size() 141 if (!vpix || vpix->bayer) in vimc_sca_enum_frame_size() 187 /* Only accept code in the pix map table in non bayer format */ in vimc_sca_adjust_sink_fmt() 189 if (!vpix || vpix->bayer) in vimc_sca_adjust_sink_fmt()
|
/Linux-v5.15/drivers/media/platform/davinci/ |
D | dm355_ccdc.c | 9 * 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 …]
|
D | isif.c | 8 * 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 …]
|
D | dm644x_ccdc.c | 9 * 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-v5.15/Documentation/admin-guide/media/ |
D | ipu3.rst | 22 The CIO2 device receives the raw Bayer data from the sensors and outputs the 70 Capturing frames in raw Bayer format 73 CIO2 MIPI CSI2 receiver is used to capture frames (in packed raw Bayer format) 82 raw Bayer format that is specific to IPU3. 90 frames in packed raw Bayer format to IPU3 CSI2 receiver. 183 <entity>:<pad-number> format) is queued with buffer (in packed raw Bayer 197 The frames (in packed raw Bayer format specific to the IPU3) received by the 202 Details onand the Bayer format specific to the IPU3 can be found in 243 output larger bayer frame for further YUV processing than "VIDEO" mode to get 262 Processing the image in raw Bayer format [all …]
|
D | qcom_camss.rst | 62 - 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-v5.15/drivers/staging/media/atomisp/pci/ |
D | ia_css_types.h | 164 * - 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 …]
|
D | ia_css_frame_public.h | 29 /* 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-v5.15/Documentation/userspace-api/media/v4l/ |
D | pixfmt-bayer.rst | 3 .. _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
|
D | fourcc.rst | 13 Raw bayer 16 The following first characters are used by raw bayer formats: 18 - B: raw bayer, uncompressed 19 - b: raw bayer, DPCM compressed
|
D | pixfmt-reserved.rst | 89 - Compressed GBRG Bayer format used by the gspca driver. 94 - Compressed BGGR Bayer format used by the gspca driver. 99 - Compressed BGGR Bayer format used by the gspca driver. 104 - JPEG compressed RGGB Bayer format used by the gspca driver. 129 - Compressed RGGB bayer format used by the gspca driver. 159 - Compressed GBRG bayer format of the gspca sn9c2028 driver. 164 - Bayer format of the gspca stv0680 driver.
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
D | binary.c | 112 /* Computation results of the origin coordinate of bayer on the shading table. */ 114 u32 bayer_scale_hor_ratio_in; /* Horizontal ratio (in) of bayer scaling. */ 115 u32 bayer_scale_hor_ratio_out; /* Horizontal ratio (out) of bayer scaling. */ 116 u32 bayer_scale_ver_ratio_in; /* Vertical ratio (in) of bayer scaling. */ 117 u32 bayer_scale_ver_ratio_out; /* Vertical ratio (out) of bayer scaling. */ 118 …u32 sc_bayer_origin_x_bqs_on_shading_table; /* X coordinate (in bqs) of bayer origin on shading ta… 119 …u32 sc_bayer_origin_y_bqs_on_shading_table; /* Y coordinate (in bqs) of bayer origin on shading ta… 125 /* Bayer scaling factor, for the scaling which is applied before shading correction. */ 148 /* Numerator and denominator of the fixed bayer downscaling factor. in ia_css_binary_compute_shading_table_bayer_origin() 152 /* Horizontal/Vertical ratio of bayer scaling in ia_css_binary_compute_shading_table_bayer_origin() [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
D | ia_css_s3a_types.h | 66 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-v5.15/drivers/staging/media/imx/ |
D | imx-media-utils.c | 108 /*** 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 …]
|
D | imx-media.h | 82 /* 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-v5.15/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ |
D | ifmtr.c | 50 /* 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-v5.15/drivers/media/test-drivers/vivid/ |
D | vivid-vid-common.c | 525 .fourcc = V4L2_PIX_FMT_SBGGR8, /* Bayer BG/GR */ 532 .fourcc = V4L2_PIX_FMT_SGBRG8, /* Bayer GB/RG */ 539 .fourcc = V4L2_PIX_FMT_SGRBG8, /* Bayer GR/BG */ 546 .fourcc = V4L2_PIX_FMT_SRGGB8, /* Bayer RG/GB */ 553 .fourcc = V4L2_PIX_FMT_SBGGR10, /* Bayer BG/GR */ 560 .fourcc = V4L2_PIX_FMT_SGBRG10, /* Bayer GB/RG */ 567 .fourcc = V4L2_PIX_FMT_SGRBG10, /* Bayer GR/BG */ 574 .fourcc = V4L2_PIX_FMT_SRGGB10, /* Bayer RG/GB */ 581 .fourcc = V4L2_PIX_FMT_SBGGR12, /* Bayer BG/GR */ 588 .fourcc = V4L2_PIX_FMT_SGBRG12, /* Bayer GB/RG */ [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/frame/interface/ |
D | ia_css_frame_comm.h | 79 only valid for RAW bayer frames */ 80 unsigned char raw_bayer_order; /* bayer order, only valid 81 for RAW bayer frames */
|
/Linux-v5.15/include/uapi/linux/ |
D | rkisp1-config.h | 26 /* Bayer Demosaic */ 217 * @r: Fixed (signed!) subtraction value for Bayer pattern R 218 * @gr: Fixed (signed!) subtraction value for Bayer pattern Gr 219 * @gb: Fixed (signed!) subtraction value for Bayer pattern Gb 220 * @b: Fixed (signed!) subtraction value for Bayer pattern B 238 * @bls_samples: Set amount of measured pixels for each Bayer position 506 * struct rkisp1_cif_isp_bdm_config - Configuration used by Bayer DeMosaic 508 * @demosaic_th: threshold for bayer demosaicing texture detection 838 * @meas_r: Mean measured value for Bayer pattern R 839 * @meas_gr: Mean measured value for Bayer pattern Gr [all …]
|
/Linux-v5.15/drivers/media/platform/am437x/ |
D | am437x-vpfe.c | 303 &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-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/aa/aa_2/ |
D | ia_css_aa2_types.h | 25 * This structure is used both for YUV AA and Bayer AA. 34 * 2. Bayer Anti-Aliasing
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/isp/kernels/de/de_1.0/ |
D | ia_css_de_types.h | 20 * CSS-API header file for Demosaic (bayer-to-YCgCo) parameters. 23 /* Demosaic (bayer-to-YCgCo) configuration.
|
/Linux-v5.15/drivers/media/v4l2-core/ |
D | v4l2-ioctl.c | 1297 case V4L2_PIX_FMT_SBGGR8: descr = "8-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc() 1298 case V4L2_PIX_FMT_SGBRG8: descr = "8-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc() 1299 case V4L2_PIX_FMT_SGRBG8: descr = "8-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc() 1300 case V4L2_PIX_FMT_SRGGB8: descr = "8-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc() 1301 case V4L2_PIX_FMT_SBGGR10: descr = "10-bit Bayer BGBG/GRGR"; break; in v4l_fill_fmtdesc() 1302 case V4L2_PIX_FMT_SGBRG10: descr = "10-bit Bayer GBGB/RGRG"; break; in v4l_fill_fmtdesc() 1303 case V4L2_PIX_FMT_SGRBG10: descr = "10-bit Bayer GRGR/BGBG"; break; in v4l_fill_fmtdesc() 1304 case V4L2_PIX_FMT_SRGGB10: descr = "10-bit Bayer RGRG/GBGB"; break; in v4l_fill_fmtdesc() 1305 case V4L2_PIX_FMT_SBGGR10P: descr = "10-bit Bayer BGBG/GRGR Packed"; break; in v4l_fill_fmtdesc() 1306 case V4L2_PIX_FMT_SGBRG10P: descr = "10-bit Bayer GBGB/RGRG Packed"; break; in v4l_fill_fmtdesc() [all …]
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/camera/pipe/interface/ |
D | ia_css_pipe_binarydesc.h | 55 /* @brief Get numerator and denominator of bayer downscaling factor. 57 * @param[in] bds_factor: The bayer downscaling factor. 59 * @param[out] bds_factor_numerator: The numerator of the bayer downscaling factor. 61 * @param[out] bds_factor_denominator: The denominator of the bayer downscaling factor.
|