Psphinx.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-srggb12pmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/zh_TW/userspace-api/media/v4l/pixfmt-srggb12pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/it_IT/userspace-api/media/v4l/pixfmt-srggb12pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/ja_JP/userspace-api/media/v4l/pixfmt-srggb12pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/ko_KR/userspace-api/media/v4l/pixfmt-srggb12pmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget;/translations/sp_SP/userspace-api/media/v4l/pixfmt-srggb12pmodnameN 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:spacepreserveuh1hhhhhhU/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/pixfmt-srggb12p.rsthKubhtarget)}(h.. _V4L2-PIX-FMT-SRGGB12P:h]h}(h]h ]h"]h$]h&]refidv4l2-pix-fmt-srggb12puh1hhKhhhhhhubh)}(h.. _v4l2-pix-fmt-sbggr12p:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sbggr12puh1hhKhhhhhhexpect_referenced_by_name}v4l2-pix-fmt-srggb12phsexpect_referenced_by_id}hhsubh)}(h.. _v4l2-pix-fmt-sgbrg12p:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgbrg12puh1hhKhhhhhhh}(v4l2-pix-fmt-sbggr12phhhuh}(hhhhuubh)}(h.. _v4l2-pix-fmt-sgrbg12p:h]h}(h]h ]h"]h$]h&]hv4l2-pix-fmt-sgrbg12puh1hhKhhhhhhh}(v4l2-pix-fmt-sgbrg12phhhhhuh}(hhhhhhuubhsection)}(hhh](htitle)}(hV4L2_PIX_FMT_SRGGB12P ('pRCC'), V4L2_PIX_FMT_SGRBG12P ('pgCC'), V4L2_PIX_FMT_SGBRG12P ('pGCC'), V4L2_PIX_FMT_SBGGR12P ('pBCC'),h]hV4L2_PIX_FMT_SRGGB12P (‘pRCC’), V4L2_PIX_FMT_SGRBG12P (‘pgCC’), V4L2_PIX_FMT_SGBRG12P (‘pGCC’), V4L2_PIX_FMT_SBGGR12P (‘pBCC’),}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h12-bit packed Bayer formatsh]h12-bit packed Bayer formats}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh paragraph)}(hX8These four pixel formats are packed raw sRGB / Bayer formats with 12 bits per colour. Every two consecutive samples are packed into three bytes. Each of the first two bytes contain the 8 high order bits of the pixels, and the third byte contains the four least significants bits of each pixel, in the same order.h]hX8These four pixel formats are packed raw sRGB / Bayer formats with 12 bits per colour. Every two consecutive samples are packed into three bytes. Each of the first two bytes contain the 8 high order bits of the pixels, and the third byte contains the four least significants bits of each pixel, in the same order.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhKhjhhubj&)}(hXEach n-pixel row contains n/2 green samples and n/2 blue or red samples, with alternating green-red and green-blue rows. They are conventionally described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example of a small V4L2_PIX_FMT_SBGGR12P image:h]hXEach n-pixel row contains n/2 green samples and n/2 blue or red samples, with alternating green-red and green-blue rows. They are conventionally described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example of a small V4L2_PIX_FMT_SBGGR12P image:}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhKhjhhubj&)}(h&**Byte Order.** Each cell is one byte.h](hstrong)}(h**Byte Order.**h]h Byte Order.}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jGhjCubh Each cell is one byte.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKhjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec@|p{2.2cm}|p{1.2cm}|p{1.2cm}|p{3.1cm}|p{1.2cm}|p{1.2cm}|p{6.4cm}|uh1jahhhK"hjhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubjy)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubjy)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubjy)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubjy)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubjy)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubjy)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jxhjuubhtbody)}(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:`00high`h](hB }(hjhhhNhNubh subscript)}(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:`01high`h](hG }(hj hhhNhNubj)}(h :sub:`01high`h]h01high}(hjhhhNhNubah}(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:`01low`\ (bits 7--4)h](hG }(hj2hhhNhNubj)}(h :sub:`01low`h]h01low}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh (bits 7--4)}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhK.hj/ubj&)}(hB\ :sub:`00low`\ (bits 3--0)h](hB }(hjRhhhNhNubj)}(h :sub:`00low`h]h00low}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubh (bits 3--0)}(hjRhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhK0hj/ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hB\ :sub:`02high`h](hB }(hj{hhhNhNubj)}(h :sub:`02high`h]h02high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubeh}(h]h ]h"]h$]h&]uh1j%hhhK1hjxubah}(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%hhhK2hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j&)}(hG\ :sub:`03low`\ (bits 7--4)h](hG }(hjhhhNhNubj)}(h :sub:`03low`h]h03low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 7--4)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhK3hjubj&)}(hB\ :sub:`02low`\ (bits 3--0)h](hB }(hjhhhNhNubj)}(h :sub:`02low`h]h02low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 3--0)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhK5hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 6:h]h start + 6:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhK7hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hG\ :sub:`10high`h](hG }(hj.hhhNhNubj)}(h :sub:`10high`h]h10high}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubeh}(h]h ]h"]h$]h&]uh1j%hhhK8hj+ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hR\ :sub:`11high`h](hR }(hjShhhNhNubj)}(h :sub:`11high`h]h11high}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubeh}(h]h ]h"]h$]h&]uh1j%hhhK9hjPubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j&)}(hR\ :sub:`11low`\ (bits 7--4)h](hR }(hjxhhhNhNubj)}(h :sub:`11low`h]h11low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubh (bits 7--4)}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhK:hjuubj&)}(hG\ :sub:`10low`\ (bits 3--0)h](hG }(hjhhhNhNubj)}(h :sub:`10low`h]h10low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 3--0)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j&)}(hR\ :sub:`13low`\ (bits 7--4)h](hR }(hj hhhNhNubj)}(h :sub:`13low`h]h13low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh (bits 7--4)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhK?hjubj&)}(hG\ :sub:`12low`\ (bits 3--0)h](hG }(hj+hhhNhNubj)}(h :sub:`12low`h]h12low}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh (bits 3--0)}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKAhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 12:h]h start + 12:}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhKBhjZubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]j&)}(hB\ :sub:`20high`h](hB }(hjthhhNhNubj)}(h :sub:`20high`h]h20high}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubeh}(h]h ]h"]h$]h&]uh1j%hhhKChjqubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(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%hhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh](j&)}(hG\ :sub:`21low`\ (bits 7--4)h](hG }(hjhhhNhNubj)}(h :sub:`21low`h]h21low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 7--4)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKEhjubj&)}(hB\ :sub:`20low`\ (bits 3--0)h](hB }(hjhhhNhNubj)}(h :sub:`20low`h]h20low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 3--0)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKGhjubeh}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]j&)}(hB\ :sub:`22high`h](hB }(hjhhhNhNubj)}(h :sub:`22high`h]h22high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]j&)}(hG\ :sub:`23high`h](hG }(hj,hhhNhNubj)}(h :sub:`23high`h]h23high}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1j%hhhKIhj)ubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh](j&)}(hG\ :sub:`23low`\ (bits 7--4)h](hG }(hjQhhhNhNubj)}(h :sub:`23low`h]h23low}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh (bits 7--4)}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKJhjNubj&)}(hB\ :sub:`22low`\ (bits 3--0)h](hB }(hjqhhhNhNubj)}(h :sub:`22low`h]h22low}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubh (bits 3--0)}(hjqhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKLhjNubeh}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]j&)}(h start + 18:h]h start + 18:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j%hhhKMhjubah}(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%hhhKNhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hR\ :sub:`31high`h](hR }(hjhhhNhNubj)}(h :sub:`31high`h]h31high}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j%hhhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j&)}(hR\ :sub:`31low`\ (bits 7--4)h](hR }(hjhhhNhNubj)}(h :sub:`31low`h]h31low}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 7--4)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKPhjubj&)}(hG\ :sub:`30low`\ (bits 3--0)h](hG }(hj$hhhNhNubj)}(h :sub:`30low`h]h30low}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh (bits 3--0)}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKRhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hG\ :sub:`32high`h](hG }(hjMhhhNhNubj)}(h :sub:`32high`h]h32high}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubeh}(h]h ]h"]h$]h&]uh1j%hhhKShjJubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j&)}(hR\ :sub:`33high`h](hR }(hjrhhhNhNubj)}(h :sub:`33high`h]h33high}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubeh}(h]h ]h"]h$]h&]uh1j%hhhKThjoubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j&)}(hR\ :sub:`33low`\ (bits 7--4)h](hR }(hjhhhNhNubj)}(h :sub:`33low`h]h33low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 7--4)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKUhjubj&)}(hG\ :sub:`32low`\ (bits 3--0)h](hG }(hjhhhNhNubj)}(h :sub:`32low`h]h32low}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh (bits 3--0)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1j%hhhKWhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjuubeh}(h]h ]h"]h$]h&]colsKuh1jshjpubah}(h]h ]h"]h$]h&]uh1jnhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhjhhhhhKubeh}(h]bit-packed-bayer-formatsah ]h"]12-bit packed bayer formatsah$]h&]uh1hhhhhhhhKubeh}(h](kv4l2-pix-fmt-srggb12p-prcc-v4l2-pix-fmt-sgrbg12p-pgcc-v4l2-pix-fmt-sgbrg12p-pgcc-v4l2-pix-fmt-sbggr12p-pbcchhhheh ]h"](v4l2_pix_fmt_srggb12p ('prcc'), v4l2_pix_fmt_sgrbg12p ('pgcc'), v4l2_pix_fmt_sgbrg12p ('pgcc'), v4l2_pix_fmt_sbggr12p ('pbcc'),v4l2-pix-fmt-sgrbg12phhheh$]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_handlerj3error_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 jjjjju nametypes}(hψhވhj j jjuh}(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]h;Hyperlink target "v4l2-pix-fmt-srggb12p" 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-sbggr12p" 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-sgbrg12p" 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-sgrbg12p" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1j%hjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jube transformerN include_log] decorationNhhub.