Searched defs:bytesPerSample (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MediaSyncEventTest.java | 129 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testSynchronizedRecord() local
|
D | AudioTrack_ListenerTest.java | 160 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
|
D | AudioRecordTest.java | 614 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testTimestamp() local 1118 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
|
D | AudioTrackLatencyTest.java | 176 public int bytesPerSample = 2; field in AudioTrackLatencyTest.TestSetup
|
D | AudioTrackTest.java | 2289 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testVariableRatePlayback() local 2356 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testStopDrain() local
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainHotwordDetectionService.java | 294 int bytesPerSample = 2; // for ENCODING_PCM_16BIT in canReadAudio() local
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecTestBase.java | 310 void checksum(ByteBuffer buf, int size, int width, int height, int stride, int bytesPerSample) { in checksum() 319 System.arraycopy(buf.array(), offset, bb, i * width * bytesPerSample, in checksum() local 320 width * bytesPerSample); in checksum() local 357 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in checksum() local 468 int bytesPerSample = AudioFormat.getBytesPerSample(audioFormat); in getRmsError() local 1688 int bytesPerSample = (ImageFormat.getBitsPerPixel(imgFormat) * 2) / (8 * 3); in dequeueOutput() local 1973 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in fillImage() local 2003 buf.position((z + y) * rowStride + x * bytesPerSample); in fillImage() local
|
D | CodecDecoderTest.java | 240 int bytesPerSample = AudioFormat.getBytesPerSample(audioFormat); in verify() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/soundio/ |
D | SoundPlayerObject.java | 124 int bytesPerSample = getBytesPerSample(mInputAudioFormat); in run() local
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 211 int stride, int bytesPerSample) { in updateChecksum()
|