v7sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget9/translations/zh_CN/userspace-api/media/v4l/pixfmt-srggb8modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/zh_TW/userspace-api/media/v4l/pixfmt-srggb8modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/it_IT/userspace-api/media/v4l/pixfmt-srggb8modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/ja_JP/userspace-api/media/v4l/pixfmt-srggb8modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/ko_KR/userspace-api/media/v4l/pixfmt-srggb8modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/sp_SP/userspace-api/media/v4l/pixfmt-srggb8modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-laterh]h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhS/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/pixfmt-srggb8.rsthKubhtarget)}(h.. _V4L2-PIX-FMT-SRGGB8:h]h}(h]h ]h"]h$]h&]refidv4l2-pix-fmt-srggb8uh1hhKhhhhhhubh)}(h.. _v4l2-pix-fmt-sbggr8:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sbggr8uh1hhKhhhhhhexpect_referenced_by_name}v4l2-pix-fmt-srggb8hsexpect_referenced_by_id}hhsubh)}(h.. _v4l2-pix-fmt-sgbrg8:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgbrg8uh1hhKhhhhhhh}(v4l2-pix-fmt-sbggr8hhhuh}(hhhhuubh)}(h.. _v4l2-pix-fmt-sgrbg8:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgrbg8uh1hhKhhhhhhh}(v4l2-pix-fmt-sgbrg8hhhhhuh}(hhhhhhuubhsection)}(hhh](htitle)}(hwV4L2_PIX_FMT_SRGGB8 ('RGGB'), V4L2_PIX_FMT_SGRBG8 ('GRBG'), V4L2_PIX_FMT_SGBRG8 ('GBRG'), V4L2_PIX_FMT_SBGGR8 ('BA81'),h]hV4L2_PIX_FMT_SRGGB8 (‘RGGB’), V4L2_PIX_FMT_SGRBG8 (‘GRBG’), V4L2_PIX_FMT_SGBRG8 (‘GBRG’), V4L2_PIX_FMT_SBGGR8 (‘BA81’),}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h8-bit Bayer formatsh]h8-bit Bayer formats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh paragraph)}(hXaThese four pixel formats are raw sRGB / Bayer formats with 8 bits per sample. Each sample is stored in a byte. Each n-pixel row contains n/2 green samples and n/2 blue or red samples, with alternating red and blue rows. They are conventionally described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example of a small V4L2_PIX_FMT_SBGGR8 image:h]hXaThese four pixel formats are raw sRGB / Bayer formats with 8 bits per sample. Each sample is stored in a byte. Each n-pixel row contains n/2 green samples and n/2 blue or red samples, with alternating red and blue rows. They are conventionally described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example of a small V4L2_PIX_FMT_SBGGR8 image:}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhKhjhhubj&)}(h&**Byte Order.** Each cell is one byte.h](hstrong)}(h**Byte Order.**h]h Byte Order.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1j9hj5ubh Each cell is one byte.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKhjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j]hjZubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]j&)}(h start + 0:h]h start + 0:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK$hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h B\ :sub:`00`h](hB }(hjhhhNhNubh subscript)}(h :sub:`00`h]h00}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK%hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h G\ :sub:`01`h](hG }(hjhhhNhNubj)}(h :sub:`01`h]h01}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK&hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h B\ :sub:`02`h](hB }(hjhhhNhNubj)}(h :sub:`02`h]h02}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK'hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h G\ :sub:`03`h](hG }(hj(hhhNhNubj)}(h :sub:`03`h]h03}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1j%hhhK(hj%ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 4:h]h start + 4:}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK)hjSubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]j&)}(h G\ :sub:`10`h](hG }(hjmhhhNhNubj)}(h :sub:`10`h]h10}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubeh}(h]h ]h"]h$]h&]uh1j%hhhK*hjjubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]j&)}(h R\ :sub:`11`h](hR }(hjhhhNhNubj)}(h :sub:`11`h]h11}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK+hjubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]j&)}(h G\ :sub:`12`h](hG }(hjhhhNhNubj)}(h :sub:`12`h]h12}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]j&)}(h R\ :sub:`13`h](hR }(hjhhhNhNubj)}(h :sub:`13`h]h13}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK-hjubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 8:h]h start + 8:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK.hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h B\ :sub:`20`h](hB }(hj!hhhNhNubj)}(h :sub:`20`h]h20}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubeh}(h]h ]h"]h$]h&]uh1j%hhhK/hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h G\ :sub:`21`h](hG }(hjFhhhNhNubj)}(h :sub:`21`h]h21}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1j%hhhK0hjCubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h B\ :sub:`22`h](hB }(hjkhhhNhNubj)}(h :sub:`22`h]h22}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1j%hhhK1hjhubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h G\ :sub:`23`h](hG }(hjhhhNhNubj)}(h :sub:`23`h]h23}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK2hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 12:h]h start + 12:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK3hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h G\ :sub:`30`h](hG }(hjhhhNhNubj)}(h :sub:`30`h]h30}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK4hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h R\ :sub:`31`h](hR }(hjhhhNhNubj)}(h :sub:`31`h]h31}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK5hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h G\ :sub:`32`h](hG }(hjhhhNhNubj)}(h :sub:`32`h]h32}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(h R\ :sub:`33`h](hR }(hjDhhhNhNubj)}(h :sub:`33`h]h33}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjDubeh}(h]h ]h"]h$]h&]uh1j%hhhK7hjAubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]colsKuh1jXhjUubah}(h]h ]h"]h$]h&]uh1jShjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhjhhhhhKubeh}(h]bit-bayer-formatsah ]h"]8-bit bayer formatsah$]h&]uh1hhhhhhhhKubeh}(h](cv4l2-pix-fmt-srggb8-rggb-v4l2-pix-fmt-sgrbg8-grbg-v4l2-pix-fmt-sgbrg8-gbrg-v4l2-pix-fmt-sbggr8-ba81hhhheh ]h"](wv4l2_pix_fmt_srggb8 ('rggb'), v4l2_pix_fmt_sgrbg8 ('grbg'), v4l2_pix_fmt_sgbrg8 ('gbrg'), v4l2_pix_fmt_sbggr8 ('ba81'),v4l2-pix-fmt-sgrbg8hhheh$]h&]uh1hhhhhhhhK h}(jhhhhhhhuh}(hhhhhhhhuubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}(h]hah]hah]hah]haunameids}(hhhhhhjhjjjjjju nametypes}(hψhވhjjjjuh}(hhhhhhhhjhjjjju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages](hsystem_message)}(hhh]j&)}(hhh]h9Hyperlink target "v4l2-pix-fmt-srggb8" is not referenced.}hj)sbah}(h]h ]h"]h$]h&]uh1j%hj&ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j$ubj%)}(hhh]j&)}(hhh]h9Hyperlink target "v4l2-pix-fmt-sbggr8" is not referenced.}hjDsbah}(h]h ]h"]h$]h&]uh1j%hjAubah}(h]h ]h"]h$]h&]levelKtypej>sourcehlineKuh1j$ubj%)}(hhh]j&)}(hhh]h9Hyperlink target "v4l2-pix-fmt-sgbrg8" is not referenced.}hj^sbah}(h]h ]h"]h$]h&]uh1j%hj[ubah}(h]h ]h"]h$]h&]levelKtypej>sourcehlineKuh1j$ubj%)}(hhh]j&)}(hhh]h9Hyperlink target "v4l2-pix-fmt-sgrbg8" is not referenced.}hjxsbah}(h]h ]h"]h$]h&]uh1j%hjuubah}(h]h ]h"]h$]h&]levelKtypej>sourcehlineKuh1j$ube transformerN include_log] decorationNhhub.