Home
last modified time | relevance | path

Searched refs:comptype (Results 1 - 9 of 9) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_sunau.py24 comptype = 'NONE' variable in SunauPCM8Test
41 comptype = 'NONE' variable in SunauPCM16Test
60 comptype = 'NONE' variable in SunauPCM24Test
85 comptype = 'NONE' variable in SunauPCM32Test
110 comptype = 'ULAW' variable in SunauULAWTest
H A Dtest_aifc.py30 comptype = b'NONE' variable in AifcPCM8Test
47 comptype = b'NONE' variable in AifcPCM16Test
66 comptype = b'NONE' variable in AifcPCM24Test
91 comptype = b'NONE' variable in AifcPCM32Test
116 comptype = b'ulaw' variable in AifcULAWTest
137 comptype = b'alaw' variable in AifcALAWTest
186 self.assertEqual(params.comptype, f.getcomptype())
190 for comptype in (b'ULAW', b'ulaw', b'ALAW', b'alaw', b'G722'):
194 fout.setcomptype(comptype, b'')
409 for comptype i
[all...]
H A Dtest_wave.py22 comptype = 'NONE' variable in WavePCM8Test
39 comptype = 'NONE' variable in WavePCM16Test
60 comptype = 'NONE' variable in WavePCM24Test
87 comptype = 'NONE' variable in WavePCM32Test
H A Daudiotests.py30 comptype, compname):
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, sel
[all...]
/third_party/ffmpeg/libavcodec/
H A 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/
H A Dtarfile.py343 def __init__(self, name, mode, comptype, fileobj, bufsize):
351 if comptype == '*':
355 comptype = fileobj.getcomptype()
359 self.comptype = comptype
367 if comptype == "gz":
380 elif comptype == "bz2":
392 elif comptype == "xz":
404 elif comptype != "tar":
405 raise CompressionError("unknown compression type %r" % comptype)
[all...]
H A Dwave.py90 'nchannels sampwidth framerate nframes comptype compname')
502 def setcomptype(self, comptype, compname):
505 if comptype not in ('NONE',):
507 self._comptype = comptype
517 nchannels, sampwidth, framerate, nframes, comptype, compname = params
524 self.setcomptype(comptype, compname)
H A Daifc.py264 'nchannels sampwidth framerate nframes comptype compname')
270 _aifc_params.comptype.__doc__ = 'Compression type ("NONE" for AIFF files)'
678 def setcomptype(self, comptype, compname):
681 if comptype not in (b'NONE', b'ulaw', b'ULAW',
684 self._comptype = comptype
699 nchannels, sampwidth, framerate, nframes, comptype, compname = params
702 if comptype not in (b'NONE', b'ulaw', b'ULAW',
709 self.setcomptype(comptype, compname)
972 print("comptype =", f.getcomptype())
H A Dsunau.py113 'nchannels sampwidth framerate nframes comptype compname')
409 nchannels, sampwidth, framerate, nframes, comptype, compname = params
414 self.setcomptype(comptype, compname)

Completed in 7 milliseconds