+
    #Ïjm  ã                   óx   € ^ RI t ^ RIHt ^ RIHt ^ RIHtHtHt ^ RI	H
t
 ] P                   ! R R4      4       tR# )é    N)Ú	err_check)Úopaque_container)Úavdict_to_dictÚavrational_to_fractionÚto_avrational)ÚSideDataContainerc                   óf  a € ] tR t^t o RtR tR tR t]P                  RV 3R lR ll4       t
]P                  R 4       t]P                  V 3R	 lR
 l4       t]R 4       t]P                  R 4       t]R 4       t]P                  R 4       t]R 4       t]P                  R 4       t]]P$                  ! R4      R 4       4       t]R 4       t]P                  R 4       t]R 4       t]R 4       t]P                  R 4       t]R 4       t]R 4       tR t]R 4       t]P                  R 4       tRtV tR# )ÚFramez
Base class for audio and video frames.

See also :class:`~av.audio.frame.AudioFrame` and :class:`~av.video.frame.VideoFrame`.
c                ó¢   € \         P                  ;_uu_ 4        \        P                  4       V n        R R R 4       R #   + '       g   i     R # ; i©N)ÚcythonÚnogilÚlibÚav_frame_allocÚptr)ÚselfÚargsÚkwargss   &*,Ú>/opt/data/home/.local/lib/python3.14/site-packages/av/frame.pyÚ	__cinit__ÚFrame.__cinit__   s'   € Ü�\�\‹\Ü×)Ñ)Ó+ˆDŒH÷ �\�\Š\ús	   ™=½A	c                óÖ   € \         P                  ;_uu_ 4        \        P                  \         P                  ! V P
                  4      4       R R R 4       R #   + '       g   i     R # ; ir   )r   r   r   Úav_frame_freeÚaddressr   ©r   s   &r   Ú__dealloc__ÚFrame.__dealloc__   s2   € Ü�\�\‹\Ü×ÑœfŸnšn¨T¯X©XÓ6Ô7÷ �\�\Š\ús   ™4AÁA(	c                ój   € R V P                   P                   RV P                   R\        V 4      R R2# )z<av.z pts=z at 0xÚxÚ>)Ú	__class__Ú__name__ÚptsÚidr   s   &r   Ú__repr__ÚFrame.__repr__   s2   € Ø�d—n‘n×-Ñ-Ð.¨e°D·H±H°:¸VÄBÀtÃHÈQÀ<ÈqÐQÐQó    Tc                ó:   <€ V ^8„  d   QhRS[ RS[P                  /# )é   ÚsourceÚdata_layout)r
   r   Úbint)ÚformatÚ__classdict__s   "€r   Ú__annotate__ÚFrame.__annotate__!   s   ø€ ÷ 	6ñ 	6±ð 	6ÁFÇKÁKñ 	6r'   c                ó¸  € VP                   V n         \        P                  V P                  VP                  4       V'       d—   VP                  P                  V P                  n        VP                  P
                  V P                  n        VP                  P                  V P                  n        VP                  P                  V P                  n        R # R # r   )Ú
_time_baser   Úav_frame_copy_propsr   r-   ÚwidthÚheightÚ	ch_layout)r   r*   r+   s   &&&r   Ú_copy_internal_attributesÚFrame._copy_internal_attributes    s†   € ð !×+Ñ+ˆŒÜ×Ñ §¡¨&¯*©*Ô5ßà$Ÿj™j×/Ñ/ˆD�H‰HŒOØ#ŸZ™Z×-Ñ-ˆD�H‰HŒNØ$Ÿj™j×/Ñ/ˆD�H‰HŒOØ!'§¡×!5Ñ!5ˆD�H‰HÖñ r'   c                ó   € R # r   © r   s   &r   Ú_init_user_attributesÚFrame._init_user_attributes,   s   € ár'   c                ó4   <€ V ^8„  d   QhRS[ P                  /# )r)   Údst)r   Ú
AVRational)r-   r.   s   "€r   r/   r0   1   s   ø€ ÷ ñ ¡§¡ñ r'   c                óÄ  € VP                   '       g   \        R 4      hV P                  P                   '       g	   Wn        R# V P                  P                   VP                   8X  d(   V P                  P                  VP                  8X  d   R# V P                  P
                  \        P                  8w  dE   \        P                  V P                  P
                  V P                  V4      V P                  n        V P                  P                  ^ 8w  dE   \        P                  V P                  P                  V P                  V4      V P                  n	        Wn        R# )zCannot rebase to zero time.N)
ÚnumÚ
ValueErrorr2   Údenr   r#   r   ÚAV_NOPTS_VALUEÚav_rescale_qÚduration)r   r>   s   &&r   Ú_rebase_timeÚFrame._rebase_time0   sÞ   € à�w�wˆwÜÐ:Ó;Ð;à�‰×"×"Ð"Ø!ŒOÙà�?‰?×Ñ #§'¡'Ô)¨d¯o©o×.AÑ.AÀSÇWÁWÔ.LÙà�8‰8�<‰<œ3×-Ñ-Ô-Ü×+Ñ+¨D¯H©H¯L©L¸$¿/¹/È3ÓOˆD�H‰HŒLà�8‰8×Ñ Ô!Ü #× 0Ñ 0Ø—‘×!Ñ! 4§?¡?°Có!ˆD�H‰HÔð Žr'   c                ó„   € V P                   P                  \        P                  8X  d   R# V P                   P                  # )a,  
The decoding timestamp copied from the :class:`~av.packet.Packet` that triggered returning this frame in :attr:`time_base` units.

(if frame threading isn't used) This is also the Presentation time of this frame calculated from only :attr:`.Packet.dts` values without pts values.

:type: int | None
N)r   Úpkt_dtsr   rD   r   s   &r   ÚdtsÚ	Frame.dtsF   s/   € ð �8‰8×Ñœs×1Ñ1Ô1ÙØ�x‰x×ÑÐr'   c                óp   € Vf"   \         P                  V P                  n        R # WP                  n        R # r   )r   rD   r   rJ   ©r   Úvalues   &&r   rK   rL   S   s#   € àŠ=Ü"×1Ñ1ˆD�H‰HÖà$�H‰HÖr'   c                ó„   € V P                   P                  \        P                  8X  d   R# V P                   P                  # )zœ
The presentation timestamp in :attr:`time_base` units for this frame.

This is the time at which the frame should be shown to the user.

:type: int | None
N)r   r#   r   rD   r   s   &r   r#   Ú	Frame.ptsZ   s+   € ð �8‰8�<‰<œ3×-Ñ-Ô-ÙØ�x‰x�|‰|Ðr'   c                óp   € Vf"   \         P                  V P                  n        R # WP                  n        R # r   )r   rD   r   r#   rN   s   &&r   r#   rQ   g   s!   € àŠ=Ü×-Ñ-ˆD�H‰HŽLà �H‰HŽLr'   c                ó.   € V P                   P                  # )zB
The duration of the frame in :attr:`time_base` units

:type: int
©r   rF   r   s   &r   rF   ÚFrame.durationn   s   € ð �x‰x× Ñ Ð r'   c                ó&   € WP                   n        R # r   rT   rN   s   &&r   rF   rU   w   s   € à!�‰Ör'   c                ó  € V P                   P                  \        P                  8X  d   R# \	        V P                   P                  4      V P
                  P                  ,          V P
                  P                  ,          # )z‰
The presentation time in seconds for this frame.

This is the time at which the frame should be shown to the user.

:type: float | None
N)r   r#   r   rD   Úfloatr2   rA   rC   r   s   &r   ÚtimeÚ
Frame.time{   sN   € ð �8‰8�<‰<œ3×-Ñ-Ô-ÙÜ�T—X‘X—\‘\Ó" T§_¡_×%8Ñ%8Õ8¸4¿?¹?×;NÑ;NÕNÐNr'   c                ó�   € V P                   P                  '       d*   \        \        P                  ! V P                   4      4      # R# )zo
The unit of time (in fractional seconds) in which timestamps are expressed.

:type: fractions.Fraction | None
N)r2   rA   r   r   r   r   s   &r   Ú	time_baseÚFrame.time_base‰   s1   € ð �?‰?××ÐÜ)¬&¯.ª.¸¿¹Ó*IÓJÐJñ r'   c                óZ   € \        V\        P                  ! V P                  4      4       R # r   )r   r   r   r2   rN   s   &&r   r\   r]   “   s   € ä�eœVŸ^š^¨D¯O©OÓ<Ö=r'   c                ó¬   € V P                   P                  ^ 8g  ;'       g5    \        V P                   P                  \        P
                  ,          4      # )z%
Is this frame corrupt?

:type: bool
)r   Údecode_error_flagsÚboolÚflagsr   ÚAV_FRAME_FLAG_CORRUPTr   s   &r   Ú
is_corruptÚFrame.is_corrupt—   sB   € ð �x‰x×*Ñ*¨aÑ/÷ 
ð 
´4Ø�H‰H�N‰NœS×6Ñ6Õ6ó4
ð 	
r'   c                ój   € \        V P                  P                  \        P                  ,          4      # )z@Is this frame a key frame?

Wraps :ffmpeg:`AVFrame.key_frame`.

)ra   r   rb   r   ÚAV_FRAME_FLAG_KEYr   s   &r   Ú	key_frameÚFrame.key_frame¢   s"   € ô �D—H‘H—N‘N¤S×%:Ñ%:Õ:Ó;Ð;r'   c                óà   € V'       d4   V P                   ;P                  \        P                  ,          un        R # V P                   ;P                  \        P                  ( ,          un        R # r   )r   rb   r   rg   ©r   Úvs   &&r   rh   ri   «   s:   € ÷ Ø�H‰H�NŠNœc×3Ñ3Õ3�Nà�H‰H�NŠNœs×4Ñ4Ð4Õ4�Nr'   c                óV   € V P                   f   \        V 4      V n         V P                   # r   )Ú
_side_datar   r   s   &r   Ú	side_dataÚFrame.side_data³   s"   € à�?‰?Ò"Ü/°Ó5ˆDŒOØ�‰Ðr'   c                óD   € \        V P                  P                  RR4      # )z)Metadata attached to the frame by FFmpeg.zutf-8Ústrict)r   r   Úmetadatar   s   &r   rs   ÚFrame.metadata¹   s   € ô ˜dŸh™h×/Ñ/°¸(ÓCÐCr'   c                óZ   € \         P                  V P                  4      p\        V4       R# )z�
Ensures that the frame data is writable. Copy the data to new buffer if it is not.
This is a wrapper around :ffmpeg:`av_frame_make_writable`.
N)r   Úav_frame_make_writabler   r   )r   Úrets   & r   Úmake_writableÚFrame.make_writable¾   s   € ô
 ×4Ñ4°T·X±XÓ>ˆÜ�#Žr'   c                ó  € V P                   P                  \        P                  JdX   \        P
                  ! \        P                  ! \        P                  V P                   P                  P                  4      4      # R # r   )	r   Ú
opaque_refr   ÚNULLr   ÚgetÚcastÚp_charÚdatar   s   &r   ÚopaqueÚFrame.opaqueÆ   sR   € à�8‰8×Ñ¤f§k¡kÓ1Ü#×'Ò'Ü—’œFŸM™M¨4¯8©8×+>Ñ+>×+CÑ+CÓDóð ñ 2r'   c                óÖ   € \         P                  \        P                  ! V P                  P
                  4      4       Ve(   \        P                  ! V4      V P                  n        R # R # r   )r   Úav_buffer_unrefr   r   r   r{   r   Úaddrk   s   &&r   r�   r‚   Í   sD   € ä×ÑœFŸNšN¨4¯8©8×+>Ñ+>Ó?Ô@àŠ=Ü"2×"6Ò"6°qÓ"9ˆD�H‰HÖñ r'   )rn   r2   r   N)T)r"   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r%   r   Úcfuncr7   r;   rG   ÚpropertyrK   Úsetterr#   rF   Ú	cdivisionrY   r\   rd   rh   ro   rs   rx   r�   Ú__static_attributes__Ú__classdictcell__)r.   s   @r   r
   r
      sá  ø‡ € ñò,ò8òRð ‡\�\÷	6ñ 	6ó ð	6ð ‡\�\ñó ðð ‡\�\÷ó ðð* ñ
 ó ð
 ð 	‡Z�Zñ%ó ð%ð ñ
ó ð
ð 	‡Z�Zñ!ó ð!ð ñ!ó ð!ð ‡_�_ñ"ó ð"ð Ø×Ò�dÓñ
Oó ó ð
Oð ñKó ðKð ×Ññ>ó ð>ð ñ
ó ð
ð ñ<ó ð<ð ×Ññ5ó ð5ð ñó ðð
 ñDó ðDòð ñó ðð ‡]�]ñ:ó ö:r'   r
   )r   Úcython.cimports.av.errorr   Úcython.cimports.av.opaquer   Úcython.cimports.av.utilsr   r   r   Úav.sidedata.sidedatar   Úcclassr
   r:   r'   r   Ú<module>r•      s=   ðÛ Ý .Ý 6÷ñ õ 3ð ‡�÷D:ð D:ó òD:r'   