/cts/tests/media/jni/ |
D | NativeMuxerTest.cpp | 190 int frameCount = 0; in splitMediaToMuxerParameters() local 193 while (!sawEOS && frameCount < mFrameLimit) { in splitMediaToMuxerParameters() 207 frameCount++; in splitMediaToMuxerParameters() 211 ALOGV("frameCount:%d", frameCount); in splitMediaToMuxerParameters() 227 int* frameCount = new int[mTrackCount]{0}; in insertSampleData() local 230 AMediaCodecBufferInfo* info = mBufferInfo[index][frameCount[index]]; in insertSampleData() 233 delete[] frameCount; in insertSampleData() 237 frameCount[index]++; in insertSampleData() 239 delete[] frameCount; in insertSampleData() 253 int* frameCount = new int[mTrackCount]{0}; in writeAFewSamplesData() local [all …]
|
D | NativeExtractorTest.cpp | 92 for (int frameCount = 0;; frameCount++) { in isMediaSimilar() local 96 ALOGD(" MediaType: %s mismatch for sample: %d", refMediaType, frameCount); in isMediaSimilar() 158 frameCount, refSampleInfo.flags, refSampleInfo.size, in isMediaSimilar() 160 if (!haveRefSamples || frameCount >= sampleLimit) { in isMediaSimilar()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | BurstCaptureTest.java | 213 int frameCount = 0; in burstTestByCamera() local 228 frameCount++; in burstTestByCamera() 231 frameCount < MAX_CONVERGENCE_FRAMES); in burstTestByCamera() 243 frameCount = 0; in burstTestByCamera() 256 frameCount++; in burstTestByCamera() 259 frameCount < MAX_CONVERGENCE_FRAMES); in burstTestByCamera()
|
D | CameraGPURecordingTest.java | 153 int frameCount = 0; in captureGpuEncoderPath() local 160 if ((frameCount % 2) != 0) { in captureGpuEncoderPath() 173 frameCount++; in captureGpuEncoderPath()
|
D | SurfaceViewPreviewTest.java | 632 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval() argument 636 int measurementCount = frameCount - ((prevTimestamp > 0) ? 0 : 1); in measureMeanFrameInterval() 638 for (int i = 0; i < frameCount; i++) { in measureMeanFrameInterval()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | PlaybackFrameDrop.java | 63 public final int frameCount; // total count of full frames up to this point field in PlaybackFrameDrop.OutputHandler.BufferData 67 public BufferData(int frameCount, int bufferIndex, MediaCodec.BufferInfo info) { in BufferData() argument 68 this.frameCount = frameCount; in BufferData() 103 delayedReleaseOutput(output.frameCount, output.bufferIndex, output.info); in run()
|
D | CodecTestBase.java | 334 int frameCount = 0; in doWork() local 337 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 348 frameCount++; in doWork() 355 while (!mSawInputEOS && frameCount < frameLimit) { in doWork() 366 frameCount++; in doWork()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 752 MediaCodec codec, ByteBuffer buffer, int index, int frameCount, int flags, int runId) { in queueInputBufferEncoder() argument 755 Point origin = getOrigin(frameCount, runId); in queueInputBufferEncoder() 789 long ptsUsec = computePresentationTime(frameCount); in queueInputBufferEncoder() 792 if (VERBOSE && (frameCount == 0)) { in queueInputBufferEncoder() 805 MediaCodec codec, Image image, int index, int frameCount, int flags, int runId) { in queueInputImageEncoder() argument 809 Point origin = getOrigin(frameCount, runId); in queueInputImageEncoder() 822 long ptsUsec = computePresentationTime(frameCount); in queueInputImageEncoder() 825 if (VERBOSE && (frameCount == 0)) { in queueInputImageEncoder() 1013 private Point getOrigin(int frameCount, int runId) { in getOrigin() argument 1019 double x = (1 - Math.sin(frameCount / (7. + (runId % 2)))) * 0.1 + frameCount * 0.005; in getOrigin() [all …]
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MediaSyncEventTest.java | 70 final int frameCount = AudioHelper.frameCountFromMsec(PLAYBACK_TIME_IN_MS, format); in testSynchronizedRecord() local 74 .setBufferSizeInBytes(frameCount * frameSize) in testSynchronizedRecord() 78 final int sampleCount = frameCount * format.getChannelCount(); in testSynchronizedRecord() 140 if (track.getTimestamp(timestamp) && timestamp.framePosition > frameCount / 2) { in testSynchronizedRecord()
|
D | AudioTrackTest.java | 1534 int frameCount = 2 * minBuffSize; in testAudioTrackProperties() local 1536 frameCount /= 2; in testAudioTrackProperties() 1539 frameCount /= 2; in testAudioTrackProperties() 1541 assertTrue(TEST_NAME, track.getNativeFrameCount() >= frameCount); in testAudioTrackProperties() 1928 final int frameCount = in playOnceStreamByteBuffer() local 1930 final int bufferSize = frameCount * frameSize; in playOnceStreamByteBuffer() 1931 final int bufferSamples = frameCount * format.getChannelCount(); in playOnceStreamByteBuffer() 1989 final long maxDuration = frameCount * 1000 / testSampleRate + 1000; in playOnceStreamByteBuffer() 2010 final int remainingTimeMs = (int)((double)(frameCount - position) in playOnceStreamByteBuffer() 2215 final int frameCount = in doTestTimestamp() local [all …]
|
D | VolumeShaperTest.java | 205 final int frameCount = AudioHelper.frameCountFromMsec(100 /*ms*/, format); in createSineAudioTrack() local 215 .setBufferSizeInBytes(frameCount * frameSize) in createSineAudioTrack() 219 final int sampleCount = frameCount * format.getChannelCount(); in createSineAudioTrack() 225 audioTrack.setLoopPoints(0, frameCount, -1 /* loopCount */); in createSineAudioTrack()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderTestBase.java | 299 int frameCount = 0; in doWork() local 302 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < list.size()) { in doWork() 310 enqueueInput(bufferID, buffer, list.get(frameCount)); in doWork() 311 frameCount++; in doWork() 318 while (!mSawInputEOS && frameCount < list.size()) { in doWork() 328 enqueueInput(inputBufferId, buffer, list.get(frameCount)); in doWork() 329 frameCount++; in doWork()
|
D | CodecTestBase.java | 1301 int frameCount = 0; in doWork() local 1304 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 1315 frameCount++; in doWork() 1322 while (!mSawInputEOS && frameCount < frameLimit) { in doWork() 1333 frameCount++; in doWork()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | IvfWriter.java | 137 int frameCount, int width, int height, int scale, int rate, String mimeType) { in makeIvfHeader() argument 154 lay32Bits(ivfHeader, 24, frameCount); in makeIvfHeader()
|
D | VideoCodecTestBase.java | 219 int frameCount; field in VideoCodecTestBase.EncoderOutputStreamParameters 330 params.frameCount = encodeSeconds * frameRate; in getDefaultEncodingParameterList() 597 int frameCount = ivf.getFrameCount(); in decode() local 606 assertTrue(frameCount > 0); in decode() 659 if (inputFrameIndex == frameCount - 1) { in decode() 851 if (mStreamParams.frameCount == 0 in getInputFrame() 852 || (mStreamParams.frameCount > 0 in getInputFrame() 853 && mInputFrameIndex >= mStreamParams.frameCount)) { in getInputFrame() 1504 if (streamParams.frameCount > 0 && inputFrameIndex >= streamParams.frameCount) { in encode() 1510 if (streamParams.frameCount == 0) { in encode() [all …]
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | Camera2Focuser.java | 372 long frameCount = result.getFrameNumber(); in createCaptureListener() local 373 if (frameCount <= mLatestFrameCount) return; in createCaptureListener() 374 mLatestFrameCount = frameCount; in createCaptureListener()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 245 final int frameCount = stats.getFrameCount(); in testWindowContentFrameStats_NoAnimation() local 246 assertThat(frameCount).isAtMost(1); in testWindowContentFrameStats_NoAnimation() 247 if (frameCount == 0) { in testWindowContentFrameStats_NoAnimation() 531 final int frameCount = stats.getFrameCount(); in assertWindowContentTimestampsInAscendingOrder() local 532 for (int i = 0; i < frameCount; i++) { in assertWindowContentTimestampsInAscendingOrder()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderLowLatencyTest.java | 73 public DecoderLowLatencyTest(String mediaType, String testFile, int frameCount, in DecoderLowLatencyTest() argument 77 mFrameCount = frameCount; in DecoderLowLatencyTest()
|
/cts/hostsidetests/mediapc/videoencodingquality/src/ |
D | CtsVideoEncodingQualityHostTest.java | 414 int frameCount = obj.getInt("FrameCount"); in testEncoding() local 415 int clipDuration = frameCount / fps; in testEncoding() 464 writer.write("FRAME_COUNT = " + frameCount + "\n"); in testEncoding()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 98 String frameCount = retriever.extractMetadata( in extractVideoFileInfo() local 100 if (frameCount != null) { in extractVideoFileInfo() 101 info.mNumVideoFrames = Integer.parseInt(frameCount); in extractVideoFileInfo()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 196 private boolean waitWhilePumpingFrames(int frameCount, final View view, long timeout) in waitWhilePumpingFrames() argument 198 final CountDownLatch frameLatch = new CountDownLatch(frameCount); in waitWhilePumpingFrames()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoDecodeEditEncodeTest.java | 298 int frameCount = 0; in splitMediaToMuxerParameters() local 299 while (!sawEOS && frameCount < frameLimit) { in splitMediaToMuxerParameters() 316 frameCount++; in splitMediaToMuxerParameters()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | MuxerTest.java | 146 int frameCount = 0; in splitMediaToMuxerParameters() local 148 while (!sawEOS && frameCount < mFrameLimit) { in splitMediaToMuxerParameters() 163 frameCount++; in splitMediaToMuxerParameters() 179 int[] frameCount = new int[mTrackCount]; in insertSampleData() local 183 MediaCodec.BufferInfo bufferInfo = mBufferInfo.get(index).get(frameCount[index]); in insertSampleData() 185 frameCount[index]++; in insertSampleData()
|
D | ExtractorTest.java | 308 for (int frameCount = 0; ; frameCount++) { in isMediaSimilar() 317 + frameCount); in isMediaSimilar() 402 Log.v(LOG_TAG, "Mediatype: " + refMediaType + " Sample: " + frameCount in isMediaSimilar() 406 if (!haveRefSamples || frameCount >= sampleLimit) { in isMediaSimilar()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaSyncTest.java | 714 final int frameCount = APPLICATION_AUDIO_PERIOD_MS * sampleRateInHz / 1000; in getAudioTrack() local 719 * Math.max(minBufferSizeInBytes, frameCount * frameSizeInBytes); in getAudioTrack()
|