/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | OutputManager.java | 185 int bytesPerSample) { in checksum() 194 System.arraycopy(buf.array(), offset, bb, i * width * bytesPerSample, in checksum() local 195 width * bytesPerSample); in checksum() local 244 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in checksum() local 387 int bytesPerSample = AudioFormat.getBytesPerSample(audioFormat); in getRmsError() local
|
D | VideoErrorManager.java | 127 static double computeMSE(byte[] data0, byte[] data1, int bytesPerSample, int imgWidth, in computeMSE() 168 static double computePSNR(double mse, int bytesPerSample) { in computePSNR()
|
D | RawResource.java | 97 public Builder setBytesPerSample(int bytesPerSample) { in setBytesPerSample()
|
D | CodecDecoderMultiAccessUnitTestBase.java | 247 int bytesPerSample = AudioFormat.getBytesPerSample( in configureKeysForLargeAudioFrameMode() local
|
D | CompareStreams.java | 148 int bytesPerSample, int inpFrameWidth, int inpFrameHeight, byte[] inputData) { in fillByteArray() 194 int bytesPerSample = (ImageFormat.getBitsPerPixel(imgFormat) * 2) / (8 * 3); in dequeueOutput() local
|
D | CodecDecoderBlockModelMultiAccessUnitTestBase.java | 250 int bytesPerSample = AudioFormat.getBytesPerSample( in configureKeysForLargeAudioBlockModelFrameMode() local
|
D | CodecEncoderTestBase.java | 361 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in fillImage() local 392 buf.position((z + y) * rowStride + x * bytesPerSample); in fillImage() local
|
D | DecodeStreamToYuv.java | 176 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in getImage() local
|
D | CodecDecoderTestBase.java | 273 int bytesPerSample = (ImageFormat.getBitsPerPixel(imgFormat) * 2) / (8 * 3); in dequeueOutput() local
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MediaSyncEventTest.java | 155 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testSynchronizedRecord() local
|
D | AudioTrack_ListenerTest.java | 168 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
|
D | AudioRecordTest.java | 706 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testTimestamp() local 1163 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 | 2312 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testVariableRatePlayback() local 2380 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in testStopDrain() local
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainHotwordDetectionService.java | 563 int bytesPerSample = 2; // for ENCODING_PCM_16BIT in canReadAudio() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 124 int bytesPerSample = getBytesPerSample(mInputAudioFormat); in run() local
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 276 int bytesPerSample = AudioFormat.getBytesPerSample(audioFormat); in verify() local
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 275 int stride, int bytesPerSample) { in updateChecksum()
|