Home
last modified time | relevance | path

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

12345

/linux/drivers/media/test-drivers/vimc/
H A 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 …]
H A 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()
H A Dvimc-common.h77 * @bayer: true if this is a bayer format
86 bool bayer; member
/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 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 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-srggb10alaw8.rst15 10-bit Bayer formats compressed to 8 bits
21 These four pixel formats are raw sRGB / Bayer formats with 10 bits per
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
H A Dpixfmt-srggb8.rst14 8-bit Bayer formats
20 These four pixel formats are raw sRGB / Bayer formats with 8 bits per
H A Dpixfmt-srggb10.rst16 10-bit Bayer formats expanded to 16 bits
22 These four pixel formats are raw sRGB / Bayer formats with 10 bits per
H A Dpixfmt-srggb16.rst15 16-bit Bayer formats
22 These four pixel formats are raw sRGB / Bayer formats with 16 bits per
/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 */
/linux/Documentation/admin-guide/media/
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).
H A Drkisp1.rst66 capture bayer formats.
67 The mainpath can capture both bayer and YUV formats but it is not able to
80 The mainpath capture device supports capturing video in bayer formats. In that
167 In the above example the sensor is configured to bayer format:
/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 …]
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A 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/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 …]
H A Dam437x-vpfe.h34 /* Raw Bayer */
193 /* Raw Bayer configuration */
194 struct ccdc_params_raw bayer; member
/linux/drivers/media/v4l2-core/
H A 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/include/uapi/linux/
H A 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 …]
H A Dvideodev2.h691 /* Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm */
700 /* 10bit raw bayer packed, 5 bytes for every 4 pixels */
705 /* 10bit raw bayer a-law compressed to 8 bits */
710 /* 10bit raw bayer DPCM compressed to 8 bits */
719 /* 12bit raw bayer packed, 6 bytes for every 4 pixels */
728 /* 14bit raw bayer packed, 7 bytes for every 4 pixels */
783 #define V4L2_PIX_FMT_SPCA561 v4l2_fourcc('S', '5', '6', '1') /* compressed GBRG bayer */
784 #define V4L2_PIX_FMT_PAC207 v4l2_fourcc('P', '2', '0', '7') /* compressed BGGR bayer */
785 #define V4L2_PIX_FMT_MR97310A v4l2_fourcc('M', '3', '1', '0') /* compressed BGGR bayer */
786 #define V4L2_PIX_FMT_JL2005BCD v4l2_fourcc('J', 'L', '2', '0') /* compressed RGGB bayer */
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr_1.0/
H A 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/include/linux/
H A Datmel-isc-media.h13 * 4 gain controls, sliders, for each of the BAYER components: R, B, GR, GB.
16 * 4 offset controls, sliders, for each of the BAYER components: R, B, GR, GB.

12345