Home
last modified time | relevance | path

Searched refs:comptype (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/test/
Dtest_sunau.py22 comptype = 'NONE' variable in SunauPCM8Test
39 comptype = 'NONE' variable in SunauPCM16Test
58 comptype = 'NONE' variable in SunauPCM24Test
83 comptype = 'NONE' variable in SunauPCM32Test
108 comptype = 'ULAW' variable in SunauULAWTest
Dtest_aifc.py27 comptype = b'NONE' variable in AifcPCM8Test
44 comptype = b'NONE' variable in AifcPCM16Test
63 comptype = b'NONE' variable in AifcPCM24Test
88 comptype = b'NONE' variable in AifcPCM32Test
113 comptype = b'ulaw' variable in AifcULAWTest
134 comptype = b'alaw' variable in AifcALAWTest
183 self.assertEqual(params.comptype, f.getcomptype())
187 for comptype in (b'ULAW', b'ulaw', b'ALAW', b'alaw', b'G722'):
191 fout.setcomptype(comptype, b'')
406 for comptype in (b'ULAW', b'ulaw', b'ALAW', b'alaw', b'G722'):
[all …]
Daudiotests.py30 comptype, compname): argument
35 self.assertEqual(f.getcomptype(), comptype)
40 (nchannels, sampwidth, framerate, nframes, comptype, compname))
45 self.assertEqual(params.comptype, comptype)
60 f.setcomptype(self.comptype, self.compname)
76 self.nframes, self.comptype, self.compname)
96 f.setcomptype(self.comptype, self.compname)
116 f.setcomptype(self.comptype, self.compname)
260 self.sndfilenframes, self.comptype, self.compname)
Dtest_wave.py23 comptype = 'NONE' variable in WavePCM8Test
40 comptype = 'NONE' variable in WavePCM16Test
61 comptype = 'NONE' variable in WavePCM24Test
88 comptype = 'NONE' variable in WavePCM32Test
/third_party/ffmpeg/libavcodec/
Dnuv.c174 } comptype; in decode_frame() local
198 comptype = buf[1]; in decode_frame()
199 switch (comptype) { in decode_frame()
215 switch (comptype) { in decode_frame()
237 if (comptype == NUV_RTJPEG_IN_LZO || comptype == NUV_LZO) { in decode_frame()
292 switch (comptype) { in decode_frame()
/third_party/python/Lib/
Dtarfile.py339 def __init__(self, name, mode, comptype, fileobj, bufsize): argument
347 if comptype == '*':
351 comptype = fileobj.getcomptype()
355 self.comptype = comptype
363 if comptype == "gz":
376 elif comptype == "bz2":
388 elif comptype == "xz":
400 elif comptype != "tar":
401 raise CompressionError("unknown compression type %r" % comptype)
432 if self.comptype == "gz":
[all …]
Dwave.py381 def setcomptype(self, comptype, compname): argument
384 if comptype not in ('NONE',):
386 self._comptype = comptype
396 nchannels, sampwidth, framerate, nframes, comptype, compname = params
403 self.setcomptype(comptype, compname)
Daifc.py264 _aifc_params.comptype.__doc__ = 'Compression type ("NONE" for AIFF files)'
658 def setcomptype(self, comptype, compname): argument
661 if comptype not in (b'NONE', b'ulaw', b'ULAW',
664 self._comptype = comptype
679 nchannels, sampwidth, framerate, nframes, comptype, compname = params
682 if comptype not in (b'NONE', b'ulaw', b'ULAW',
689 self.setcomptype(comptype, compname)
Dsunau.py404 nchannels, sampwidth, framerate, nframes, comptype, compname = params
409 self.setcomptype(comptype, compname)
/third_party/python/Doc/library/
Dsunau.rst150 framerate, nframes, comptype, compname)``, equivalent to output of the
234 The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype,
Dwave.rst104 framerate, nframes, comptype, compname)``, equivalent to output of the
209 The *tuple* should be ``(nchannels, sampwidth, framerate, nframes, comptype,
Daifc.rst94 framerate, nframes, comptype, compname)``, equivalent to output of the
197 .. method:: aifc.setparams(nchannels, sampwidth, framerate, comptype, compname)