+
    #Ïj  ã                   óŽ  € ^ RI t ^ RI Ht ] P                  ! ]]! 4       4      t] P                  R R l4       t] P                  ] P                  ! ]	P                  RR7      R R l4       4       t] P                  ] P                   ! R	 R
4      4       4       t] P                  ] P                   ! R R4      4       4       t]! 4       t] P                  ! ] P$                  ] P&                  ]	P(                  ,          ,          ] P*                  4      t ]	P/                  ]4      t]'       g   R# ]P1                  ]P2                  4       K9  )é    N)Úuintc          	      ój   € V ^8„  d   QhR\         P                  R\        R\        R\        R,          /# )é   Úc_formatÚwidthÚheightÚreturnN)ÚlibÚAVPixelFormatÚcuintÚVideoFormat)Úformats   "ÚE/opt/data/home/.local/lib/python3.14/site-packages/av/video/format.pyÚ__annotate__r      s7   € ÷ ñ Ü×ÑðÜ(-ðÜ7<ðä�4Õñó    c                 ó”   € V \         P                  8X  d   R # \        P                  \        \        4      pVP                  WV4       V# ©N)r
   ÚAV_PIX_FMT_NONEr   Ú__new__Ú_cinit_bypass_sentinelÚ_init)r   r   r   r   s   &&& r   Úget_video_formatr      s;   € ð ”3×&Ñ&Ô&Ùä%×-Ñ-¬kÔ;QÓR€FØ
‡L�L� &Ô)Ø€Mr   F)Úcheckc                óX   € V ^8„  d   QhR\         P                  R\        P                  /# )r   Únamer	   )ÚcythonÚp_const_charr
   r   )r   s   "r   r   r      s&   € ÷ ñ ”f×)Ñ)ð ¬c×.?Ñ.?ñ r   c                óx   € \         P                  V 4      pV\         P                  8X  d   \        RV : 24      hV# )z3Wrapper for lib.av_get_pix_fmt with error checking.znot a pixel format: )r
   Úav_get_pix_fmtr   Ú
ValueError)r   Úpix_fmts   & r   Úget_pix_fmtr"      s:   € ô
 "%×!3Ñ!3°DÓ!9€GØ”#×%Ñ%Ô%ÜÐ/°©xÐ8Ó9Ð9Ø€Nr   c                   ór  a € ] tR t^t o RtRR lt]P                  V 3R lR l4       tR 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 4       t]R 4       t]R 4       t]P,                  RV 3R lR ll4       t]P,                  RV 3R lR ll4       tRtV tR# )r   z=

>>> format = VideoFormat('rgb24')
>>> format.name
'rgb24'

c                óH  € V\         J d   R # \        V\        4      '       dc   \        P                  ! \        V4      pT P                  VP                  T;'       g    VP                  T;'       g    VP                  4       R # \        V4      pV P                  WRV4       R # r   )
r   Ú
isinstancer   r   Úcastr   r!   r   r   r"   )Úselfr   r   r   Úotherr!   s   &&&&  r   Ú	__cinit__ÚVideoFormat.__cinit__)   sr   € ØÔ)Ó)Ùä�dœK×(Ò(Ü!'§¢¬[¸$Ó!?ˆEØ�J‰J�u—}‘} e×&:Ð&:¨u¯{©{¸F×<RÐ<RÀeÇlÁlÔSÙä%0°Ó%6ˆØ�
‰
�7 6Ö*r   c                ó@   <€ V ^8„  d   QhRS[ P                  RS[RS[/# )r   r!   r   r   )r
   r   r   )r   Ú__classdict__s   "€r   r   ÚVideoFormat.__annotate__6   s(   ø€ ÷ ñ ™S×.Ñ.ð ±uð Áeñ r   c                ó^   € Wn         \        P                  V4      V n        W n        W0n        R # r   )r!   r
   Úav_pix_fmt_desc_getÚptrr   r   )r'   r!   r   r   s   &&&&r   r   ÚVideoFormat._init5   s#   € àŒÜ×*Ñ*¨7Ó3ˆŒØŒ
ØŽr   c           	     ó  € V P                   '       g   V P                  '       dB   R V P                  P                   RV P                   RV P                    RV P                   R2	# R V P                  P                   RV P                   R2# )z<av.Ú z, ÚxÚ>)r   r   Ú	__class__Ú__name__r   ©r'   s   &r   Ú__repr__ÚVideoFormat.__repr__<   sp   € Ø�:�:ˆ:˜ŸŸ˜Ø˜$Ÿ.™.×1Ñ1Ð2°!°D·I±I°;¸bÀÇÁÀÈAÈdÏkÉkÈ]ÐZ[Ð\Ð\à˜$Ÿ.™.×1Ñ1Ð2°!°D·I±I°;¸aÐ@Ð@r   c                ó,   € \        V P                  4      # r   )Úintr!   r8   s   &r   Ú__int__ÚVideoFormat.__int__B   s   € Ü�4—<‘<Ó Ð r   c                ó`   € \         P                  ! \        V P                  P                  4      # )z#Canonical name of the pixel format.)r   r&   Ústrr0   r   r8   s   &r   r   ÚVideoFormat.nameE   s   € ô �{Š{œ3 §¡§¡Ó.Ð.r   c                óÜ   a € \         ;QJ d4    . V 3R  l\        S P                  P                  4       4       F  NK  	  5# ! V 3R  l\        S P                  P                  4       4       4      # )c              3   ó<   <"  € T F  p\        SV4      x € K  	  R # 5ir   )ÚVideoFormatComponent)Ú.0Úir'   s   & €r   Ú	<genexpr>Ú)VideoFormat.components.<locals>.<genexpr>L   s    øé € ð 
Ù3P¨aÔ   q×)Ð)Ó3Pùs   ƒ)ÚtupleÚranger0   Únb_componentsr8   s   fr   Ú
componentsÚVideoFormat.componentsJ   sS   ø€ çŒuô 
Ü38¸¿¹×9OÑ9OÔ3Pó
�uð 	
ˆuô 
Ü38¸¿¹×9OÑ9OÔ3Pó
ó 
ð 	
r   c                ó@   € \         P                  V P                  4      # r   )r
   Úav_get_bits_per_pixelr0   r8   s   &r   Úbits_per_pixelÚVideoFormat.bits_per_pixelP   s   € ä×(Ñ(¨¯©Ó2Ð2r   c                ó@   € \         P                  V P                  4      # r   )r
   Úav_get_padded_bits_per_pixelr0   r8   s   &r   Úpadded_bits_per_pixelÚ!VideoFormat.padded_bits_per_pixelT   s   € ä×/Ñ/°·±Ó9Ð9r   c                ój   € \        V P                  P                  \        P                  ,          4      # )zPixel format is big-endian.)Úboolr0   Úflagsr
   ÚAV_PIX_FMT_FLAG_BEr8   s   &r   Úis_big_endianÚVideoFormat.is_big_endianX   s"   € ô �D—H‘H—N‘N¤S×%;Ñ%;Õ;Ó<Ð<r   c                ój   € \        V P                  P                  \        P                  ,          4      # )zJPixel format has a palette in data[1], values are indexes in this palette.)rW   r0   rX   r
   ÚAV_PIX_FMT_FLAG_PALr8   s   &r   Úhas_paletteÚVideoFormat.has_palette]   ó"   € ô �D—H‘H—N‘N¤S×%<Ñ%<Õ<Ó=Ð=r   c                ój   € \        V P                  P                  \        P                  ,          4      # )z9All values of a component are bit-wise packed end to end.)rW   r0   rX   r
   ÚAV_PIX_FMT_FLAG_BITSTREAMr8   s   &r   Úis_bit_streamÚVideoFormat.is_bit_streamb   s"   € ô �D—H‘H—N‘N¤S×%BÑ%BÕBÓCÐCr   c                ój   € \        V P                  P                  \        P                  ,          4      # )z<At least one pixel component is not in the first data plane.)rW   r0   rX   r
   ÚAV_PIX_FMT_FLAG_PLANARr8   s   &r   Ú	is_planarÚVideoFormat.is_planarg   s"   € ô �D—H‘H—N‘N¤S×%?Ñ%?Õ?Ó@Ð@r   c                ój   € \        V P                  P                  \        P                  ,          4      # )zFThe pixel format contains RGB-like data (as opposed to YUV/grayscale).)rW   r0   rX   r
   ÚAV_PIX_FMT_FLAG_RGBr8   s   &r   Úis_rgbÚVideoFormat.is_rgbl   r`   r   c                ój   € \        V P                  P                  \        P                  ,          4      # )z%The pixel format contains Bayer data.)rW   r0   rX   r
   ÚAV_PIX_FMT_FLAG_BAYERr8   s   &r   Úis_bayerÚVideoFormat.is_bayerq   s"   € ô �D—H‘H—N‘N¤S×%>Ñ%>Õ>Ó?Ð?r   c                ó4   <€ V ^8„  d   QhRS[ P                  /# )r   Ú
luma_width©r   r<   )r   r,   s   "€r   r   r-   w   s   ø€ ÷ 	Oñ 	O¡v§z¡zñ 	Or   c                ó€   € T;'       g    V P                   pV'       d    V) V P                  P                  ,	          ) # ^ # )zœchroma_width(luma_width=0)

Width of a chroma plane relative to a luma plane.

:param int luma_width: Width of the luma plane; defaults to ``self.width``.

)r   r0   Úlog2_chroma_w)r'   rr   s   &&r   Úchroma_widthÚVideoFormat.chroma_widthv   s6   € ð  ×-Ð- 4§:¡:ˆ
ß=G�:�+ $§(¡(×"8Ñ"8Õ8Ð9ÐNÈQÐNr   c                ó4   <€ V ^8„  d   QhRS[ P                  /# )r   Úluma_heightrs   )r   r,   s   "€r   r   r-   ƒ   s   ø€ ÷ 	Qñ 	Q©¯©ñ 	Qr   c                ó€   € T;'       g    V P                   pV'       d    V) V P                  P                  ,	          ) # ^ # )z¢chroma_height(luma_height=0)

Height of a chroma plane relative to a luma plane.

:param int luma_height: Height of the luma plane; defaults to ``self.height``.

)r   r0   Úlog2_chroma_h)r'   ry   s   &&r   Úchroma_heightÚVideoFormat.chroma_height‚   s6   € ð "×0Ð0 T§[¡[ˆß>I�;�, 4§8¡8×#9Ñ#9Õ9Ð:ÐPÈqÐPr   )r   r!   r0   r   N)r   r   )r   )r7   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r)   r   Úcfuncr   r9   r=   Úpropertyr   rL   rP   rT   rZ   r^   rc   rg   rk   ro   Úccallrv   r|   Ú__static_attributes__Ú__classdictcell__©r,   s   @r   r   r      s@  ø‡ € ñô
+ð ‡\�\÷ó ðòAò!ð ñ/ó ð/ð ñ
ó ð
ð
 ñ3ó ð3ð ñ:ó ð:ð ñ=ó ð=ð ñ>ó ð>ð ñDó ðDð ñAó ðAð ñ>ó ð>ð ñ@ó ð@ð ‡\�\÷	Oñ 	Oó ð	Oð ‡\�\÷	Qñ 	Qó ö	Qr   r   c                   ó¢   a € ] tR t^�t o V 3R lR l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# )rD   c                ó:   <€ V ^8„  d   QhRS[ RS[P                  /# )r   r   Úindex)r   r   r   )r   r,   s   "€r   r   Ú!VideoFormatComponent.__annotate__’   s   ø€ ÷ :ñ :¡ð :±F·K±Kñ :r   c                óŠ   € Wn         W n        \        P                  ! VP                  P
                  V,          4      V n        R # r   )r   rŠ   r   Úaddressr0   Úcomp)r'   r   rŠ   s   &&&r   r)   ÚVideoFormatComponent.__cinit__’   s)   € ØŒØŒ
Ü—>’> &§*¡*§/¡/°%Õ"8Ó9ˆŽr   c                ó.   € V P                   P                  # )z5The index of the plane which contains this component.)r0   Úplaner8   s   &r   r‘   ÚVideoFormatComponent.plane—   ó   € ð �x‰x�~‰~Ðr   c                ó.   € V P                   P                  # )z Number of bits in the component.)r0   Údepthr8   s   &r   ÚbitsÚVideoFormatComponent.bitsœ   r“   r   c                óú   € V P                   ^8H  ;'       d,    V P                  P                  P                  ^8H  ;'       g;    V P                   ^8H  ;'       d$    V P                  P                  P                  ^8H  # )z#Is this component an alpha channel?)rŠ   r   r0   rK   r8   s   &r   Úis_alphaÚVideoFormatComponent.is_alpha¡   s_   € ð —
‘
˜a‘×FÐF D§K¡K§O¡O×$AÑ$AÀQÑ$F÷ 
ð 
Ø�J‰J˜!‰O×BÐB §¡§¡× =Ñ =ÀÑ Bð	
r   c                ó  € V P                   ^ 8H  ;'       dr    V P                  P                  P                  ^8H  ;'       gG    V P                  P                  P                  ^8H  ;'       g    V P                  P                  '       * # )z!Is this component a luma channel?)rŠ   r   r0   rK   rk   r8   s   &r   Úis_lumaÚVideoFormatComponent.is_luma¨   sn   € ð �z‰z˜Q‰÷ 
ð 
Ø�K‰K�O‰O×)Ñ)¨QÑ.÷ &ð &Ø�{‰{�‰×,Ñ,°Ñ1÷&ð &à—;‘;×%Ñ%Ô%ð	
r   c                óî   € V P                   ^8H  ;'       g    V P                   ^8H  ;'       dI    V P                  P                  P                  ;'       g!    V P                  P                  P                  # )z#Is this component a chroma channel?)rŠ   r   r0   ru   r{   r8   s   &r   Ú	is_chromaÚVideoFormatComponent.is_chroma±   sU   € ð —
‘
˜a‘×2Ð2 4§:¡:°¡?÷ 
ð 
Ø�K‰K�O‰O×)Ñ)×JÐJ¨T¯[©[¯_©_×-JÑ-Jð	
r   c                ó†   € V P                   '       d   V P                  P                  4       # V P                  P                  # )zaThe width of this component's plane.

Requires the parent :class:`VideoFormat` to have a width.

)rŸ   r   rv   r   r8   s   &r   r   ÚVideoFormatComponent.width¸   s.   € ð .2¯^¯^¨^ˆt�{‰{×'Ñ'Ó)ÐRÀÇÁ×ARÑARÐRr   c                ó†   € V P                   '       d   V P                  P                  4       # V P                  P                  # )zcThe height of this component's plane.

Requires the parent :class:`VideoFormat` to have a height.

)rŸ   r   r|   r   r8   s   &r   r   ÚVideoFormatComponent.heightÁ   s.   € ð /3¯n¯n¨nˆt�{‰{×(Ñ(Ó*ÐTÀ$Ç+Á+×BTÑBTÐTr   )r   rŠ   r0   N)r7   r~   r   r€   r)   rƒ   r‘   r–   r™   rœ   rŸ   r   r   r…   r†   r‡   s   @r   rD   rD   �   sŸ   ø‡ € ÷:ð :ð
 ñó ðð ñó ðð ñ
ó ð
ð ñ
ó ð
ð ñ
ó ð
ð ñSó ðSð ñUó öUr   rD   )r   r   r   ÚdeclareÚobjectr   r‚   r   Ú	exceptvalr
   r   r"   ÚfinalÚcclassr   rD   ÚsetÚnamesÚpointerÚconstÚAVPixFmtDescriptorÚNULLÚdescÚav_pix_fmt_desc_nextÚaddr   © r   r   Ú<module>r´      s$  ðÛ Ý  àŸš¨±³Ó9Ð ð ‡�ôó ðð ‡�Ø×Ò�#×%Ñ%¨UÔ3ôó 4ó ðð ‡�Ø‡�÷lQð lQó ó ðlQð^ ‡�Ø‡�÷7Uð 7Uó ó ð7Uñt 	‹€Ø‡~‚~�f—n‘n V§\¡\°#×2HÑ2HÕ%IÕJÈFÏKÉKÓX€Ø
Ø×#Ñ# DÓ)€DßÙØ	‡I�Iˆd�i‰iÖr   