€•,bŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”ŒB/translations/zh_CN/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/zh_TW/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/it_IT/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/ja_JP/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/ko_KR/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/pt_BR/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/sp_SP/userspace-api/media/v4l/vidioc-enum-dv-timings”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³Œ\/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-enum-dv-timings.rst”h´KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_ENUM_DV_TIMINGS:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-enum-dv-timings”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ;ioctl VIDIOC_ENUM_DV_TIMINGS, VIDIOC_SUBDEV_ENUM_DV_TIMINGS”h]”hŒ;ioctl VIDIOC_ENUM_DV_TIMINGS, VIDIOC_SUBDEV_ENUM_DV_TIMINGS”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒbVIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Digital Video timings”h]”hŒbVIDIOC_ENUM_DV_TIMINGS - VIDIOC_SUBDEV_ENUM_DV_TIMINGS - Enumerate supported Digital Video timings”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”Œ$V4L.VIDIOC_ENUM_DV_TIMINGS (C macro)”Œc.V4L.VIDIOC_ENUM_DV_TIMINGS”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒVIDIOC_ENUM_DV_TIMINGS”h]”hŒdesc_signature_line”“”)”}”(hŒVIDIOC_ENUM_DV_TIMINGS”h]”hŒ desc_name”“”)”}”(hŒVIDIOC_ENUM_DV_TIMINGS”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒVIDIOC_ENUM_DV_TIMINGS”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒP``int ioctl(int fd, VIDIOC_ENUM_DV_TIMINGS, struct v4l2_enum_dv_timings *argp)``”h]”hŒliteral”“”)”}”(hj”h]”hŒLint ioctl(int fd, VIDIOC_ENUM_DV_TIMINGS, struct v4l2_enum_dv_timings *argp)”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubj&)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(j2Œ+V4L.VIDIOC_SUBDEV_ENUM_DV_TIMINGS (C macro)”Œ#c.V4L.VIDIOC_SUBDEV_ENUM_DV_TIMINGS”hNt”auh1j%hjh²hh³Nh´Nubj7)”}”(hhh]”(j<)”}”(hŒVIDIOC_SUBDEV_ENUM_DV_TIMINGS”h]”jB)”}”(hŒVIDIOC_SUBDEV_ENUM_DV_TIMINGS”h]”jH)”}”(hŒVIDIOC_SUBDEV_ENUM_DV_TIMINGS”h]”jN)”}”(hj¾h]”hŒVIDIOC_SUBDEV_ENUM_DV_TIMINGS”…””}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”jYah"]”h$]”h&]”uh1jMhjÄubah}”(h]”h ]”(j`jaeh"]”h$]”h&]”hÅhÆuh1jGhjÀh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆjkˆuh1jAjljmhj¼h²hh³hÇh´Kubah}”(h]”j·ah ]”(jqjreh"]”h$]”h&]”jvˆjw)jxhuh1j;h³hÇh´Khj¹h²hubjz)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj¹h²hh³hÇh´Kubeh}”(h]”h ]”(j‡Œmacro”eh"]”h$]”h&]”jŒj‡jjójŽjój‰j‰j‘‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒW``int ioctl(int fd, VIDIOC_SUBDEV_ENUM_DV_TIMINGS, struct v4l2_enum_dv_timings *argp)``”h]”j—)”}”(hjùh]”hŒSint ioctl(int fd, VIDIOC_SUBDEV_ENUM_DV_TIMINGS, struct v4l2_enum_dv_timings *argp)”…””}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”j—)”}”(hj6h]”hŒfd”…””}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´Khj.ubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjPh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j—)”}”(hjZh]”hŒopen()”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”(Œxref”j‡Œc-func”eh"]”h$]”h&]”uh1j–hjXubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ.userspace-api/media/v4l/vidioc-enum-dv-timings”Œ refdomain”j‡Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”jyŒ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbŒ reftarget”Œopen”uh1hh³hÇh´KhjPubhŒ.”…””}”(hjPh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhj.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Khj)ubj-)”}”(hŒ;``argp`` Pointer to struct :c:type:`v4l2_enum_dv_timings`. ”h]”(j3)”}”(hŒ``argp``”h]”j—)”}”(hj¥h]”hŒargp”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´K!hjŸubjL)”}”(hhh]”hý)”}”(hŒ1Pointer to struct :c:type:`v4l2_enum_dv_timings`.”h]”(hŒPointer to struct ”…””}”(hj½h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_enum_dv_timings`”h]”j—)”}”(hjÇh]”hŒv4l2_enum_dv_timings”…””}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjÅubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_enum_dv_timings”uh1hh³hÇh´K!hj½ubhŒ.”…””}”(hj½h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K!hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´K!hj)h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hjh²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´K$ubhý)”}”(hXHWhile some DV receivers or transmitters support a wide range of timings, others support only a limited number of timings. With this ioctl applications can enumerate a list of known supported timings. Call :ref:`VIDIOC_DV_TIMINGS_CAP` to check if it also supports other standards or even custom timings that are not in this list.”h]”(hŒÍWhile some DV receivers or transmitters support a wide range of timings, others support only a limited number of timings. With this ioctl applications can enumerate a list of known supported timings. Call ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_DV_TIMINGS_CAP`”h]”hŒinline”“”)”}”(hj#h]”hŒVIDIOC_DV_TIMINGS_CAP”…””}”(hj'h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j%hj!ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j1Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj‡Œvidioc_dv_timings_cap”uh1hh³hÇh´K&hjubhŒ_ to check if it also supports other standards or even custom timings that are not in this list.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K&hjh²hubhý)”}”(hXüTo query the available timings, applications initialize the ``index`` field, set the ``pad`` field to 0, zero the reserved array of struct :c:type:`v4l2_enum_dv_timings` and call the ``VIDIOC_ENUM_DV_TIMINGS`` ioctl on a video node with a pointer to this structure. Drivers fill the rest of the structure or return an ``EINVAL`` error code when the index is out of bounds. To enumerate all supported DV timings, applications shall begin at index zero, incrementing by one until the driver returns ``EINVAL``.”h]”(hŒ` chapter.”h]”(hŒ.On success 0 is returned, on error -1 and the ”…””}”(hjÂh²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÂubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hjÂh²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”j&)”}”(hjÞh]”hŒGeneric Error Codes”…””}”(hjàh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j%hjÜubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jêŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ gen-errors”uh1hh³hÇh´K`hjÂubhŒ chapter.”…””}”(hjÂh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K`hj±h²hubj()”}”(hhh]”(j-)”}”(hŒnEINVAL The struct :c:type:`v4l2_enum_dv_timings` ``index`` is out of bounds or the ``pad`` number is invalid. ”h]”(j3)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´Kfhj ubjL)”}”(hhh]”hý)”}”(hŒfThe struct :c:type:`v4l2_enum_dv_timings` ``index`` is out of bounds or the ``pad`` number is invalid.”h]”(hŒ The struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_enum_dv_timings`”h]”j—)”}”(hj(h]”hŒv4l2_enum_dv_timings”…””}”(hj*h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj&ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œv4l2_enum_dv_timings”uh1hh³hÇh´KehjubhŒ ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``index``”h]”hŒindex”…””}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ is out of bounds or the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``pad``”h]”hŒpad”…””}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ number is invalid.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kehjubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Kfhjubj-)”}”(hŒIENODATA Digital video presets are not supported for this input or output.”h]”(j3)”}”(hŒENODATA”h]”hŒENODATA”…””}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´KhhjubjL)”}”(hhh]”hý)”}”(hŒADigital video presets are not supported for this input or output.”h]”hŒADigital video presets are not supported for this input or output.”…””}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kihj‘ubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Khhjh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hj±h²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K^ubeh}”(h]”(Œ:ioctl-vidioc-enum-dv-timings-vidioc-subdev-enum-dv-timings”hÕeh ]”h"]”(Œ;ioctl vidioc_enum_dv_timings, vidioc_subdev_enum_dv_timings”Œvidioc_enum_dv_timings”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jÂhÊsŒexpect_referenced_by_id”}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”jŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jëŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÕ]”hÊasŒnameids”}”(jÂhÕjÁj¾jjjjjjj®j«j¹j¶uŒ nametypes”}”(jˆjÁ‰j‰j‰j‰j®‰j¹‰uh}”(hÕhØj¾hØjhëjjj4j=j·j¼jjj«jjejjj¶j±j¤jÖuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”jùKs…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hhh]”hŒ