Dsphinx.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]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&]hv4l2-selection-targets-tableuh1hhK hhhhhhubhraw)}(h\smallh]h\small}hhsbah}(h]hah ]h"]v4l2-selection-targets-tableah$]h&]formatlatexhhuh1hhhhKhhhhexpect_referenced_by_name}jhsexpect_referenced_by_id}hhsubhtabular_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}|uh1j hhhKhhhhubhtable)}(hhh](h)}(hSelection target definitionsh]hSelection target definitions}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j.hj+ubj/)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j.hj+ubj/)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j.hj+ubj/)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j.hj+ubj/)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j.hj+ubhthead)}(hhh]hrow)}(hhh](hentry)}(hhh]h)}(h Target nameh]h Target name}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnubah}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh]h)}(hidh]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh]h)}(h Definitionh]h Definition}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh]h)}(hValid for V4L2h]hValid for V4L2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhjiubjm)}(hhh]h)}(hValid for V4L2 subdevh]hValid for V4L2 subdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhjiubeh}(h]h ]h"]h$]h&]uh1jghjdubah}(h]h ]h"]h$]h&]uh1jbhj+ubhtbody)}(hhh](jh)}(hhh](jm)}(hhh]h)}(h``V4L2_SEL_TGT_CROP``h]hliteral)}(hjh]hV4L2_SEL_TGT_CROP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(h0x0000h]h0x0000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(h)Crop rectangle. Defines the cropped area.h]h)Crop rectangle. Defines the cropped area.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hj.ubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjEubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hj\ubah}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh](jm)}(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%hj|ubah}(h]h ]h"]h$]h&]uh1jlhjyubjm)}(hhh]h)}(h0x0001h]h0x0001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK&hjubah}(h]h ]h"]h$]h&]uh1jlhjyubjm)}(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&]uh1jlhjyubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK*hjubah}(h]h ]h"]h$]h&]uh1jlhjyubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK+hjubah}(h]h ]h"]h$]h&]uh1jlhjyubeh}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh](jm)}(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&]uh1jlhjubjm)}(hhh]h)}(h0x0002h]h0x0002}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hj!ubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(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.}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hj8ubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK0hjOubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjfubah}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh](jm)}(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&]uh1hhhhK2hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(h0x0003h]h0x0003}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK3hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(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&]uh1hhhhK4hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK7hjubah}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh](jm)}(hhh]h)}(h``V4L2_SEL_TGT_COMPOSE``h]j)}(hj4h]hV4L2_SEL_TGT_COMPOSE}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hhhhK8hj/ubah}(h]h ]h"]h$]h&]uh1jlhj,ubjm)}(hhh]h)}(h0x0100h]h0x0100}(hjRhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK9hjOubah}(h]h ]h"]h$]h&]uh1jlhj,ubjm)}(hhh]h)}(h=Compose rectangle. Used to configure scaling and composition.h]h=Compose rectangle. Used to configure scaling and composition.}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK:hjfubah}(h]h ]h"]h$]h&]uh1jlhj,ubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hj}ubah}(h]h ]h"]h$]h&]uh1jlhj,ubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(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&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hNoh]hNo}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubah}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh](jm)}(hhh]h)}(h``V4L2_SEL_TGT_COMPOSE_BOUNDS``h]j)}(hj>h]hV4L2_SEL_TGT_COMPOSE_BOUNDS}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hhhhKBhj9ubah}(h]h ]h"]h$]h&]uh1jlhj6ubjm)}(hhh]h)}(h0x0102h]h0x0102}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKChjYubah}(h]h ]h"]h$]h&]uh1jlhj6ubjm)}(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.}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjpubah}(h]h ]h"]h$]h&]uh1jlhj6ubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1jlhj6ubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1jlhj6ubeh}(h]h ]h"]h$]h&]uh1jghjubjh)}(hhh](jm)}(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&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(h0x0103h]h0x0103}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhjubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hYesh]hYes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKLhj ubah}(h]h ]h"]h$]h&]uh1jlhjubjm)}(hhh]h)}(hNoh]hNo}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKMhj#ubah}(h]h ]h"]h$]h&]uh1jlhjubeh}(h]h ]h"]h$]h&]uh1jghjubeh}(h]h ]h"]h$]h&]uh1jhj+ubeh}(h]h ]h"]h$]h&]colsKuh1j)hjubeh}(h]id1ah ] longtableah"]h$]h&]uh1jhhhhhNhNubh)}(h \normalsizeh]h \normalsize}hjUsbah}(h]h ]h"]h$]h&]formatlatexhhuh1hhhhKOhhhhubeh}(h](selection-targetsheh ]h"](selection targetsv4l2-selection-targetseh$]h&]uh1hhhhhhhhKj}jkhsj}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjlfootnote_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_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]haunameids}(jkhjjjgjhu nametypes}(jkjjjuh}(hhjghhhjOju 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