/cts/suite/audio_quality/test_description/processing/ |
D | calc_thd.py | 17 import numpy as np namespace 25 fftData = abs(fft.fft(data * np.hanning(len(data)))) 31 np.argmax(fftData[baseI - iMargain /2: baseI + iMargain/2]) 32 peakLoc = np.argmax(fftData[:fftLen]) 53 index = np.linspace(0.0, samples, num=samples, endpoint=False) 55 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate) 56 data = np.sin(index * multiplier)
|
D | calc_delay.py | 17 import numpy as np namespace 29 return np.dot(data0[n:N+n], data1reversed) 57 return np.argmax(result) 68 index = np.linspace(0.0, samples, num=samples, endpoint=False) 70 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate) 71 data0 = np.sin(index * multiplier)
|
D | example.py | 18 import numpy as np namespace 45 stereo = stereoInt.astype(np.int16) 48 mono = monoInt.astype(np.int16)
|
D | gen_random.py | 18 import numpy as np namespace 32 result = np.zeros(samples * 2 if stereo else samples, dtype=np.int16) 33 randomSignal = np.random.normal(scale = peakAmpl * 2 / 3, size=samples)
|
D | check_spectrum_playback.py | 18 import numpy as np namespace 54 spectrum = np.sqrt(abs(Phh[iLow:iHigh])) 55 spectrumMean = np.mean(spectrum) 63 spectrumResult = np.zeros(len(spectrum), dtype=np.int16)
|
D | check_spectrum.py | 18 import numpy as np namespace 59 amplitudeRatio = np.sqrt(abs(Pdd[iLow:iHigh]/Phh[iLow:iHigh])) 60 ratioMean = np.mean(amplitudeRatio) 68 RatioResult = np.zeros(len(amplitudeRatio), dtype=np.int16) 76 monoData = np.zeros(n)
|
D | playback_thd.py | 18 import numpy as np namespace
|
D | recording_thd.py | 18 import numpy as np namespace
|
/cts/apps/CameraITS/tests/dng_noise_model/ |
D | dng_noise_model.py | 26 import numpy as np namespace 56 f = np.array([-1, 1]).astype('float32') 59 f = np.convolve(f, f) 60 f = np.convolve(f, f) 78 f = f/math.sqrt(np.dot(f, f)) 155 np.mean(tile(p, tile_size), axis=(0, 1)).flatten() 157 np.var(tile(hp, tile_size), axis=(0, 1)).flatten() 192 sens = np.asarray([e[0] for e in measured_models]) 193 sens_sq = np.square(sens) 196 gains = np.asarray([s[0] for s in samples]) [all …]
|
/cts/suite/audio_quality/test_description/conf/ |
D | check_conf.py | 18 import numpy as np namespace 25 a = np.array([1,2,3])
|
/cts/suite/audio_quality/test_description/ |
D | processing_main.py | 18 import numpy as np namespace 174 data = np.fromstring(raw, dtype=np.int16)
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 366 NinePatch np = new NinePatch(bitmap, bitmap.getNinePatchChunk(), null); in getNinePatchDrawable() local 367 return new NinePatchDrawable(mResources, np); in getNinePatchDrawable()
|
/cts/tests/tests/media/assets/ |
D | fileSequence1.ts | 36 |�-np����a��I�@��g�Jޙ��孻S�������6���k�a�Bfs�G����O�9�B�"�o<�R&�+�x��u�`QI��V�rF&�;��{;�…
|
D | segment000001.ts | 2024 ���T-껌3Q��4��o��jnF�DoE�V��8�����w�}[U��ŝ�`0(Q'��ΣG,np��@,���hՄ�hY�S��pa4<��\�Uz�<dێ�;��L
|
D | fileSequence0.ts | 387 �c��wo1�X�7�np��Ql�5�xU?��|�7�uhj�>�����f���lB�q������&�������?���X�A��k�f�d���k�.�xG…
|
D | segment000000.ts | 97 �c��wo1�X�7�np��Ql�5�xU?��|�7�uhj�>����G�f���lB�q������&�������?���X�A��k�f�d���k�.�x…
|
/cts/tests/tests/media/res/raw/ |
D | testmp3_3.raw | 1 …gjdYixbUz1gQABFgkp2rAgAAaqpmI0sfsZ05skRWi1eHnXiwXxmDwn/37dnYQt04cyqidPmi1/2np+lK0b7W32////29P7en//…
|