Esphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetB/translations/zh_CN/userspace-api/media/v4l/v4l2-selection-targetsmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/zh_TW/userspace-api/media/v4l/v4l2-selection-targetsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/it_IT/userspace-api/media/v4l/v4l2-selection-targetsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/ja_JP/userspace-api/media/v4l/v4l2-selection-targetsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/ko_KR/userspace-api/media/v4l/v4l2-selection-targetsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/pt_BR/userspace-api/media/v4l/v4l2-selection-targetsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/sp_SP/userspace-api/media/v4l/v4l2-selection-targetsmodnameN 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:spacepreserveuh1hhhhhh\/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/v4l2-selection-targets.rsthKubhtarget)}(h.. _v4l2-selection-targets:h]h}(h]h ]h"]h$]h&]refidv4l2-selection-targetsuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hSelection targetsh]hSelection targets}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hkThe precise meaning of the selection targets may be dependent on which of the two interfaces they are used.h]hkThe precise meaning of the selection targets may be dependent on which of the two interfaces they are used.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(h!.. _v4l2-selection-targets-table:h]h}(h]h ]h"]h$]h&]hԌv4l2-selection-targets-tableuh1hhKhhhhhhubhraw)}(h\smallh]h\small}hjsbah}(h]jah ]h"]v4l2-selection-targets-tableah$]h&]formatlatexhhuh1jhhhKhhhhexpect_referenced_by_name}jhsexpect_referenced_by_id}jhsubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec.|p{6.2cm}|p{1.4cm}|p{7.3cm}|p{1.2cm}|p{0.8cm}|uh1jhhhKhhhhubhtable)}(hhh](h)}(hSelection target definitionsh]hSelection target definitions}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj,ubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jBhj?ubjC)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jBhj?ubjC)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jBhj?ubjC)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jBhj?ubjC)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jBhj?ubhthead)}(hhh]hrow)}(hhh](hentry)}(hhh]h)}(h Target nameh]h Target name}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj}ubj)}(hhh]h)}(hidh]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj}ubj)}(hhh]h)}(h Definitionh]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj}ubj)}(hhh]h)}(hValid for V4L2h]hValid for V4L2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj}ubj)}(hhh]h)}(hValid for V4L2 subdevh]hValid for V4L2 subdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1jhj}ubeh}(h]h ]h"]h$]h&]uh1j{hjxubah}(h]h ]h"]h$]h&]uh1jvhj?ubhtbody)}(hhh](j|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_CROP``h]hliteral)}(hjh]hV4L2_SEL_TGT_CROP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhK!hj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x0000h]h0x0000}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hj+ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h)Crop rectangle. Defines the cropped area.h]h)Crop rectangle. Defines the cropped area.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjBubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjYubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hjpubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_CROP_DEFAULT``h]j)}(hjh]hV4L2_SEL_TGT_CROP_DEFAULT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK&hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x0001h]h0x0001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK'hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hSuggested cropping rectangle that covers the "whole picture". This includes only active pixels and excludes other non-active pixels such as black pixels.h]hSuggested cropping rectangle that covers the “whole picture”. This includes only active pixels and excludes other non-active pixels such as black pixels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK(hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK+hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_CROP_BOUNDS``h]j)}(hjh]hV4L2_SEL_TGT_CROP_BOUNDS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK-hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x0002h]h0x0002}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hj5ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h]Bounds of the crop rectangle. All valid crop rectangles fit inside the crop bounds rectangle.h]h]Bounds of the crop rectangle. All valid crop rectangles fit inside the crop bounds rectangle.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK/hjLubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjcubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hjzubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_NATIVE_SIZE``h]j)}(hjh]hV4L2_SEL_TGT_NATIVE_SIZE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK3hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x0003h]h0x0003}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK4hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hqThe native size of the device, e.g. a sensor's pixel array. ``left`` and ``top`` fields are zero for this target.h](h>The native size of the device, e.g. a sensor’s pixel array. }(hjhhhNhNubj)}(h``left``h]hleft}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``top``h]htop}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! fields are zero for this target.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK5hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj#ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_COMPOSE``h]j)}(hjHh]hV4L2_SEL_TGT_COMPOSE}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhhhK9hjCubah}(h]h ]h"]h$]h&]uh1jhj@ubj)}(hhh]h)}(h0x0100h]h0x0100}(hjfhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjcubah}(h]h ]h"]h$]h&]uh1jhj@ubj)}(hhh]h)}(h=Compose rectangle. Used to configure scaling and composition.h]h=Compose rectangle. Used to configure scaling and composition.}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hjzubah}(h]h ]h"]h$]h&]uh1jhj@ubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x0101h]h0x0101}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h@Suggested composition rectangle that covers the "whole picture".h]hDSuggested composition rectangle that covers the “whole picture”.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hNoh]hNo}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhj-ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_COMPOSE_BOUNDS``h]j)}(hjRh]hV4L2_SEL_TGT_COMPOSE_BOUNDS}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubah}(h]h ]h"]h$]h&]uh1hhhhKChjMubah}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh]h)}(h0x0102h]h0x0102}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjmubah}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh]h)}(hfBounds of the compose rectangle. All valid compose rectangles fit inside the compose bounds rectangle.h]hfBounds of the compose rectangle. All valid compose rectangles fit inside the compose bounds rectangle.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjJubj)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjJubeh}(h]h ]h"]h$]h&]uh1j{hjubj|)}(hhh](j)}(hhh]h)}(h``V4L2_SEL_TGT_COMPOSE_PADDED``h]j)}(hjh]hV4L2_SEL_TGT_COMPOSE_PADDED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKIhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x0103h]h0x0103}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hQThe active area and all padding pixels that are inserted or modified by hardware.h]hQThe active area and all padding pixels that are inserted or modified by hardware.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hYesh]hYes}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKMhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hNoh]hNo}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1j{hjubeh}(h]h ]h"]h$]h&]uh1jhj?ubeh}(h]h ]h"]h$]h&]colsKuh1j=hj,ubeh}(h]id1ah ] longtableah"]h$]h&]uh1j*hhhhhNhNubj)}(h \normalsizeh]h \normalsize}hjisbah}(h]h ]h"]h$]h&]formatlatexhhuh1jhhhKPhhhhubeh}(h](selection-targetsheh ]h"](selection targetsv4l2-selection-targetseh$]h&]uh1hhhhhhhhKj}jhsj}hhsubeh}(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_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]haj]haunameids}(jhj~j{jju nametypes}(jj~juh}(hhj{hjjjcj,u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jKsRparse_messages]transform_messages](hsystem_message)}(hhh]h)}(hhh]h