8sphinx.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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/pt_BR/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&]hԌv4l2-pix-fmt-sbggr8uh1hhKhhhhhhnjexpect_referenced_by_name}v4l2-pix-fmt-srggb8hsexpect_referenced_by_id}hhsubh)}(h.. _v4l2-pix-fmt-sgbrg8:h]h}(h]h ]h"]h$]h&]hԌv4l2-pix-fmt-sgbrg8uh1hhKhhhhhhh}(v4l2-pix-fmt-sbggr8hhhuh}(hhhhuubh)}(h.. _v4l2-pix-fmt-sgrbg8:h]h}(h]h ]h"]h$]h&]hԌv4l2-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’),}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhhhhhK ubj)}(hhh](j)}(h8-bit Bayer formatsh]h8-bit Bayer formats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhhhhhKubj)}(hhh](j)}(h Descriptionh]h Description}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(hhhhhKubh 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&]uh1j9hhhKhj(hhubj:)}(h&**Byte Order.** Each cell is one byte.h](hstrong)}(h**Byte Order.**h]h Byte Order.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jMhjIubh Each cell is one byte.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1j9hhhKhj(hhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jqhjnubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]j:)}(h start + 0:h]h start + 0:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK%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&]uh1j9hhhK&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&]uh1j9hhhK'hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h B\ :sub:`02`h](hB }(hjhhhNhNubj)}(h :sub:`02`h]h02}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK(hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h G\ :sub:`03`h](hG }(hj<hhhNhNubj)}(h :sub:`03`h]h03}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1j9hhhK)hj9ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j:)}(h start + 4:h]h start + 4:}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK*hjgubah}(h]h ]h"]h$]h&]uh1jhjdubj)}(hhh]j:)}(h G\ :sub:`10`h](hG }(hjhhhNhNubj)}(h :sub:`10`h]h10}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK+hj~ubah}(h]h ]h"]h$]h&]uh1jhjdubj)}(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&]uh1j9hhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjdubj)}(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&]uh1j9hhhK-hjubah}(h]h ]h"]h$]h&]uh1jhjdubj)}(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&]uh1j9hhhK.hjubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j:)}(h start + 8:h]h start + 8:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK/hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h B\ :sub:`20`h](hB }(hj5hhhNhNubj)}(h :sub:`20`h]h20}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1j9hhhK0hj2ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h G\ :sub:`21`h](hG }(hjZhhhNhNubj)}(h :sub:`21`h]h21}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1j9hhhK1hjWubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h B\ :sub:`22`h](hB }(hjhhhNhNubj)}(h :sub:`22`h]h22}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK2hj|ubah}(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&]uh1j9hhhK3hjubah}(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&]uh1j9hhhK4hjubah}(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&]uh1j9hhhK5hjubah}(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&]uh1j9hhhK6hj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h G\ :sub:`32`h](hG }(hj3hhhNhNubj)}(h :sub:`32`h]h32}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubeh}(h]h ]h"]h$]h&]uh1j9hhhK7hj0ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(h R\ :sub:`33`h](hR }(hjXhhhNhNubj)}(h :sub:`33`h]h33}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubeh}(h]h ]h"]h$]h&]uh1j9hhhK8hjUubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]colsKuh1jlhjiubah}(h]h ]h"]h$]h&]uh1jghj(hhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1jhjhhhhhKubeh}(h]bit-bayer-formatsah ]h"]8-bit bayer formatsah$]h&]uh1jhjhhhhhKubeh}(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-sgrbg8jhheh$]h&]uh1jhhhhhhhK h}(jhjhhhhhuh}(hhhhhhhhuubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(jN 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_sourcehnj _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}(hhhhjhjhjjjjjju nametypes}(hhjjjjjuh}(hjhjhjhjjjjjjj(u 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&]uh1j9hj:ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehnjlineKuh1j8ubj9)}(hhh]j:)}(hhh]h9Hyperlink target "v4l2-pix-fmt-sbggr8" is not referenced.}hjXsbah}(h]h ]h"]h$]h&]uh1j9hjUubah}(h]h ]h"]h$]h&]levelKtypejRsourcehnjlineKuh1j8ubj9)}(hhh]j:)}(hhh]h9Hyperlink target "v4l2-pix-fmt-sgbrg8" is not referenced.}hjrsbah}(h]h ]h"]h$]h&]uh1j9hjoubah}(h]h ]h"]h$]h&]levelKtypejRsourcehnjlineKuh1j8ubj9)}(hhh]j:)}(hhh]h9Hyperlink target "v4l2-pix-fmt-sgrbg8" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j9hjubah}(h]h ]h"]h$]h&]levelKtypejRsourcehnjlineKuh1j8ube transformerN include_log] decorationNhhub.