/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
D | fifo.c | 28 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize, in audio_utils_fifo_init() argument 32 ALOG_ASSERT(fifo != NULL && frameCount > 0 && frameSize > 0 && buffer != NULL); in audio_utils_fifo_init() 33 fifo->mFrameCount = frameCount; in audio_utils_fifo_init() 34 fifo->mFrameCountP2 = roundup(frameCount); in audio_utils_fifo_init()
|
D | fifo.h | 54 void audio_utils_fifo_init(struct audio_utils_fifo *fifo, size_t frameCount, size_t frameSize,
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTest.java | 233 final int frameCount = stats.getFrameCount(); in testWindowContentFrameStats() local 234 assertTrue(frameCount > 0); in testWindowContentFrameStats() 241 assertEquals(stats.getEndTimeNano(), stats.getFramePresentedTimeNano(frameCount - 1)); in testWindowContentFrameStats() 350 final int frameCount = stats.getFrameCount(); in testWindowAnimationFrameStats() local 351 assertTrue(frameCount > 0); in testWindowAnimationFrameStats() 358 assertEquals(stats.getEndTimeNano(), stats.getFramePresentedTimeNano(frameCount - 1)); in testWindowAnimationFrameStats() 616 final int frameCount = stats.getFrameCount(); in assertWindowContentTimestampsInAscendingOrder() local 617 for (int i = 0; i < frameCount; i++) { in assertWindowContentTimestampsInAscendingOrder() 643 final int frameCount = stats.getFrameCount(); in assertWindowAnimationTimestampsInAscendingOrder() local 644 for (int i = 0; i < frameCount; i++) { in assertWindowAnimationTimestampsInAscendingOrder()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | BurstCaptureTest.java | 172 int frameCount = 0; in burstTestByCamera() local 187 frameCount++; in burstTestByCamera() 190 frameCount < MAX_CONVERGENCE_FRAMES); in burstTestByCamera() 202 frameCount = 0; in burstTestByCamera() 215 frameCount++; in burstTestByCamera() 218 frameCount < MAX_CONVERGENCE_FRAMES); in burstTestByCamera()
|
D | SurfaceViewPreviewTest.java | 672 Pair<Long, Long> measureMeanFrameInterval(SimpleCaptureCallback resultListener, int frameCount, in measureMeanFrameInterval() argument 676 int measurementCount = frameCount - ((prevTimestamp > 0) ? 0 : 1); in measureMeanFrameInterval() 678 for (int i = 0; i < frameCount; i++) { in measureMeanFrameInterval()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | sles.h | 80 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, 89 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, int micSource, int numFram…
|
D | jni_sles.c | 25 (JNIEnv *env __unused, jobject obj __unused, jint samplingRate, jint frameCount, in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit() argument 30 if (slesInit(&pSles, samplingRate, frameCount, micSource, numFramesToIgnore) != SLES_FAIL) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit()
|
D | sles.cpp | 38 int slesInit(sles_data ** ppSles, int samplingRate, int frameCount, int micSource, in slesInit() argument 49 frameCount); in slesInit() 50 status = slesCreateServer(pSles, samplingRate, frameCount, micSource, in slesInit() 215 int slesCreateServer(sles_data *pSles, int samplingRate, int frameCount, in slesCreateServer() argument 263 pSles->bufSizeInFrames = frameCount;//240; // -f# in slesCreateServer()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | IvfWriter.java | 117 int frameCount, int width, int height, int scale, int rate, String mimeType) { in makeIvfHeader() argument 133 lay32Bits(ivfHeader, 24, frameCount); in makeIvfHeader()
|
D | AudioTrackTest.java | 1501 int frameCount = 2 * minBuffSize; in testAudioTrackProperties() local 1503 frameCount /= 2; in testAudioTrackProperties() 1506 frameCount /= 2; in testAudioTrackProperties() 1508 assertTrue(TEST_NAME, track.getNativeFrameCount() >= frameCount); in testAudioTrackProperties() 2003 final int frameCount = in testPlayChannelIndexStreamBuffer() local 2005 final int bufferSize = frameCount * frameSize; in testPlayChannelIndexStreamBuffer() 2006 final int bufferSamples = frameCount * format.getChannelCount(); in testPlayChannelIndexStreamBuffer() 2047 final long maxDuration = frameCount * 1000 / TEST_SR + 1000; in testPlayChannelIndexStreamBuffer() 2068 final int remainingTimeMs = (int)((double)(frameCount - position) in testPlayChannelIndexStreamBuffer() 2166 final int frameCount = in doTestTimestamp() local [all …]
|
D | VpxCodecTestBase.java | 200 int frameCount; field in VpxCodecTestBase.EncoderOutputStreamParameters 266 params.frameCount = encodeSeconds * frameRate; in getDefaultEncodingParameterList() 530 int frameCount = ivf.getFrameCount(); in decode() local 539 assertTrue(frameCount > 0); in decode() 588 if (inputFrameIndex == frameCount - 1) { in decode() 771 if (mStreamParams.frameCount == 0 in getInputFrame() 772 || (mStreamParams.frameCount > 0 in getInputFrame() 773 && mInputFrameIndex >= mStreamParams.frameCount)) { in getInputFrame() 1371 if (streamParams.frameCount > 0 && inputFrameIndex >= streamParams.frameCount) { in encode() 1377 if (streamParams.frameCount == 0) { in encode() [all …]
|
D | VolumeShaperTest.java | 177 final int frameCount = AudioHelper.frameCountFromMsec(100 /*ms*/, format); in createSineAudioTrack() local 182 .setBufferSizeInBytes(frameCount * frameSize) in createSineAudioTrack() 186 final int sampleCount = frameCount * format.getChannelCount(); in createSineAudioTrack() 192 audioTrack.setLoopPoints(0, frameCount, -1 /* loopCount */); in createSineAudioTrack()
|
/cts/tests/media/jni/ |
D | NativeMuxerTest.cpp | 162 int frameCount = 0; in splitMediaToMuxerParameters() local 165 while (!sawEOS && frameCount < mFrameLimit) { in splitMediaToMuxerParameters() 179 frameCount++; in splitMediaToMuxerParameters() 199 int* frameCount = new int[mTrackCount]{0}; in insertSampleData() local 202 AMediaCodecBufferInfo* info = mBufferInfo[index][frameCount[index]]; in insertSampleData() 205 delete[] frameCount; in insertSampleData() 209 frameCount[index]++; in insertSampleData() 211 delete[] frameCount; in insertSampleData()
|
D | NativeExtractorTest.cpp | 116 for (int frameCount = 0;; frameCount++) { in isMediaSimilar() local 120 ALOGD(" Mime: %s mismatch for sample: %d", refMime, frameCount); in isMediaSimilar() 179 ALOGV("Mime: %s Sample: %d flags: %d size: %d ts: %d", refMime, frameCount, in isMediaSimilar() 182 if (!haveRefSamples || frameCount >= sampleLimit) { in isMediaSimilar()
|
/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/media/src/android/mediav2/cts/ |
D | CodecTestBase.java | 658 int frameCount = 0; in doWork() local 661 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < frameLimit) { in doWork() 672 frameCount++; in doWork() 679 while (!mSawInputEOS && frameCount < frameLimit) { in doWork() 690 frameCount++; in doWork() 984 int frameCount = 0; in doWork() local 987 while (!mAsyncHandle.hasSeenError() && !mSawInputEOS && frameCount < list.size()) { in doWork() 995 enqueueInput(bufferID, buffer, list.get(frameCount)); in doWork() 996 frameCount++; in doWork() 1003 while (!mSawInputEOS && frameCount < list.size()) { in doWork() [all …]
|
D | MuxerTest.java | 126 int frameCount = 0; in splitMediaToMuxerParameters() local 128 while (!sawEOS && frameCount < mFrameLimit) { in splitMediaToMuxerParameters() 143 frameCount++; in splitMediaToMuxerParameters() 159 int[] frameCount = new int[mTrackCount]; in insertSampleData() local 163 MediaCodec.BufferInfo bufferInfo = mBufferInfo.get(index).get(frameCount[index]); in insertSampleData() 165 frameCount[index]++; in insertSampleData()
|
D | ExtractorTest.java | 269 for (int frameCount = 0; ; frameCount++) { in isMediaSimilar() 277 " Mime: " + refMime + " mismatch for sample: " + frameCount); in isMediaSimilar() 356 Log.v(LOG_TAG, "Mime: " + refMime + " Sample: " + frameCount + in isMediaSimilar() 361 if (!haveRefSamples || frameCount >= sampleLimit) { in isMediaSimilar()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1042 MediaCodec codec, ByteBuffer buffer, int index, int frameCount, int flags, int runId) { in queueInputBufferEncoder() argument 1045 Point origin = getOrigin(frameCount, runId); in queueInputBufferEncoder() 1079 long ptsUsec = computePresentationTime(frameCount); in queueInputBufferEncoder() 1082 if (VERBOSE && (frameCount == 0)) { in queueInputBufferEncoder() 1095 MediaCodec codec, Image image, int index, int frameCount, int flags, int runId) { in queueInputImageEncoder() argument 1099 Point origin = getOrigin(frameCount, runId); in queueInputImageEncoder() 1112 long ptsUsec = computePresentationTime(frameCount); in queueInputImageEncoder() 1115 if (VERBOSE && (frameCount == 0)) { in queueInputImageEncoder() 1303 private Point getOrigin(int frameCount, int runId) { in getOrigin() argument 1309 double x = (1 - Math.sin(frameCount / (7. + (runId % 2)))) * 0.1 + frameCount * 0.005; in getOrigin() [all …]
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.cpp | 160 int32_t avgBitrate = stats.getBitrateAverage(0, config.frameCount() - 1); in checkOverallBitrate() 206 if (iInterval >= stats.frameCount()) { in checkIntraPeriod() 208 iInterval, stats.frameCount()); in checkIntraPeriod()
|
D | native_media_utils.h | 152 int32_t frameCount() const { in frameCount() function 177 int32_t frameCount() const { in frameCount() function
|
D | native_media_encoder_jni.cpp | 170 int32_t encodedFrames = mStats.frameCount(); in validate() 171 int32_t inputFrames = mRunConfig->frameCount(); in validate() 210 int32_t framesToEncode = mRunConfig->frameCount(); in run()
|
/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/ |
D | DrawFramesActivity.java | 150 public void drawFrames(final int frameCount) throws InterruptedException, TimeoutException { in drawFrames() argument 151 drawFrames(new int[frameCount]); in drawFrames()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedVectorDrawableParameterizedTest.java | 189 private boolean waitWhilePumpingFrames(int frameCount, final View view, long timeout) in waitWhilePumpingFrames() argument 191 final CountDownLatch frameLatch = new CountDownLatch(frameCount); in waitWhilePumpingFrames()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | NativeAudioThread.java | 92 public native long slesInit(int samplingRate, int frameCount, int micSource, in slesInit() argument
|