Home
last modified time | relevance | path

Searched defs:bytesPerSample (Results 1 – 18 of 18) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DOutputManager.java185 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
DVideoErrorManager.java127 static double computeMSE(byte[] data0, byte[] data1, int bytesPerSample, int imgWidth, in computeMSE()
168 static double computePSNR(double mse, int bytesPerSample) { in computePSNR()
DRawResource.java97 public Builder setBytesPerSample(int bytesPerSample) { in setBytesPerSample()
DCodecDecoderMultiAccessUnitTestBase.java247 int bytesPerSample = AudioFormat.getBytesPerSample( in configureKeysForLargeAudioFrameMode() local
DCompareStreams.java148 int bytesPerSample, int inpFrameWidth, int inpFrameHeight, byte[] inputData) { in fillByteArray()
194 int bytesPerSample = (ImageFormat.getBitsPerPixel(imgFormat) * 2) / (8 * 3); in dequeueOutput() local
DCodecDecoderBlockModelMultiAccessUnitTestBase.java250 int bytesPerSample = AudioFormat.getBytesPerSample( in configureKeysForLargeAudioBlockModelFrameMode() local
DCodecEncoderTestBase.java361 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in fillImage() local
392 buf.position((z + y) * rowStride + x * bytesPerSample); in fillImage() local
DDecodeStreamToYuv.java176 int bytesPerSample = (ImageFormat.getBitsPerPixel(format) * 2) / (8 * 3); // YUV420 in getImage() local
DCodecDecoderTestBase.java273 int bytesPerSample = (ImageFormat.getBitsPerPixel(imgFormat) * 2) / (8 * 3); in dequeueOutput() local
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DMediaSyncEventTest.java155 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testSynchronizedRecord() local
DAudioTrack_ListenerTest.java168 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
DAudioRecordTest.java706 final int bytesPerSample = AudioFormat.getBytesPerSample(RECORD_ENCODING); in testTimestamp() local
1163 final int bytesPerSample = AudioFormat.getBytesPerSample(TEST_FORMAT); in doTest() local
DAudioTrackLatencyTest.java176 public int bytesPerSample = 2; field in AudioTrackLatencyTest.TestSetup
DAudioTrackTest.java2312 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/
DMainHotwordDetectionService.java563 int bytesPerSample = 2; // for ENCODING_PCM_16BIT in canReadAudio() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java124 int bytesPerSample = getBytesPerSample(mInputAudioFormat); in run() local
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java276 int bytesPerSample = AudioFormat.getBytesPerSample(audioFormat); in verify() local
/cts/tests/media/jni/
DNativeCodecTestBase.cpp275 int stride, int bytesPerSample) { in updateChecksum()