Searched refs:frameData (Results 1 – 6 of 6) sorted by relevance
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | ChoreographerTest.java | 318 public void onVsync(Choreographer.FrameData frameData) { in onVsync() argument 319 mFrameTimeNanos = frameData.getFrameTimeNanos(); in onVsync() 366 mChoreographer.postVsyncCallback(frameData -> { in testPostVsyncCallbackFrameDataPreferredFrameTimelineValid() 368 frameData.getFrameTimelines().length > 0); in testPostVsyncCallbackFrameDataPreferredFrameTimelineValid() 369 Set<Choreographer.FrameTimeline> frameTimelines = Set.of(frameData.getFrameTimelines()); in testPostVsyncCallbackFrameDataPreferredFrameTimelineValid() 371 frameTimelines.contains(frameData.getPreferredFrameTimeline())); in testPostVsyncCallbackFrameDataPreferredFrameTimelineValid() 382 mChoreographer.postVsyncCallback(frameData -> { in testPostVsyncCallbackFrameDataVsyncIdValid() 384 frameData.getFrameTimelines().length > 0); in testPostVsyncCallbackFrameDataVsyncIdValid() 386 for (Choreographer.FrameTimeline frameTimeline : frameData.getFrameTimelines()) { in testPostVsyncCallbackFrameDataVsyncIdValid() 405 public void onVsync(Choreographer.FrameData frameData) { in onVsync() argument [all …]
|
D | SurfaceControlTest.java | 1600 public void onVsync(@NonNull Choreographer.FrameData frameData) { in testSurfaceTransaction_setFrameTimeline_preferredIndex() 1603 mDesiredPresentTimeNanos = frameData.getPreferredFrameTimeline() in testSurfaceTransaction_setFrameTimeline_preferredIndex() 1606 frameData.getPreferredFrameTimeline().getVsyncId()).apply(); in testSurfaceTransaction_setFrameTimeline_preferredIndex() 1651 public void onVsync(@NonNull Choreographer.FrameData frameData) { in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex() 1655 Choreographer.FrameTimeline[] timelines = frameData.getFrameTimelines(); in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeDecodeTest.java | 530 byte[] frameData = new byte[mWidth * mHeight * 3 / 2]; in doEncodeDecodeVideoFromBuffer() 583 generateFrame(generateIndex, encoderColorFormat, frameData); in doEncodeDecodeVideoFromBuffer() 587 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer() 589 inputBuf.put(frameData); in doEncodeDecodeVideoFromBuffer() 591 encoder.queueInputBuffer(inputBufIndex, 0, frameData.length, ptsUsec, 0); in doEncodeDecodeVideoFromBuffer() 1006 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument 1011 Arrays.fill(frameData, (byte) 0); in generateFrame() 1032 frameData[y * mWidth + x] = (byte) TEST_Y; in generateFrame() 1034 frameData[mWidth*mHeight + y * HALF_WIDTH + x] = (byte) TEST_U; in generateFrame() 1035 frameData[mWidth*mHeight + y * HALF_WIDTH + x + 1] = (byte) TEST_V; in generateFrame() [all …]
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
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()
|
D | LatencyAnalyzer.h | 301 virtual result_code processInputFrame(const float *frameData, int channelCount) = 0; 302 virtual result_code processOutputFrame(float *frameData, int channelCount) = 0; 552 result_code processInputFrame(const float *frameData, int channelCount) override { in processInputFrame() argument 555 float input = frameData[0]; in processInputFrame() 588 result_code processOutputFrame(float *frameData, int channelCount) override { in processOutputFrame() argument 594 frameData[i] = pulseSample; in processOutputFrame() 598 frameData[i] = 0; in processOutputFrame() 608 frameData[i] = 0.0f; // silence in processOutputFrame()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/ |
D | BaseSineAnalyzer.java | 268 RESULT_CODE processInputFrame(float[] frameData, int offset) { in processInputFrame() argument 271 float sample = frameData[offset]; in processInputFrame()
|