+
    8&Ïj9E  ã                   óv  € ^ RI t ^ RIHu Ht ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ R	IHtHtHt ^ R
IHtHt ^ RIHt ^ RIHt ] P<                  ] P>                  ] P@                  ! RR7      R R l4       4       4       t!] PD                  ] PF                   ! R R]4      4       4       t$R# )é    N)ÚCodecContext)ÚHWAccel)Ú	err_check©ÚFrame)ÚPacket)Úfrom_avrational)Úto_avrational)ÚVideoFormatÚget_pix_fmtÚget_video_format)Ú
VideoFrameÚalloc_video_frame)ÚVideoReformatter)Úint64_tF)Úcheckc                óö   € V ^8„  d   QhR\         P                  \        P                  ,          R\         P                  \         P                  \        P
                  ,          ,          R\        P
                  /# )é   ÚctxÚpix_fmtsÚreturn)ÚcythonÚpointerÚlibÚAVCodecContextÚconstÚAVPixelFormat)Úformats   "ÚO/opt/data/cache/scratch/pip-target-elquwxdg/lib/python/av/video/codeccontext.pyÚ__annotate__r       sS   € ÷ ñ Ü	�‰œ×*Ñ*Õ	+ðä�n‰nœVŸ\™\¬#×*;Ñ*;Õ<Õ=ðô 	×Ññó    c                 óD  € \         P                  ! \         P                  \        ,          V P                  4      p^ pW,          R8w  d+   W,          VP
                  8X  d	   W,          # V^,          pK7  VP                  '       d   V P                  # \        P                  # )r   éÿÿÿÿ)
r   Úcastr   ÚAVCodecPrivateDataÚopaqueÚhardware_pix_fmtÚallow_software_fallbackÚ
sw_pix_fmtr   ÚAV_PIX_FMT_NONE)r   r   Úprivate_dataÚis   &&  r   Ú_get_hw_formatr-      s|   € ô 8>·{²{Ü�‰Ô)Õ*¨C¯J©Jó8€Lð €AØ
�+˜Ô
Ø�;˜,×7Ñ7Ô7Ø•;ÐØ	ˆQ�Šà&×>×>Ð>ˆ�‰ðÜDG×DWÑDWðr!   c                   óp  a € ] tR t^*t o ]P
                  V 3R lR l4       t]P
                  V 3R lR l4       t]P
                  V 3R lR l4       t]P
                  V 3R lR l4       t	]P
                  V 3R	 lR
 l4       t
]P
                  V 3R lR l4       t]R 4       t]P                  V 3R lR l4       t]R 4       t]P                  V 3R lR l4       t]R 4       t]P                  V 3R lR l4       t]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]R 4       t]P                  R  4       t]R! 4       t]P                  V 3R" lR# l4       t]R$ 4       t]P                  R% 4       t]R& 4       t]R' 4       t]R( 4       t]P                  V 3R) lR* l4       t]R+ 4       t]R, 4       t]R- 4       t]P                  R. 4       t]R/ 4       t]P                  R0 4       t]R1 4       t]P                  R2 4       t]R3 4       t ] P                  R4 4       t ]R5 4       t!]!P                  V 3R6 lR7 l4       t!]R8 4       t"]"P                  R9 4       t"]R: 4       t#]#P                  R; 4       t#]R< 4       t$]$P                  R= 4       t$]R> 4       t%]%P                  V 3R? lR@ l4       t%]RA 4       t&]&P                  V 3RB lRC l4       t&]RD 4       t']'P                  V 3RE lRF l4       t'RGt(V t)RH# )IÚVideoCodecContextc                óè   <€ V ^8„  d   QhRS[ P                  S[P                  ,          RS[ P                  S[ P                  S[P
                  ,          ,          RS[R,          RS[ P                  /# )r   ÚptrÚcodecÚhwaccelNr   )r   r   r   r   r   ÚAVCodecr   Úvoid)r   Ú__classdict__s   "€r   r    ÚVideoCodecContext.__annotate__.   s`   ø€ ÷ '$ñ '$á�^‰^™C×.Ñ.Õ/ð'$ñ �~‰~™fŸl™l©3¯;©;Õ7Õ8ð'$ñ ˜4•ð	'$ñ
 
�‰ñ'$r!   c                óº  € \         P                  ! WW#4       Vf   R # V P                  '       d^   VP                  V P                  RR7      V n        \        P                  ! V P
                  P                  4      V P                  n	        R #  VP                  V P                  4      V n        \        P                  ! V P
                  P                  4      V P                  n	        V P
                  P                  P                  P                  V P                  n        \        V P                  n        V P
                  P                  P                  P                  V P                  n        V P
                  P                   V P                  n        \"        P$                  ! V P                  4      V P                  n        R #   \(         d    R T n         R # i ; i)NT)Úfor_encoding)r   Ú_initÚ
is_encoderÚcreater2   Úhwaccel_ctxr   Úav_buffer_refr1   Úhw_device_ctxÚconfigÚpix_fmtr-   Ú
get_formatÚ_private_datar'   r(   r   Úaddressr&   ÚNotImplementedError)Úselfr1   r2   r3   s   &&&&r   r:   ÚVideoCodecContext._init-   sK  € ô 	×Ò˜4 eÔ5àŠ?Ùà�?�?ˆ?ð
  'Ÿ~™~¨d¯j©jÀt˜~ÓLˆDÔÜ%(×%6Ò%6°t×7GÑ7G×7KÑ7KÓ%LˆD�H‰HÔ"Ùð	$Ø&Ÿ~™~¨d¯j©jÓ9ˆDÔÜ%(×%6Ò%6°t×7GÑ7G×7KÑ7KÓ%LˆD�H‰HÔ"Ø#×/Ñ/×6Ñ6×:Ñ:×BÑBˆD�H‰HÔÜ"0ˆD�H‰HÔØ26×2BÑ2B×2IÑ2I×2MÑ2M×2UÑ2UˆD×ÑÔ/à× Ñ ×8Ñ8ð ×ÑÔ6ô %Ÿnšn¨T×-?Ñ-?Ó@ˆD�H‰HŽOøÜ"ô 		$ð  $ˆD×ð		$ús   ÂD4G ÇGÇGc                ó&   <€ V ^8„  d   QhRS[ RS[ /# )r   Úvframer   )r   )r   r6   s   "€r   r    r7   X   s   ø€ ÷ -ñ -©:ð -¹*ñ -r!   c           
     óf  € \         P                  ! \         P                  \        P                  ,          V P
                  P                  P                  4      pVP
                  P                  VP                  8X  d   V# VP
                  P                  VP                  8w  gK   VP
                  P                  VP                  8w  g&   VP
                  P                  VP                  8w  d“   V P                  '       g   \        4       V n        V P                  P                  VVP                  VP                  \        VP                  VP                  VP                  4      V P
                  P                   R 7      p\#        4       p^ p\         P$                  ;_uu_ 4        \        P&                  ! V P
                  P                  VP
                  ^ 4      pV^ 8X  d-   \        P(                  ! VP
                  VP
                  ^ 4      pRRR4       \+        X4       \+        V4       VP-                  VRR7       VP/                  4        VP
                  P0                  \        P2                  8X  d&   V P
                  P4                  VP
                  n        V#   + '       g   i     L™; i)©ÚthreadsNF©Údata_layout)r   r$   r   r   ÚAVHWFramesContextr1   Úhw_frames_ctxÚdatar   Ú	sw_formatÚwidthÚheightÚreformatterr   Úreformatr   Úthread_countr   ÚnogilÚav_hwframe_get_bufferÚav_hwframe_transfer_datar   Ú_copy_internal_attributesÚ_init_user_attributesÚptsÚAV_NOPTS_VALUEÚ	frame_num)rF   rI   Ú
frames_ctxÚhwframeÚtransfer_resÚress   &&    r   Ú_encode_upload_frameÚ&VideoCodecContext._encode_upload_frameW   så  € ô =C¿KºKÜ�N‰Nœ3×0Ñ0Õ1°4·8±8×3IÑ3I×3NÑ3Nó=
ˆ
ð
 �:‰:×Ñ 
× 1Ñ 1Ô1ØˆMð
 �J‰J×Ñ ×!5Ñ!5Ô5Ø�z‰z×Ñ :×#3Ñ#3Ô3Ø�z‰z× Ñ  J×$5Ñ$5Ô5à×#×#Ð#Ü#3Ó#5�Ô Ø×%Ñ%×.Ñ.ØØ× Ñ Ø×!Ñ!Ü Ø×(Ñ(¨*×*:Ñ*:¸J×<MÑ<Móð Ÿ™×-Ñ-ð /ó ˆFô 0Ó1ˆð $%ˆÜ�\�\‹\Ü×+Ò+¨D¯H©H×,BÑ,BÀGÇKÁKÐQRÓSˆCØ�aŒxÜ"×;Ò;¸G¿K¹KÈÏÉÐUVÓW�÷ ô 	�#ŒÜ�,ÔØ×)Ñ)¨&¸eÐ)ÔDØ×%Ñ%Ô'à�;‰;�?‰?œc×0Ñ0Ô0Ø"Ÿh™h×0Ñ0ˆG�K‰KŒOàˆ÷ �\ús   Æ%A*J Ê J0	c                óR   <€ V ^8„  d   QhRS[ R,          RS[S[ R,          ,          /# )r   ÚinputNr   )r   Úlist)r   r6   s   "€r   r    r7   ˆ   s(   ø€ ÷ ñ ±¸µð ÁÁeÈdÅlÕASñ r!   c                ó(  € Ve	   V'       g   R .# TpV P                   P                  \        P                  8w  d   V P	                  V4      .# VP
                  P                  V P                  8w  gK   VP                  V P                   P                  8w  g&   VP                  V P                   P                  8w  dˆ   V P                  '       g   \        4       V n	        V P                  P                  VV P                   P                  V P                   P                  V P
                  V P                   P                  R7      pVP                   P                  \        P                  8X  d&   V P                   P                   VP                   n        V.# )NrK   )r1   rP   r   ÚNULLrd   r   rA   rS   rT   rU   r   rV   rW   r]   r   r^   r_   )rF   rg   rI   s   && r   Ú_prepare_frames_for_encodeÚ,VideoCodecContext._prepare_frames_for_encode‡   s  € àŠ=§Ø�6ˆMà"ˆð �8‰8×!Ñ!¤V§[¡[Ô0Ø×-Ñ-¨fÓ5Ð6Ð6ð �M‰M×!Ñ! T§\¡\Ô1Ø�|‰|˜tŸx™xŸ~™~Ô-Ø�}‰} §¡§¡Ô/à×#×#Ð#Ü#3Ó#5�Ô à×%Ñ%×.Ñ.ØØ—‘—‘Ø—‘—‘Ø—‘ØŸ™×-Ñ-ð /ó ˆFð �:‰:�>‰>œS×/Ñ/Ô/Ø!ŸX™X×/Ñ/ˆF�J‰JŒNàˆxˆr!   c                ó    <€ V ^8„  d   QhRS[ /# )r   r   r   )r   r6   s   "€r   r    r7   ¨   s   ø€ ÷ #ñ #¡5ñ #r!   c                ó   € \        4       # ©N)r   ©rF   s   &r   Ú_alloc_next_frameÚ#VideoCodecContext._alloc_next_frame§   s   € ä Ó"Ð"r!   c                ó@   <€ V ^8„  d   QhRS[ RS[RS[P                  /# )r   ÚframeÚpacketr   )r   r   r   r5   )r   r6   s   "€r   r    r7   ¬   s&   ø€ ÷ 'ñ '©%ð '¹ð 'ÁFÇKÁKñ 'r!   c                óX   € \         P                  ! WV4       TpVP                  4        R # ro   )r   Ú_setup_decoded_framer\   )rF   rt   ru   rI   s   &&& r   rw   Ú&VideoCodecContext._setup_decoded_frame«   s#   € ä×)Ò)¨$°vÔ>Ø"ˆØ×$Ñ$Ö&r!   c                ó    <€ V ^8„  d   QhRS[ /# )r   rt   r   )r   r6   s   "€r   r    r7   ²   s   ø€ ÷ ñ ¡uñ r!   c                óp  € V P                   f   V# VP                  P                  V P                   P                  P                  P                  8w  d   V# V P                   P
                  '       d7   V P                   P                  \        P                  ! \        V4      n
        V# V P                  4       p\        P                  ;_uu_ 4        \        P                  ! VP                  VP                  ^ 4      pR R R 4       \        X4       VP!                  VRR7       V#   + '       g   i     L0; i)NFrM   )r=   r1   r   r@   rA   Úis_hw_ownedÚ	device_idr   r$   r   Ú
_device_idrq   rX   r   rZ   r   r[   )rF   rt   Úframe_swrc   s   &&  r   Ú_transfer_hwframeÚ#VideoCodecContext._transfer_hwframe±   sÙ   € à×ÑÒ#ØˆLØ�9‰9×Ñ˜t×/Ñ/×6Ñ6×:Ñ:×BÑBÔBð ˆLà×Ñ×'×'Ð'Ø8<×8HÑ8H×8RÑ8RŒF�KŠKœ
 EÓ*Ô5ØˆLà×0Ñ0Ó2ˆä�\�\‹\Ü×.Ò.¨x¯|©|¸U¿Y¹YÈÓJˆC÷ ä�#ŒØ×*Ñ*¨5¸eÐ*ÔDØˆ÷	 �\ús   Ã-D%Ä%D5	c                óÚ   € \        \        P                  ! \        P                  V P
                  P                  4      V P
                  P                  V P
                  P                  4      # ro   )	r   r   r$   r   r   r1   rA   rS   rT   rp   s   &r   r   ÚVideoCodecContext.formatÆ   sC   € äÜ�KŠKœ×)Ñ)¨4¯8©8×+;Ñ+;Ó<Ø�H‰H�N‰NØ�H‰H�O‰Oó
ð 	
r!   c                ó    <€ V ^8„  d   QhRS[ /# )r   r   )r   )r   r6   s   "€r   r    r7   Ï   s   ø€ ÷ (ñ (™[ñ (r!   c                óÊ   € V P                  R 4       VP                  V P                  n        VP                  V P                  n        VP                  V P                  n        R# )r   N)Ú_assert_not_openrA   r1   rS   rT   )rF   r   s   &&r   r   r‚   Î   s>   € à×Ñ˜hÔ'Ø!Ÿ>™>ˆ�‰ÔØŸ™ˆ�‰ŒØ Ÿ-™-ˆ�‰Žr!   c                ón   € V P                   \        P                  J d   ^ # V P                   P                  # ©r   )r1   r   rj   rS   rp   s   &r   rS   ÚVideoCodecContext.widthÕ   s#   € à�8‰8”v—{‘{Ó"ÙØ�x‰x�~‰~Ðr!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# ©r   Úvalue©r   Úuint)r   r6   s   "€r   r    r7   Ü   s   ø€ ÷ ñ ™6Ÿ;™;ñ r!   c                óH   € V P                  R 4       WP                  n        R# )rS   N)r…   r1   rS   ©rF   r‹   s   &&r   rS   rˆ   Û   s   € à×Ñ˜gÔ&Ø�‰Žr!   c                ón   € V P                   \        P                  J d   ^ # V P                   P                  # r‡   )r1   r   rj   rT   rp   s   &r   rT   ÚVideoCodecContext.heightà   s#   € à�8‰8”v—{‘{Ó"ÙØ�x‰x�‰Ðr!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   rŒ   )r   r6   s   "€r   r    r7   ç   s   ø€ ÷  ñ  ™FŸK™Kñ  r!   c                óH   € V P                  R 4       WP                  n        R# )rT   N)r…   r1   rT   r�   s   &&r   rT   r‘   æ   s   € à×Ñ˜hÔ'Ø�‰Žr!   c                ó.   € V P                   P                  # )z¼
The number of bits per sample in the codedwords. It's mandatory for this to be set for some formats to decode properly.

Wraps :ffmpeg:`AVCodecContext.bits_per_coded_sample`.

:type: int
)r1   Úbits_per_coded_samplerp   s   &r   r•   Ú'VideoCodecContext.bits_per_coded_sampleë   s   € ð �x‰x×-Ñ-Ð-r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   ©r   Úint)r   r6   s   "€r   r    r7   ÷   s   ø€ ÷ /ñ /©6¯:©:ñ /r!   c                ó`   € V P                   '       d   \        R 4      hWP                  n        R# )zNot supported for encodersN)r;   Ú
ValueErrorr1   r•   r�   s   &&r   r•   r–   ö   s!   € à�?�?ˆ?ÜÐ9Ó:Ð:à).�‰Ö&r!   c                ó  € \         P                  ! \        P                  ! \         P                  V P
                  P                  4      4      pV\        P                  8X  d   R# \        P                  ! \        VP                  4      # )z-
The pixel format's name.

:type: str | None
N)
r   Úav_pix_fmt_desc_getr   r$   r   r1   rA   rj   ÚstrÚname)rF   Údescs   & r   rA   ÚVideoCodecContext.pix_fmtý   sX   € ô ×#Ò#¤F§K¢K´×0AÑ0AÀ4Ç8Á8×CSÑCSÓ$TÓUð 	ð ”6—;‘;ÔÙÜ�{Š{œ3 §	¡	Ó*Ð*r!   c                ó\   € V P                  R 4       \        V4      V P                  n        R# )rA   N)r…   r   r1   rA   r�   s   &&r   rA   r¡     s!   € à×Ñ˜iÔ(Ü& uÓ-ˆ�‰Ör!   c                ó–  € V P                   P                  '       g˜   V P                   P                  \        P                  8w  dm   \        \        P                  ! \        P                  V P                   P                  4      V P                   P                  V P                   P                  4      # R# \        P                  ! \        P                  \        P                  ,          V P                   P                  P                  4      p\        VP                  V P                   P                  V P                   P                  4      # )zÀ
For a hardware context (e.g. ``format.name == "cuda"``), the underlying
software pixel format (``nv12``, ``p010le``, ...). ``None`` for a regular
software context.

:type: VideoFormat | None
N)r1   rP   r)   r   r*   r   r   r$   r   rS   rT   r   rO   rQ   rR   )rF   r`   s   & r   rR   ÚVideoCodecContext.sw_format  sË   € ð �x‰x×%×%Ð%Ø�x‰x×"Ñ"¤c×&9Ñ&9Ô9Ü'Ü—K’K¤× 1Ñ 1°4·8±8×3FÑ3FÓGØ—H‘H—N‘NØ—H‘H—O‘Oóð ñ
 Ü<B¿KºKÜ�N‰Nœ3×0Ñ0Õ1°4·8±8×3IÑ3I×3NÑ3Nó=
ˆ
ô   
× 4Ñ 4°d·h±h·n±nÀdÇhÁhÇoÁoÓVÐVr!   c                ó\   € V P                  R 4       \        V4      V P                  n        R# )rR   N)r…   r   r1   r)   r�   s   &&r   rR   r¤   &  s!   € à×Ñ˜kÔ*Ü)¨%Ó0ˆ�‰Ör!   c                ó@   € \        V P                  P                  4      # )z:
The frame rate, in frames per second.

:type: AVRational
)r	   r1   Ú	frameraterp   s   &r   r§   ÚVideoCodecContext.framerate+  s   € ô ˜tŸx™x×1Ñ1Ó2Ð2r!   c                ó�   € V P                  R 4       \        V\        P                  ! V P                  P
                  4      4       R# )r§   N)r…   r
   r   rD   r1   r§   r�   s   &&r   r§   r¨   4  s-   € à×Ñ˜kÔ*Ü�eœVŸ^š^¨D¯H©H×,>Ñ,>Ó?Ö@r!   c                ó   € V P                   # )z#Another name for :attr:`framerate`.©r§   rp   s   &r   ÚrateÚVideoCodecContext.rate9  s   € ð �~‰~Ðr!   c                ó   € Wn         R # ro   r«   r�   s   &&r   r¬   r­   >  s   € àŽr!   c                óh   € V P                   '       d   \        R4      hV P                  P                  # )zR
Sets the number of frames between keyframes. Used only for encoding.

:type: int
ú%Cannot access 'gop_size' as a decoder©Ú
is_decoderÚRuntimeErrorr1   Úgop_sizerp   s   &r   r´   ÚVideoCodecContext.gop_sizeB  s)   € ð �?�?ˆ?ÜÐFÓGÐGØ�x‰x× Ñ Ð r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   r˜   )r   r6   s   "€r   r    r7   N  s   ø€ ÷ "ñ "™fŸj™jñ "r!   c                ó`   € V P                   '       d   \        R 4      hWP                  n        R# )r°   Nr±   r�   s   &&r   r´   rµ   M  s!   € à�?�?ˆ?ÜÐFÓGÐGØ!�‰Ör!   c                ó@   € \        V P                  P                  4      # ro   )r	   r1   Úsample_aspect_ratiorp   s   &r   r¹   Ú%VideoCodecContext.sample_aspect_ratioS  s   € ä˜tŸx™x×;Ñ;Ó<Ð<r!   c                ón   € \        V\        P                  ! V P                  P                  4      4       R # ro   )r
   r   rD   r1   r¹   r�   s   &&r   r¹   rº   W  s   € ä�eœVŸ^š^¨D¯H©H×,HÑ,HÓIÖJr!   c                ó¨  € \         P                  ! \        P                  ! XP                  4      \        P                  ! VP
                  4      V P                  P                  V P                  P                  P                  ,          V P                  P                  V P                  P                  P
                  ,          R4       \        V4      # )i   i   )r   Ú	av_reducer   rD   ÚnumÚdenr1   rS   r¹   rT   r	   )rF   Údars   & r   Údisplay_aspect_ratioÚ&VideoCodecContext.display_aspect_ratio[  s€   € ô 	�ŠÜ�NŠN˜3Ÿ7™7Ó#Ü�NŠN˜3Ÿ7™7Ó#Ø�H‰H�N‰N˜TŸX™X×9Ñ9×=Ñ=Õ=Ø�H‰H�O‰O˜dŸh™h×:Ñ:×>Ñ>Õ>Øô	
ô ˜sÓ#Ð#r!   c                ó@   € \        V P                  P                  4      # )z
:type: bool
)Úboolr1   Úhas_b_framesrp   s   &r   rÅ   ÚVideoCodecContext.has_b_framesh  s   € ô
 �D—H‘H×)Ñ)Ó*Ð*r!   c                ó.   € V P                   P                  # )zãRaw ``has_b_frames`` value from FFmpeg (int, not bool).

After :meth:`flush_buffers`, FFmpeg may reset the internal reorder
heuristic. Set this to the known reorder depth *after* seeking to
avoid dropped hierarchical B-frames.
©r1   rÅ   rp   s   &r   Úreorder_depthÚVideoCodecContext.reorder_deptho  s   € ð �x‰x×$Ñ$Ð$r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   r˜   )r   r6   s   "€r   r    r7   z  s   ø€ ÷ &ñ &¡6§:¡:ñ &r!   c                ó&   € WP                   n        R # ro   rÈ   r�   s   &&r   rÉ   rÊ   y  ó   € à %�‰Ör!   c                ó.   € V P                   P                  # ©z
:type: int
)r1   Úcoded_widthrp   s   &r   rÐ   ÚVideoCodecContext.coded_width}  s   € ð
 �x‰x×#Ñ#Ð#r!   c                ó.   € V P                   P                  # rÏ   )r1   Úcoded_heightrp   s   &r   rÓ   ÚVideoCodecContext.coded_height„  s   € ð
 �x‰x×$Ñ$Ð$r!   c                ó.   € V P                   P                  # )z®
Describes the signal range of the colorspace, as FFmpeg's raw integer
value. :class:`.ColorRange` names the values.

Wraps :ffmpeg:`AVCodecContext.color_range`.

:type: int
©r1   Úcolor_rangerp   s   &r   r×   ÚVideoCodecContext.color_range‹  s   € ð �x‰x×#Ñ#Ð#r!   c                ó&   € WP                   n        R # ro   rÖ   r�   s   &&r   r×   rØ   —  ó   € à$�‰Ör!   c                ó.   € V P                   P                  # )z¸
Describes the RGB/XYZ matrix of the colorspace, as FFmpeg's raw integer
value. :class:`.ColorPrimaries` names the values.

Wraps :ffmpeg:`AVCodecContext.color_primaries`.

:type: int
©r1   Úcolor_primariesrp   s   &r   rÝ   Ú!VideoCodecContext.color_primaries›  s   € ð �x‰x×'Ñ'Ð'r!   c                ó&   € WP                   n        R # ro   rÜ   r�   s   &&r   rÝ   rÞ   §  s   € à#(�‰Ö r!   c                ó.   € V P                   P                  # )zÜ
Describes the linearization function (a.k.a. transformation
characteristics) of the colorspace, as FFmpeg's raw integer value.
:class:`.ColorTrc` names the values.

Wraps :ffmpeg:`AVCodecContext.color_trc`.

:type: int
©r1   Ú	color_trcrp   s   &r   râ   ÚVideoCodecContext.color_trc«  s   € ð �x‰x×!Ñ!Ð!r!   c                ó&   € WP                   n        R # ro   rá   r�   s   &&r   râ   rã   ¸  s   € à"�‰Ör!   c                ó.   € V P                   P                  # )z¾
Describes the YUV/RGB transformation matrix of the colorspace, as
FFmpeg's raw integer value. :class:`.Colorspace` names the values.

Wraps :ffmpeg:`AVCodecContext.colorspace`.

:type: int
©r1   Ú
colorspacerp   s   &r   rç   ÚVideoCodecContext.colorspace¼  s   € ð �x‰x×"Ñ"Ð"r!   c                ó&   € WP                   n        R # ro   ræ   r�   s   &&r   rç   rè   È  s   € à#�‰Ör!   c                ó.   € V P                   P                  # )zcThe video field order as FFmpeg's raw integer value.

Wraps :ffmpeg:`AVCodecContext.field_order`.

)r1   Úfield_orderrp   s   &r   rë   ÚVideoCodecContext.field_orderÌ  s   € ð �x‰x×#Ñ#Ð#r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   r˜   )r   r6   s   "€r   r    r7   Ö  s   ø€ ÷ Dñ D¡§¡ñ Dr!   c                ón   € \         P                  ! \        P                  V4      V P                  n        R # ro   )r   r$   r   ÚAVFieldOrderr1   rë   r�   s   &&r   rë   rì   Õ  s   € ä%Ÿ{š{¬3×+;Ñ+;¸UÓCˆ�‰Ör!   c                ó.   € V P                   P                  # )zL
The maximum run of consecutive B frames when encoding a video.

:type: int
©r1   Úmax_b_framesrp   s   &r   rò   ÚVideoCodecContext.max_b_framesÙ  s   € ð �x‰x×$Ñ$Ð$r!   c                ó&   € WP                   n        R # ro   rñ   r�   s   &&r   rò   ró   â  rÍ   r!   c                ó.   € V P                   P                  # )ze
The minimum quantiser value of an encoded stream.

Wraps :ffmpeg:`AVCodecContext.qmin`.

:type: int
©r1   Úqminrp   s   &r   r÷   ÚVideoCodecContext.qminæ  ó   € ð �x‰x�}‰}Ðr!   c                ó&   € WP                   n        R # ro   rö   r�   s   &&r   r÷   rø   ñ  ó   € à�‰Žr!   c                ó.   € V P                   P                  # )ze
The maximum quantiser value of an encoded stream.

Wraps :ffmpeg:`AVCodecContext.qmax`.

:type: int
©r1   Úqmaxrp   s   &r   rþ   ÚVideoCodecContext.qmaxõ  rù   r!   c                ó&   € WP                   n        R # ro   rý   r�   s   &&r   rþ   rÿ      rû   r!   c                ó.   € V P                   P                  # )aH  
The position of the chroma samples relative to the luma samples, as
FFmpeg's raw integer value. :class:`.ChromaLocation` names the values.

Wraps :ffmpeg:`AVCodecContext.chroma_sample_location`. FFmpeg spells
the same field ``chroma_location`` on a frame, and so does PyAV: see
:attr:`.VideoFrame.chroma_location`.

:type: int
)r1   Úchroma_sample_locationrp   s   &r   r  Ú(VideoCodecContext.chroma_sample_location  s   € ð �x‰x×.Ñ.Ð.r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   r˜   )r   r6   s   "€r   r    r7     s   ø€ ÷ Sñ S©F¯J©Jñ Sr!   c                ón   € \         P                  ! \        P                  V4      V P                  n        R # ro   )r   r$   r   ÚAVChromaLocationr1   r  r�   s   &&r   r  r    s   € ä*0¯+ª+´c×6JÑ6JÈEÓ*Rˆ�‰Ö'r!   c                ó.   € V P                   P                  # )zS
The number of reference frames.

Wraps :ffmpeg:`AVCodecContext.refs`.

:type: int
©r1   Úrefsrp   s   &r   r	  ÚVideoCodecContext.refs  rù   r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   r˜   )r   r6   s   "€r   r    r7   "  s   ø€ ÷ ñ ™&Ÿ*™*ñ r!   c                ó&   € WP                   n        R # ro   r  r�   s   &&r   r	  r
  !  rû   r!   c                ó.   € V P                   P                  # )z�
Macroblock decision mode: 0 (simple), 1 (bits) or 2 (rate distortion).

Wraps :ffmpeg:`AVCodecContext.mb_decision`.

:type: int
©r1   Úmb_decisionrp   s   &r   r  ÚVideoCodecContext.mb_decision%  s   € ð �x‰x×#Ñ#Ð#r!   c                ó4   <€ V ^8„  d   QhRS[ P                  /# rŠ   r˜   )r   r6   s   "€r   r    r7   1  s   ø€ ÷ %ñ %¡§¡ñ %r!   c                ó&   € WP                   n        R # ro   r  r�   s   &&r   r  r  0  rÚ   r!   )r§   r=   rU   N)*Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   Úcfuncr:   rd   rk   rq   rw   r   Úpropertyr   ÚsetterrS   rT   r•   rA   rR   r§   r¬   r´   r¹   rÁ   rÅ   rÉ   rÐ   rÓ   r×   rÝ   râ   rç   rë   rò   r÷   rþ   r  r	  r  Ú__static_attributes__Ú__classdictcell__)r6   s   @r   r/   r/   *   sÓ  ø‡ € ð ‡\�\÷'$ó ð'$ðR ‡\�\÷-ó ð-ð^ ‡\�\÷ó ðð> ‡\�\÷#ó ð#ð ‡\�\÷'ó ð'ð
 ‡\�\÷ó ðð( ñ
ó ð
ð ‡]�]÷(ó ð(ð ñó ðð
 ‡\�\÷ó ðð ñó ðð
 ‡]�]÷ ó ð ð ñ.ó ð.ð ×!Ñ!÷/ó "ð/ð ñ+ó ð+ð ‡^�^ñ.ó ð.ð ñWó ðWð* ×Ññ1ó ð1ð ñ3ó ð3ð ×ÑñAó ðAð ñó ðð 
‡[�[ñó ðð ñ!ó ð!ð ‡_�_÷"ó ð"ð
 ñ=ó ð=ð ×ÑñKó  ðKð ñ
$ó ð
$ð ñ+ó ð+ð ñ%ó ð%ð ×Ñ÷&ó ð&ð ñ$ó ð$ð ñ%ó ð%ð ñ	$ó ð	$ð ×Ññ%ó ð%ð ñ	(ó ð	(ð ×Ññ)ó ð)ð ñ
"ó ð
"ð ×Ññ#ó ð#ð ñ	#ó ð	#ð ×Ññ$ó ð$ð ñ$ó ð$ð ×Ñ÷Dó ðDð ñ%ó ð%ð ×Ññ&ó ð&ð ñó ðð 
‡[�[ñó ðð ñó ðð 
‡[�[ñó ðð ñ/ó ð/ð ×"Ñ"÷Só #ðSð ñó ðð 
‡[�[÷ó ðð ñ$ó ð$ð ×Ñ÷%ó ö%r!   r/   )%r   Úcython.cimports.libavÚcimportsÚlibavr   Ú cython.cimports.av.codec.contextr   Ú cython.cimports.av.codec.hwaccelr   Úcython.cimports.av.errorr   Úcython.cimports.av.framer   Úcython.cimports.av.packetr   Úcython.cimports.av.rationalr	   Úcython.cimports.av.utilsr
   Úcython.cimports.av.video.formatr   r   r   Úcython.cimports.av.video.framer   r   Ú$cython.cimports.av.video.reformatterr   Úcython.cimports.libc.stdintr   r  rX   Ú	exceptvalr-   ÚfinalÚcclassr/   © r!   r   Ú<module>r.     s—   ðÛ ß #Ð #Ý 9Ý 4Ý .Ý *Ý ,Ý 7Ý 2ß VÑ Vß HÝ AÝ /ð ‡�Ø‡�Ø×Ò˜Ôôó ó ó ðð. ‡�Ø‡�ôF%˜ó F%ó ó òF%r!   