+
    k'Ïj-  ã                   ó  € ^ RI t ^ RIt]P                  ! ]] P                  R8X  d   RMR4      t]P                  ! ]]! 4       4      t]P                  R R l4       t	]P                  ]P                   ! R R4      4       4       tR# )	é    NÚlittleÚleÚbec                óD   € V ^8„  d   QhR\         P                  R\        /# )é   Úc_formatÚreturn)ÚlibÚAVSampleFormatÚAudioFormat)Úformats   "ÚI/opt/data/cache/scratch/pip-target-lhm_ju4v/lib/python/av/audio/format.pyÚ__annotate__r      s    € ÷ ñ œs×1Ñ1ð ´kñ ó    c                óB   € V ^ 8  d   R# \        \        4      pWn        V# )z2Get an AudioFormat without going through a string.N)r   Ú_cinit_bypass_sentinelÚ
sample_fmt)r   r   s   & r   Úget_audio_formatr      s$   € ð �!„|Ùä%Ô&<Ó=€FØ ÔØ€Mr   c                   ó°   a € ] tR t^t o R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tV tR# )r   zDescriptor of audio formats.c                óø   € V\         J d   R # \        V\        4      '       d'   \        P                  ! \        V4      P
                  pM\        P                  V4      pV^ 8  d   \        RV: 24      hW n        R # )NzNot a sample format: )	r   Ú
isinstancer   ÚcythonÚcastr   r
   Úav_get_sample_fmtÚ
ValueError)ÚselfÚnamer   s   && r   Ú	__cinit__ÚAudioFormat.__cinit__   sb   € ØÔ)Ó)Ùô �dœK×(Ò(ÜŸš¤[°$Ó7×BÑB‰Jä×.Ñ.¨tÓ4ˆJà˜Œ>ÜÐ4°T±HÐ=Ó>Ð>à$Žr   c                ó"   € R V P                    R2# )z<av.AudioFormat Ú>)r   ©r   s   &r   Ú__repr__ÚAudioFormat.__repr__+   s   € Ø! $§)¡) ¨AÐ.Ð.r   c                ó@   € \         P                  V P                  4      # )zKCanonical name of the sample format.

>>> AudioFormat('s16p').name
's16p'

)r
   Úav_get_sample_fmt_namer   r"   s   &r   r   ÚAudioFormat.name.   s   € ô ×)Ñ)¨$¯/©/Ó:Ð:r   c                ó@   € \         P                  V P                  4      # )z>Number of bytes per sample.

>>> AudioFormat('s16p').bytes
2

©r
   Úav_get_bytes_per_sampler   r"   s   &r   ÚbytesÚAudioFormat.bytes8   s   € ô ×*Ñ*¨4¯?©?Ó;Ð;r   c                óN   € \         P                  V P                  4      ^,          # )z=Number of bits per sample.

>>> AudioFormat('s16p').bits
16

r)   r"   s   &r   ÚbitsÚAudioFormat.bitsB   s   € ô ×*Ñ*¨4¯?©?Ó;¸qÕ@Ð@r   c                óR   € \        \        P                  V P                  4      4      # )zCIs this a planar format?

Strictly opposite of :attr:`is_packed`.

)Úboolr
   Úav_sample_fmt_is_planarr   r"   s   &r   Ú	is_planarÚAudioFormat.is_planarL   s   € ô ”C×/Ñ/°·±Ó@ÓAÐAr   c                óJ   € \         P                  V P                  4      '       * # )zCIs this a packed format?

Strictly opposite of :attr:`is_planar`.

)r
   r2   r   r"   s   &r   Ú	is_packedÚAudioFormat.is_packedU   s   € ô ×.Ñ.¨t¯©Ó?Ô?Ð?r   c                óz   € V P                   '       d   V # \        \        P                  V P                  4      4      # )zvThe planar variant of this format.

Is itself when planar:

>>> fmt = AudioFormat('s16p')
>>> fmt.planar is fmt
True

)r3   r   r
   Úav_get_planar_sample_fmtr   r"   s   &r   ÚplanarÚAudioFormat.planar^   ó,   € ð �>�>ˆ>ØˆKÜ¤× <Ñ <¸T¿_¹_Ó MÓNÐNr   c                óz   € V P                   '       d   V # \        \        P                  V P                  4      4      # )zuThe packed variant of this format.

Is itself when packed:

>>> fmt = AudioFormat('s16')
>>> fmt.packed is fmt
True

)r6   r   r
   Úav_get_packed_sample_fmtr   r"   s   &r   ÚpackedÚAudioFormat.packedm   r<   r   c                óô  € V P                   '       d   \        R4      hV P                  \        P                  8X  d   R# V P                  \        P
                  8X  d   R\        ,           # V P                  \        P                  8X  d   R\        ,           # V P                  \        P                  8X  d   R\        ,           # V P                  \        P                  8X  d   R\        ,           # \        R4      h)z�The name of a :class:`ContainerFormat` which directly accepts this data.

:raises ValueError: when planar, since there are no such containers.

zno planar container formatsÚu8Ús16Ús32Úf32Úf64zunknown layout)
r3   r   r   r
   ÚAV_SAMPLE_FMT_U8ÚAV_SAMPLE_FMT_S16Úcontainer_format_postfixÚAV_SAMPLE_FMT_S32ÚAV_SAMPLE_FMT_FLTÚAV_SAMPLE_FMT_DBLr"   s   &r   Úcontainer_nameÚAudioFormat.container_name|   s²   € ð �>�>ˆ>ÜÐ:Ó;Ð;à�?‰?œc×2Ñ2Ô2ÙØ�_‰_¤× 5Ñ 5Ô5ØÔ3Õ3Ð3Ø�_‰_¤× 5Ñ 5Ô5ØÔ3Õ3Ð3Ø�_‰_¤× 5Ñ 5Ô5ØÔ3Õ3Ð3Ø�_‰_¤× 5Ñ 5Ô5ØÔ3Õ3Ð3äÐ)Ó*Ð*r   )r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r#   Úpropertyr   r+   r.   r3   r6   r:   r?   rM   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s¾   ø‡ € ñ 'ò%ò/ð ñ;ó ð;ð ñ<ó ð<ð ñAó ðAð ñBó ðBð ñ@ó ð@ð ñOó ðOð ñOó ðOð ñ+ó ö+r   r   )Úsysr   ÚdeclareÚstrÚ	byteorderrI   Úobjectr   Úcfuncr   ÚfinalÚcclassr   © r   r   Ú<module>ra      s…   ðÛ 
ã à!Ÿ>š>Ø�—‘ (Ô*‰°óÐ ð  Ÿš¨±³Ó9Ð ð ‡�ôó ðð ‡�Ø‡�÷x+ð x+ó ó òx+r   