+
    #ÏjÀ  ã                   óP  € ^ RI t ^ RIHu Ht ^ RIHt ] P                  ! ]]! 4       4      t	] P                  R R l4       t] P                  ] P                   ! R R4      4       4       t] P                  R R l4       t] P                  ] P                   ! R	 R
4      4       4       tR# )é    N)Úint64_tc                ó˜   € V ^8„  d   QhR\         P                  \         P                  \        P                  ,          ,          R\
        /# ©é   ÚptrÚreturn)ÚcythonÚpointerÚconstÚlibÚAVIndexEntryÚ
IndexEntry)Úformats   "Ú>/opt/data/home/.local/lib/python3.14/site-packages/av/index.pyÚ__annotate__r   	   s2   € ÷ ñ œ&Ÿ.™.¬¯©´c×6FÑ6FÕ)GÕHð ÌZñ ó    c                 óF   € \        \        4      pVP                  V 4       V# ©N)r   Ú_cinit_bypass_sentinelÚ_init©r   Úobjs   & r   Úwrap_index_entryr      s   € ä Ô!7Ó8€CØ‡I�Iˆc„NØ€Jr   c                   óÐ   a € ] tR t^t o RtR t]P                  V 3R lR l4       tR t	]
R 4       t]
R 4       t]
R 4       t]
R	 4       t]
R
 4       t]
R 4       t]
R 4       tRtV tR# )r   z£A single entry from a stream's index.

This is a thin wrapper around FFmpeg's ``AVIndexEntry``.

The exact meaning of the fields depends on the container/demuxer.
c                ó0   € V\         Jd   \        R 4      hR# )z&cannot manually instantiate IndexEntryN©r   ÚRuntimeError©ÚselfÚsentinels   &&r   Ú	__cinit__ÚIndexEntry.__cinit__   s   € ØÔ1Ó1ÜÐGÓHÐHñ 2r   c                ó|   <€ V ^8„  d   QhRS[ P                  S[ P                  S[P                  ,          ,          /# ©r   r   )r	   r
   r   r   r   )r   Ú__classdict__s   "€r   r   ÚIndexEntry.__annotate__   s,   ø€ ÷ ñ ™Ÿ™©¯©±S×5EÑ5EÕ(FÕGñ r   c                ó   € Wn         R # r   ©r   ©r   r   s   &&r   r   ÚIndexEntry._init   s   € àŽr   c                óŠ   € R V P                    RV P                   RV P                   RV P                   RV P                   R2# )z<av.IndexEntry pos=z timestamp=z flags=z size=z min_distance=Ú>)ÚposÚ	timestampÚflagsÚsizeÚmin_distance©r   s   &r   Ú__repr__ÚIndexEntry.__repr__!   sK   € à! $§(¡( ¨;°t·~±~Ð6FÀgÈdÏjÉjÈ\ð ZØ—I‘I�;˜n¨T×->Ñ->Ð,?¸qðBð	
r   c                ó.   € V P                   P                  # r   )r   r-   r2   s   &r   r-   ÚIndexEntry.pos'   s   € à�x‰x�|‰|Ðr   c                ó.   € V P                   P                  # r   )r   r.   r2   s   &r   r.   ÚIndexEntry.timestamp+   s   € à�x‰x×!Ñ!Ð!r   c                ó.   € V P                   P                  # r   )r   r/   r2   s   &r   r/   ÚIndexEntry.flags/   s   € à�x‰x�~‰~Ðr   c                ój   € \        V P                  P                  \        P                  ,          4      # r   )Úboolr   r/   r   ÚAVINDEX_KEYFRAMEr2   s   &r   Úis_keyframeÚIndexEntry.is_keyframe3   s    € ä�D—H‘H—N‘N¤S×%9Ñ%9Õ9Ó:Ð:r   c                ój   € \        V P                  P                  \        P                  ,          4      # r   )r<   r   r/   r   ÚAVINDEX_DISCARD_FRAMEr2   s   &r   Ú
is_discardÚIndexEntry.is_discard7   s    € ä�D—H‘H—N‘N¤S×%>Ñ%>Õ>Ó?Ð?r   c                ó.   € V P                   P                  # r   )r   r0   r2   s   &r   r0   ÚIndexEntry.size;   s   € à�x‰x�}‰}Ðr   c                ó.   € V P                   P                  # r   )r   r1   r2   s   &r   r1   ÚIndexEntry.min_distance?   s   € à�x‰x×$Ñ$Ð$r   r(   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r!   r	   Úcfuncr   r3   Úpropertyr-   r.   r/   r>   rB   r0   r1   Ú__static_attributes__Ú__classdictcell__©r%   s   @r   r   r      s»   ø‡ € ñòIð ‡\�\÷ó ðò
ð ñó ðð ñ"ó ð"ð ñó ðð ñ;ó ð;ð ñ@ó ð@ð ñó ðð ñ%ó ö%r   r   c                ón   € V ^8„  d   QhR\         P                  \        P                  ,          R\        /# r   )r	   r
   r   ÚAVStreamÚIndexEntries)r   s   "r   r   r   E   s'   € ÷ ñ œFŸN™N¬3¯<©<Õ8ð ¼\ñ r   c                 óF   € \        \        4      pVP                  V 4       V# r   )rT   r   r   r   s   & r   Úwrap_index_entriesrV   D   s   € ä$Ô%;Ó<€CØ‡I�Iˆc„NØ€Jr   c                   óœ   a € ] tR t^Kt o RtR t]P                  V 3R lR l4       tR t	V 3R lR lt
R tR	 tR
RRR/V 3R lR lltRtV tR# )rT   a4  A sequence-like view of FFmpeg's per-stream index entries.

Exposed as :attr:`~av.stream.Stream.index_entries`.

The index is provided by the demuxer and may be empty or incomplete depending
on the container format. This is useful for fast multi-seek loops (e.g., decoding
at a lower-than-native framerate).
c                ó0   € V\         J d   R # \        R4      h)Nz(cannot manually instantiate IndexEntriesr   r   s   &&r   r!   ÚIndexEntries.__cinit__W   s   € ØÔ-Ó-ÙÜÐEÓFÐFr   c                óX   <€ V ^8„  d   QhRS[ P                  S[P                  ,          /# r$   )r	   r
   r   rS   )r   r%   s   "€r   r   ÚIndexEntries.__annotate__]   s!   ø€ ÷ ñ ™Ÿ™©¯©Õ5ñ r   c                ó   € Wn         R # r   ©Ú
stream_ptrr)   s   &&r   r   ÚIndexEntries._init\   s   € àŽr   c                ó    € R \        V 4       R2# )z<av.IndexEntries[z]>)Úlenr2   s   &r   r3   ÚIndexEntries.__repr__`   s   € Ø"¤3 t£9 +¨RÐ0Ð0r   c                ó    <€ V ^8„  d   QhRS[ /# )r   r   )Úint)r   r%   s   "€r   r   r[   c   s   ø€ ÷ Iñ I™ñ Ir   c                ó°   € \         P                  ;_uu_ 4        \        P                  ! V P                  4      uuR R R 4       #   + '       g   i     R # ; ir   )r	   Únogilr   Ú avformat_index_get_entries_countr^   r2   s   &r   Ú__len__ÚIndexEntries.__len__c   s)   € Ü�\�\‹\Ü×7Ò7¸¿¹ÓH÷ �\�\‹\ús   ™ AÁA	c              #  óX   "  € \        \        V 4      4       F  pW,          x € K  	  R # 5ir   )Úrangera   )r   Úis   & r   Ú__iter__ÚIndexEntries.__iter__g   s   é € Ü”s˜4“yÖ!ˆAØ•'ŒMó "ùs   ‚(*c                ól  € \        V\        4      '       d¨   \        V 4      pV^ 8  d	   W,          pV^ 8  g   W8¼  d   \        RV RV 24      hTp\        P
                  ;_uu_ 4        \        P                  ! V P                  V4      pRRR4       X\        P                  8X  d   \        R4      h\        V4      # \        V\        4      '       d@   VP                  \        V 4      4      w  rVp\        WVV4       Uu. uF  q€V,          NK  	  up# \        R4      h  + '       g   i     L›; iu upi )r   zIndex entries z out of bounds for size Nzindex entry not foundz#Index must be an integer or a slice)Ú
isinstancerd   ra   Ú
IndexErrorr	   rf   r   Úavformat_index_get_entryr^   ÚNULLr   ÚsliceÚindicesrk   Ú	TypeError)	r   ÚindexÚnÚc_idxÚentryÚstartÚstopÚsteprl   s	   &&       r   Ú__getitem__ÚIndexEntries.__getitem__k   sö   € Ü�eœS×!Ò!Ü�D“	ˆAØ�qŒyØ•
�Ø�qŒy˜EœJÜ  >°%°Ð8PÐQRÐPSÐ!TÓUÐUà %ˆEä——“Ü×4Ò4°T·_±_ÀeÓL�÷ àœŸ™Ô#Ü Ð!8Ó9Ð9ä# EÓ*Ð*Ü˜œu×%Ò%Ø %§¡¬c°$«iÓ 8ÑˆE˜Ü%*¨5¸Ô%=Ó>Ñ%= ˜—G�GÑ%=Ñ>Ð>äÐAÓBÐB÷ —üò ?s   Á)"DÃ?D1ÄD.	ÚbackwardTÚ	any_frameFc                ó&   <€ V ^8„  d   QhRS[ RS[ /# )r   r€   r�   )r<   )r   r%   s   "€r   r   r[   �   s   ø€ ÷ ñ Ù&*ðÙ>Bñr   c               ó6  € Tp^ pV'       d   V\         P                  ,          pV'       d   V\         P                  ,          p\        P                  ;_uu_ 4        \         P
                  ! V P                  WE4      pRRR4       V#   + '       g   i     X# ; i)z§Search the underlying index for ``timestamp``.

This wraps FFmpeg's ``av_index_search_timestamp``.

Returns an index into this object, or ``-1`` if no match is found.
N)r   ÚAVSEEK_FLAG_BACKWARDÚAVSEEK_FLAG_ANYr	   rf   Úav_index_search_timestampr^   )r   r.   r€   r�   Úc_timestampr/   Úidxs   &&$$   r   Úsearch_timestampÚIndexEntries.search_timestamp�   sn   € ð  )ˆØˆçØ”S×-Ñ-Õ-ˆEßØ”S×(Ñ(Õ(ˆEä�\�\‹\Ü×/Ò/°·±ÀÓTˆC÷ ð ˆ
÷ Ž\ð ˆ
ús   Á"BÂB	r]   N)rH   rI   rJ   rK   rL   r!   r	   rM   r   r3   rh   rm   r~   r‰   rO   rP   rQ   s   @r   rT   rT   K   sc   ø‡ € ñòGð
 ‡\�\÷ó ðò1÷Ið IòòCð,Ø-1ðØEJ÷÷ ð r   rT   )r	   Úcython.cimports.libavÚcimportsÚlibavr   Úcython.cimports.libc.stdintr   ÚdeclareÚobjectr   rM   r   ÚfinalÚcclassr   rV   rT   © r   r   Ú<module>r”      sª   ðÛ ß #Ð #Ý /àŸš¨±³Ó9Ð ð ‡�ôó ðð ‡�Ø‡�÷0%ð 0%ó ó ð0%ðf ‡�ôó ðð ‡�Ø‡�÷Hð Hó ó òHr   