Msphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget:/translations/zh_CN/userspace-api/media/v4l/pixfmt-srggb16modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/zh_TW/userspace-api/media/v4l/pixfmt-srggb16modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/it_IT/userspace-api/media/v4l/pixfmt-srggb16modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ja_JP/userspace-api/media/v4l/pixfmt-srggb16modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ko_KR/userspace-api/media/v4l/pixfmt-srggb16modnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/pt_BR/userspace-api/media/v4l/pixfmt-srggb16modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/sp_SP/userspace-api/media/v4l/pixfmt-srggb16modnameN 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:spacepreserveuh1hhhhhhT/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/pixfmt-srggb16.rsthKubhtarget)}(h.. _V4L2-PIX-FMT-SRGGB16:h]h}(h]h ]h"]h$]h&]refidv4l2-pix-fmt-srggb16uh1hhKhhhhhhubh)}(h.. _v4l2-pix-fmt-sbggr16:h]h}(h]h ]h"]h$]h&]hԌv4l2-pix-fmt-sbggr16uh1hhKhhhhhhnjexpect_referenced_by_name}v4l2-pix-fmt-srggb16hsexpect_referenced_by_id}hhsubh)}(h.. _v4l2-pix-fmt-sgbrg16:h]h}(h]h ]h"]h$]h&]hԌv4l2-pix-fmt-sgbrg16uh1hhKhhhhhhh}(v4l2-pix-fmt-sbggr16hhhuh}(hhhhuubh)}(h.. _v4l2-pix-fmt-sgrbg16:h]h}(h]h ]h"]h$]h&]hԌv4l2-pix-fmt-sgrbg16uh1hhKhhhhhhh}(v4l2-pix-fmt-sgbrg16hhhhhuh}(hhhhhhuubhsection)}(hhh](htitle)}(h{V4L2_PIX_FMT_SRGGB16 ('RG16'), V4L2_PIX_FMT_SGRBG16 ('GR16'), V4L2_PIX_FMT_SGBRG16 ('GB16'), V4L2_PIX_FMT_SBGGR16 ('BYR2'),h]hV4L2_PIX_FMT_SRGGB16 (‘RG16’), V4L2_PIX_FMT_SGRBG16 (‘GR16’), V4L2_PIX_FMT_SGBRG16 (‘GB16’), V4L2_PIX_FMT_SBGGR16 (‘BYR2’),}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhhhhhK ubj)}(hhh](j)}(h16-bit Bayer formatsh]h16-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)}(hXThese four pixel formats are raw sRGB / Bayer formats with 16 bits per sample. Each sample is stored in a 16-bit word. Each n-pixel row contains n/2 green samples and n/2 blue or red samples, with alternating red and blue rows. Bytes are stored in memory in little endian order. They are conventionally described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example of a small V4L2_PIX_FMT_SBGGR16 image:h]hXThese four pixel formats are raw sRGB / Bayer formats with 16 bits per sample. Each sample is stored in a 16-bit word. Each n-pixel row contains n/2 green samples and n/2 blue or red samples, with alternating red and blue rows. Bytes are stored in memory in little endian order. They are conventionally described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example of a small V4L2_PIX_FMT_SBGGR16 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&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubjr)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jqhjnubhtbody)}(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:)}(hB\ :sub:`00low`h](hB }(hjhhhNhNubh subscript)}(h :sub:`00low`h]h00low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK&hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hB\ :sub:`00high`h](hB }(hjhhhNhNubj)}(h :sub:`00high`h]h00high}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK'hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`01low`h](hG }(hj?hhhNhNubj)}(h :sub:`01low`h]h01low}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]uh1j9hhhK(hj<ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`01high`h](hG }(hjdhhhNhNubj)}(h :sub:`01high`h]h01high}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubeh}(h]h ]h"]h$]h&]uh1j9hhhK)hjaubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hB\ :sub:`02low`h](hB }(hjhhhNhNubj)}(h :sub:`02low`h]h02low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK*hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hB\ :sub:`02high`h](hB }(hjhhhNhNubj)}(h :sub:`02high`h]h02high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`03low`h](hG }(hjhhhNhNubj)}(h :sub:`03low`h]h03low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`03high`h](hG }(hjhhhNhNubj)}(h :sub:`03high`h]h03high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK-hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j:)}(h start + 8:h]h start + 8:}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK.hj#ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hG\ :sub:`10low`h](hG }(hj=hhhNhNubj)}(h :sub:`10low`h]h10low}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1j9hhhK/hj:ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hG\ :sub:`10high`h](hG }(hjbhhhNhNubj)}(h :sub:`10high`h]h10high}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1j9hhhK0hj_ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hR\ :sub:`11low`h](hR }(hjhhhNhNubj)}(h :sub:`11low`h]h11low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK1hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hR\ :sub:`11high`h](hR }(hjhhhNhNubj)}(h :sub:`11high`h]h11high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK2hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hG\ :sub:`12low`h](hG }(hjhhhNhNubj)}(h :sub:`12low`h]h12low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK3hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hG\ :sub:`12high`h](hG }(hjhhhNhNubj)}(h :sub:`12high`h]h12high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK4hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hR\ :sub:`13low`h](hR }(hjhhhNhNubj)}(h :sub:`13low`h]h13low}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK5hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j:)}(hR\ :sub:`13high`h](hR }(hj@hhhNhNubj)}(h :sub:`13high`h]h13high}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1j9hhhK6hj=ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j:)}(h start + 16:h]h start + 16:}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK7hjkubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hB\ :sub:`20low`h](hB }(hjhhhNhNubj)}(h :sub:`20low`h]h20low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK8hjubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hB\ :sub:`20high`h](hB }(hjhhhNhNubj)}(h :sub:`20high`h]h20high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK9hjubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hG\ :sub:`21low`h](hG }(hjhhhNhNubj)}(h :sub:`21low`h]h21low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK:hjubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hG\ :sub:`21high`h](hG }(hjhhhNhNubj)}(h :sub:`21high`h]h21high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK;hjubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hB\ :sub:`22low`h](hB }(hjhhhNhNubj)}(h :sub:`22low`h]h22low}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKhhhNhNubj)}(h :sub:`22high`h]h22high}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubeh}(h]h ]h"]h$]h&]uh1j9hhhK=hj;ubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hG\ :sub:`23low`h](hG }(hjchhhNhNubj)}(h :sub:`23low`h]h23low}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubeh}(h]h ]h"]h$]h&]uh1j9hhhK>hj`ubah}(h]h ]h"]h$]h&]uh1jhjhubj)}(hhh]j:)}(hG\ :sub:`23high`h](hG }(hjhhhNhNubj)}(h :sub:`23high`h]h23high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhK?hjubah}(h]h ]h"]h$]h&]uh1jhjhubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j:)}(h start + 24:h]h start + 24:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j9hhhK@hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`30low`h](hG }(hjhhhNhNubj)}(h :sub:`30low`h]h30low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKAhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`30high`h](hG }(hjhhhNhNubj)}(h :sub:`30high`h]h30high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hR\ :sub:`31low`h](hR }(hjhhhNhNubj)}(h :sub:`31low`h]h31low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKChjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hR\ :sub:`31high`h](hR }(hj<hhhNhNubj)}(h :sub:`31high`h]h31high}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1j9hhhKDhj9ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`32low`h](hG }(hjahhhNhNubj)}(h :sub:`32low`h]h32low}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1j9hhhKEhj^ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hG\ :sub:`32high`h](hG }(hjhhhNhNubj)}(h :sub:`32high`h]h32high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hR\ :sub:`33low`h](hR }(hjhhhNhNubj)}(h :sub:`33low`h]h33low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j:)}(hR\ :sub:`33high`h](hR }(hjhhhNhNubj)}(h :sub:`33high`h]h33high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j9hhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjnubeh}(h]h ]h"]h$]h&]colsK uh1jlhjiubah}(h]h ]h"]h$]h&]uh1jghj(hhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1jhjhhhhhKubeh}(h]bit-bayer-formatsah ]h"]16-bit bayer formatsah$]h&]uh1jhjhhhhhKubeh}(h](gv4l2-pix-fmt-srggb16-rg16-v4l2-pix-fmt-sgrbg16-gr16-v4l2-pix-fmt-sgbrg16-gb16-v4l2-pix-fmt-sbggr16-byr2hhhheh ]h"]({v4l2_pix_fmt_srggb16 ('rg16'), v4l2_pix_fmt_sgrbg16 ('gr16'), v4l2_pix_fmt_sgbrg16 ('gb16'), v4l2_pix_fmt_sbggr16 ('byr2'),v4l2-pix-fmt-sgrbg16jhheh$]h&]uh1jhhhhhhhK h}(j!hjhhhhhuh}(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_handlerjHerror_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}(hhhhjhj!hj jjjjj u nametypes}(hhjj!j jjuh}(hjhjhjhjjjjjj j(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]h:Hyperlink target "v4l2-pix-fmt-srggb16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j9hjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehnjlineKuh1jubj)}(hhh]j:)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sbggr16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j9hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehnjlineKuh1jubj)}(hhh]j:)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sgbrg16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j9hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehnjlineKuh1jubj)}(hhh]j:)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sgrbg16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j9hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehnjlineKuh1jube transformerN include_log] decorationNhhub.