SMsphinx.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-srggb12modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/zh_TW/userspace-api/media/v4l/pixfmt-srggb12modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/it_IT/userspace-api/media/v4l/pixfmt-srggb12modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ja_JP/userspace-api/media/v4l/pixfmt-srggb12modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/ko_KR/userspace-api/media/v4l/pixfmt-srggb12modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget:/translations/sp_SP/userspace-api/media/v4l/pixfmt-srggb12modnameN 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-srggb12.rsthKubhtarget)}(h.. _V4L2-PIX-FMT-SRGGB12:h]h}(h]h ]h"]h$]h&]refidv4l2-pix-fmt-srggb12uh1hhKhhhhhhubh)}(h.. _v4l2-pix-fmt-sbggr12:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sbggr12uh1hhKhhhhhhexpect_referenced_by_name}v4l2-pix-fmt-srggb12hsexpect_referenced_by_id}hhsubh)}(h.. _v4l2-pix-fmt-sgbrg12:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgbrg12uh1hhKhhhhhhh}(v4l2-pix-fmt-sbggr12hhhuh}(hhhhuubh)}(h.. _v4l2-pix-fmt-sgrbg12:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgrbg12uh1hhKhhhhhhh}(v4l2-pix-fmt-sgbrg12hhhhhuh}(hhhhhhuubhsection)}(hhh](htitle)}(h{V4L2_PIX_FMT_SRGGB12 ('RG12'), V4L2_PIX_FMT_SGRBG12 ('BA12'), V4L2_PIX_FMT_SGBRG12 ('GB12'), V4L2_PIX_FMT_SBGGR12 ('BG12'),h]hV4L2_PIX_FMT_SRGGB12 (‘RG12’), V4L2_PIX_FMT_SGRBG12 (‘BA12’), V4L2_PIX_FMT_SGBRG12 (‘GB12’), V4L2_PIX_FMT_SBGGR12 (‘BG12’),}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(hgV4L2_PIX_FMT_SGRBG12 V4L2_PIX_FMT_SGBRG12 V4L2_PIX_FMT_SBGGR12 12-bit Bayer formats expanded to 16 bitsh]hgV4L2_PIX_FMT_SGRBG12 V4L2_PIX_FMT_SGBRG12 V4L2_PIX_FMT_SBGGR12 12-bit Bayer formats expanded to 16 bits}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhhhhubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj)}(hXThese four pixel formats are raw sRGB / Bayer formats with 12 bits per colour. Each colour component is stored in a 16-bit word, with 4 unused high bits filled with zeros. 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_SBGGR12 image:h]hXThese four pixel formats are raw sRGB / Bayer formats with 12 bits per colour. Each colour component is stored in a 16-bit word, with 4 unused high bits filled with zeros. 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_SBGGR12 image:}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjhhubj)}(h[**Byte Order.** Each cell is one byte, the 4 most significant bits in the high bytes are 0.h](hstrong)}(h**Byte Order.**h]h Byte Order.}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j6hj2ubhL Each cell is one byte, the 4 most significant bits in the high bytes are 0.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubj[)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jZhjWubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]j)}(h start + 0:h]h start + 0:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK*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&]uh1jhhhK+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&]uh1jhhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hG\ :sub:`01low`h](hG }(hj(hhhNhNubj)}(h :sub:`01low`h]h01low}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhhhK-hj%ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hG\ :sub:`01high`h](hG }(hjMhhhNhNubj)}(h :sub:`01high`h]h01high}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1jhhhK.hjJubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hB\ :sub:`02low`h](hB }(hjrhhhNhNubj)}(h :sub:`02low`h]h02low}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1jhhhK/hjoubah}(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&]uh1jhhhK0hjubah}(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&]uh1jhhhK1hjubah}(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&]uh1jhhhK2hjubah}(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&]uh1jhhhK3hj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j)}(hG\ :sub:`10low`h](hG }(hj&hhhNhNubj)}(h :sub:`10low`h]h10low}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubeh}(h]h ]h"]h$]h&]uh1jhhhK4hj#ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j)}(hG\ :sub:`10high`h](hG }(hjKhhhNhNubj)}(h :sub:`10high`h]h10high}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1jhhhK5hjHubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j)}(hR\ :sub:`11low`h](hR }(hjphhhNhNubj)}(h :sub:`11low`h]h11low}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ]h"]h$]h&]uh1jhhhK6hjmubah}(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&]uh1jhhhK7hjubah}(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&]uh1jhhhK8hjubah}(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&]uh1jhhhK9hjubah}(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&]uh1jhhhK:hjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]j)}(hR\ :sub:`13high`h](hR }(hj)hhhNhNubj)}(h :sub:`13high`h]h13high}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhhhK;hj&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:}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(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&]uh1jhhhK?hjubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(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&]uh1jhhhK@hjubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(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&]uh1jhhhKAhjubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(hhh]j)}(hB\ :sub:`22high`h](hB }(hj'hhhNhNubj)}(h :sub:`22high`h]h22high}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhhhKBhj$ubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(hhh]j)}(hG\ :sub:`23low`h](hG }(hjLhhhNhNubj)}(h :sub:`23low`h]h23low}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubeh}(h]h ]h"]h$]h&]uh1jhhhKChjIubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(hhh]j)}(hG\ :sub:`23high`h](hG }(hjqhhhNhNubj)}(h :sub:`23high`h]h23high}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubeh}(h]h ]h"]h$]h&]uh1jhhhKDhjnubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j)}(h start + 24:h]h start + 24:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKEhjubah}(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&]uh1jhhhKFhjubah}(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&]uh1jhhhKGhjubah}(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&]uh1jhhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hR\ :sub:`31high`h](hR }(hj%hhhNhNubj)}(h :sub:`31high`h]h31high}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhhhKIhj"ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hG\ :sub:`32low`h](hG }(hjJhhhNhNubj)}(h :sub:`32low`h]h32low}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1jhhhKJhjGubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hG\ :sub:`32high`h](hG }(hjohhhNhNubj)}(h :sub:`32high`h]h32high}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjoubeh}(h]h ]h"]h$]h&]uh1jhhhKKhjlubah}(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&]uh1jhhhKLhjubah}(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&]uh1jhhhKMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]colsK uh1jUhjRubah}(h]h ]h"]h$]h&]uh1jPhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhKubeh}(h](gv4l2-pix-fmt-srggb12-rg12-v4l2-pix-fmt-sgrbg12-ba12-v4l2-pix-fmt-sgbrg12-gb12-v4l2-pix-fmt-sbggr12-bg12hhhheh ]h"]({v4l2_pix_fmt_srggb12 ('rg12'), v4l2_pix_fmt_sgrbg12 ('ba12'), v4l2_pix_fmt_sgbrg12 ('gb12'), v4l2_pix_fmt_sbggr12 ('bg12'),v4l2-pix-fmt-sgrbg12hhheh$]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_handlerj)error_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}(hhhhhhjhjjjju nametypes}(hψhވhjjjuh}(hhhhhhhhjhjju 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-srggb12" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1jubj)}(hhh]j)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sbggr12" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]j)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sgbrg12" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]j)}(hhh]h:Hyperlink target "v4l2-pix-fmt-sgrbg12" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jube transformerN include_log] decorationNhhub.