/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | IvfReader.java | 104 public byte[] readFrame(int frameIndex) throws IOException { in readFrame() argument 105 if (frameIndex > mFrameCount || frameIndex < 0){ in readFrame() 108 int frameSize = mFrameSizes[frameIndex]; in readFrame() 109 int frameHead = mFrameHeads[frameIndex]; in readFrame()
|
D | EncodeDecodeTest.java | 1006 private void generateFrame(int frameIndex, int colorFormat, byte[] frameData) { in generateFrame() argument 1015 frameIndex %= 8; in generateFrame() 1017 if (frameIndex < 4) { in generateFrame() 1018 startX = frameIndex * (mWidth / 4); in generateFrame() 1021 startX = (7 - frameIndex) * (mWidth / 4); in generateFrame() 1062 …private boolean checkFrame(int frameIndex, MediaFormat format, ByteBuffer frameData, Image image) { in checkFrame() argument 1136 if (i == frameIndex % 8) { in checkFrame() 1148 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": yuv=" + testY + in checkFrame() 1161 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument 1162 frameIndex %= 8; in generateSurfaceFrame() [all …]
|
D | DecodeEditEncodeTest.java | 522 private void generateSurfaceFrame(int frameIndex) { in generateSurfaceFrame() argument 523 frameIndex %= 8; in generateSurfaceFrame() 526 if (frameIndex < 4) { in generateSurfaceFrame() 528 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame() 531 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame() 933 private boolean checkSurfaceFrame(int frameIndex) { in checkSurfaceFrame() argument 937 int maxDelta = frameIndex < INITIAL_TOLERANCE_FRAME_LIMIT ? INITIAL_TOLERANCE : TOLERANCE; in checkSurfaceFrame() 970 if (i == frameIndex % 8) { in checkSurfaceFrame() 984 Log.w(TAG, "Bad frame " + frameIndex + " (rect=" + i + ": rgb=" + r + in checkSurfaceFrame() 1009 private static long computePresentationTime(int frameIndex) { [all …]
|
D | MediaCodecBlockModelTest.java | 338 int frameIndex = 0; in runEncodeShortVideo() local 374 (byte)(frameIndex * 4)); in runEncodeShortVideo() 383 long timestampUs = 1000000l * frameIndex / kFrameRate; in runEncodeShortVideo() 384 ++frameIndex; in runEncodeShortVideo() 385 if (frameIndex >= 32) { in runEncodeShortVideo()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | SparseChannelAudioSource.java | 57 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in pull()
|
D | WaveTableSource.java | 118 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in pull()
|
/cts/tests/tests/media/audio/jni/ |
D | WaveTableOscillator.cpp | 78 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in getData() local
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | WaveTableSource.cpp | 62 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in pull() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/ |
D | BaseSineAnalyzer.java | 325 for (int frameIndex = 0; frameIndex < numFrames; frameIndex++) { in analyzeBuffer()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | Av1FilmGrainValidationTest.java | 67 FrameMetadata(int frameIndex, double varWithoutFilmGrain, double varWithFilmGrain) { in FrameMetadata() argument 68 mFrameIndex = frameIndex; in FrameMetadata()
|
D | EncodeDecodeAccuracyTest.java | 410 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument 411 return frameIndex * 1000000L / mEncCfgParams.mFrameRate; in computePresentationTime() 435 private boolean checkSurfaceFrame(int frameIndex) { in checkSurfaceFrame() argument 460 Log.w(LOG_TAG, "Bad frame " + frameIndex + " (rect={" + x + " " + y + "} :rgb=" + in checkSurfaceFrame()
|
D | EncoderColorAspectsTest.java | 209 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument 210 return frameIndex * 1000000L / mActiveEncCfg.mFrameRate; in computePresentationTime()
|
D | DecodeGlAccuracyTest.java | 472 private boolean checkSurfaceFrame(int frameIndex) { in checkSurfaceFrame() argument 494 Log.w(LOG_TAG, "Bad frame " + frameIndex + " (rect={" + x + " " + y + "} :rgb=" + in checkSurfaceFrame()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | HeifWriterTest.java | 611 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument 612 return 132 + (long)frameIndex * 1000000; in computePresentationTime() 615 private void fillYuvBuffer(int frameIndex, @NonNull byte[] data, int width, int height, in fillYuvBuffer() argument 620 byte[] color = TEST_YUV_COLORS[frameIndex % TEST_YUV_COLORS.length]; in fillYuvBuffer() 648 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument 664 Rect r = getColorBlockRect(frameIndex, width, height); in generateSurfaceFrame()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 97 virtual void onInputBufferDone(uint64_t frameIndex, size_t arrayIndex) override { in onInputBufferDone() 98 (void)frameIndex; in onInputBufferDone() 283 work->input.ordinal.frameIndex.peeku()); in workDone() 336 work->input.ordinal.frameIndex = frameID; in decodeNFrames()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | PlaybackFrameDrop.java | 278 private long getRenderTimeUs(int frameIndex) { in getRenderTimeUs() argument 279 return mRenderStartTimeUs + frameIndex * mEachFrameTimeIntervalUs; in getRenderTimeUs()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | SurfaceEncodeTimestampTest.java | 525 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument 541 Rect r = getColorBlockRect(frameIndex, width, height); in generateSurfaceFrame()
|
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/ |
D | MediaRecorderTest.java | 893 private void generateSurfaceFrame(int frameIndex, int width, int height) { in generateSurfaceFrame() argument 894 frameIndex %= 8; in generateSurfaceFrame() 897 if (frameIndex < 4) { in generateSurfaceFrame() 899 startX = frameIndex * (width / 4); in generateSurfaceFrame() 902 startX = (7 - frameIndex) * (width / 4); in generateSurfaceFrame() 919 long startTimeOffset, int frameIndex, int frameRate) { in computePresentationTime() argument 920 return startTimeOffset + frameIndex * 1000000 / frameRate; in computePresentationTime()
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio.cpp | 138 const int64_t frameIndex = isOutput() ? AAudioStream_getFramesWritten(stream()) in getLatency() local 141 const int64_t frameIndexDelta = frameIndex - presentationPosition; in getLatency()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1214 private long computePresentationTime(int frameIndex) { in computePresentationTime() argument 1215 return TIMESTAMP_OFFSET + frameIndex * 1000000L / mFrameRate; in computePresentationTime()
|