bLsphinx.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]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&]hv4l2-pix-fmt-sbggr16uh1hhKhhhhhhexpect_referenced_by_name}v4l2-pix-fmt-srggb16hsexpect_referenced_by_id}hhsubh)}(h.. _v4l2-pix-fmt-sgbrg16:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgbrg16uh1hhKhhhhhhh}(v4l2-pix-fmt-sbggr16hhhuh}(hhhhuubh)}(h.. _v4l2-pix-fmt-sgrbg16:h]h}(h]h ]h"]h$]h&]hv4l2-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’),}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h16-bit Bayer formatsh]h16-bit Bayer formats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh 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&]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&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]hjZubj^)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1j]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&)}(hB\ :sub:`00low`h](hB }(hjhhhNhNubh subscript)}(h :sub:`00low`h]h00low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK%hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hB\ :sub:`00high`h](hB }(hjhhhNhNubj)}(h :sub:`00high`h]h00high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK&hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hG\ :sub:`01low`h](hG }(hj+hhhNhNubj)}(h :sub:`01low`h]h01low}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]uh1j%hhhK'hj(ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hG\ :sub:`01high`h](hG }(hjPhhhNhNubj)}(h :sub:`01high`h]h01high}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1j%hhhK(hjMubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hB\ :sub:`02low`h](hB }(hjuhhhNhNubj)}(h :sub:`02low`h]h02low}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]uh1j%hhhK)hjrubah}(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&]uh1j%hhhK*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&]uh1j%hhhK+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&]uh1j%hhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 8:h]h start + 8:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK-hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j&)}(hG\ :sub:`10low`h](hG }(hj)hhhNhNubj)}(h :sub:`10low`h]h10low}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1j%hhhK.hj&ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j&)}(hG\ :sub:`10high`h](hG }(hjNhhhNhNubj)}(h :sub:`10high`h]h10high}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1j%hhhK/hjKubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j&)}(hR\ :sub:`11low`h](hR }(hjshhhNhNubj)}(h :sub:`11low`h]h11low}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubeh}(h]h ]h"]h$]h&]uh1j%hhhK0hjpubah}(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&]uh1j%hhhK1hjubah}(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&]uh1j%hhhK2hjubah}(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&]uh1j%hhhK3hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j&)}(hR\ :sub:`13low`h](hR }(hjhhhNhNubj)}(h :sub:`13low`h]h13low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhK4hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j&)}(hR\ :sub:`13high`h](hR }(hj,hhhNhNubj)}(h :sub:`13high`h]h13high}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1j%hhhK5hj)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:}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK6hjWubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(hhh]j&)}(hB\ :sub:`20low`h](hB }(hjqhhhNhNubj)}(h :sub:`20low`h]h20low}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1j%hhhK7hjnubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(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&]uh1j%hhhK8hjubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(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&]uh1j%hhhK9hjubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(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&]uh1j%hhhK:hjubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(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&]uh1j%hhhK;hjubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(hhh]j&)}(hB\ :sub:`22high`h](hB }(hj*hhhNhNubj)}(h :sub:`22high`h]h22high}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubeh}(h]h ]h"]h$]h&]uh1j%hhhKhjqubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 24:h]h start + 24:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK?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&]uh1j%hhhK@hjubah}(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&]uh1j%hhhKAhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hR\ :sub:`31low`h](hR }(hjhhhNhNubj)}(h :sub:`31low`h]h31low}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hR\ :sub:`31high`h](hR }(hj(hhhNhNubj)}(h :sub:`31high`h]h31high}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1j%hhhKChj%ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hG\ :sub:`32low`h](hG }(hjMhhhNhNubj)}(h :sub:`32low`h]h32low}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1j%hhhKDhjJubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hG\ :sub:`32high`h](hG }(hjrhhhNhNubj)}(h :sub:`32high`h]h32high}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1j%hhhKEhjoubah}(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&]uh1j%hhhKFhjubah}(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&]uh1j%hhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]colsK uh1jXhjUubah}(h]h ]h"]h$]h&]uh1jShjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhjhhhhhKubeh}(h]bit-bayer-formatsah ]h"]16-bit bayer formatsah$]h&]uh1hhhhhhhhKubeh}(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-sgrbg16hhheh$]h&]uh1hhhhhhhhK h}(j hhhhhhhuh}(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_handlerj4error_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}(hhhhhhj hj j jjjju nametypes}(hψhވhj j jjuh}(hhhhhhhhj hjjjju 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&]uh1j%hjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1jubj)}(hhh]j&)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sbggr16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j%hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]j&)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sgbrg16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j%hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]j&)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sgrbg16" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j%hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jube transformerN include_log] decorationNhhub.