Searched refs:frameData (Results 1 – 3 of 3) sorted by relevance
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | LatencyAnalyzer.h | 264 virtual result_code processInputFrame(float *frameData, int channelCount) = 0; 265 virtual result_code processOutputFrame(float *frameData, int channelCount) = 0; 498 result_code processInputFrame(float *frameData, int channelCount) override { in processInputFrame() argument 505 mBackgroundSumSquare += frameData[0] * frameData[0]; in processInputFrame() 517 mAudioRecording.write(frameData, channelCount, 1); in processInputFrame() 533 result_code processOutputFrame(float *frameData, int channelCount) override { in processOutputFrame() argument 539 frameData[i] = pulseSample; in processOutputFrame() 543 frameData[i] = 0; in processOutputFrame() 553 frameData[i] = 0.0f; // silence in processOutputFrame()
|
D | GlitchAnalyzer.h | 149 result_code processInputFrame(float *frameData, int /* channelCount */) override { in processInputFrame() argument 152 float sample = frameData[0]; in processInputFrame() 313 result_code processOutputFrame(float *frameData, int channelCount) override { in processOutputFrame() argument 323 frameData[0] = output; in processOutputFrame() 325 frameData[i] = 0.0f; in processOutputFrame()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeDecodeTest.java | 643 byte[] frameData = new byte[mWidth * mHeight * 3 / 2]; in doEncodeDecodeVideoFromBuffer() 696 generateFrame(generateIndex, encoderColorFormat, frameData); in doEncodeDecodeVideoFromBuffer() 700 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer() 702 inputBuf.put(frameData); in doEncodeDecodeVideoFromBuffer() 704 encoder.queueInputBuffer(inputBufIndex, 0, frameData.length, ptsUsec, 0); in doEncodeDecodeVideoFromBuffer() 1119 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument 1124 Arrays.fill(frameData, (byte) 0); in generateFrame() 1145 frameData[y * mWidth + x] = (byte) TEST_Y; in generateFrame() 1147 frameData[mWidth*mHeight + y * HALF_WIDTH + x] = (byte) TEST_U; in generateFrame() 1148 frameData[mWidth*mHeight + y * HALF_WIDTH + x + 1] = (byte) TEST_V; in generateFrame() [all …]
|