Home
last modified time | relevance | path

Searched refs:frameDuration (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2CaptureRequestTest.java415 long frameDuration = getValueNotNull(result, CaptureResult.SENSOR_FRAME_DURATION); in validateFrameDurationForCapture() local
417 Log.v(TAG, "frame duration: " + frameDuration + " Exposure time: " + expTime); in validateFrameDurationForCapture()
421 + " time (%d) for a given capture", frameDuration, expTime), in validateFrameDurationForCapture()
422 frameDuration >= expTime); in validateFrameDurationForCapture()
DCamera2SwitchPreviewTest.java497 Long frameDuration = minFrameDurationMap.get(s); in updatePreviewSurfaceWithVideo() local
500 frameDuration = new Long(0); in updatePreviewSurfaceWithVideo()
503 frameDuration != null); in updatePreviewSurfaceWithVideo()
504 if (frameDuration <= videoFrameDuration && in updatePreviewSurfaceWithVideo()
DCamera2RecordingTest.java776 Long frameDuration = minFrameDurationMap.get(s); in updatePreviewSurfaceWithVideo() local
779 frameDuration = new Long(0); in updatePreviewSurfaceWithVideo()
782 frameDuration != null); in updatePreviewSurfaceWithVideo()
783 if (frameDuration <= videoFrameDuration && in updatePreviewSurfaceWithVideo()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp792 uint32_t frameDuration; in onQueueFilled() local
794 frameDuration = (uint32_t)(inputBufferHeader->nTimeStamp - mLastTimestamp); in onQueueFilled()
796 frameDuration = (uint32_t)(((uint64_t)1000000 << 16) / mFramerate); in onQueueFilled()
803 frameDuration, // frame duration in timebase units in onQueueFilled()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp682 nsecs_t frameDuration = s2ns(1) / animation.fps; in playAnimation() local
755 nsecs_t delay = frameDuration - (now - lastFrame); in playAnimation()
772 usleep(part.pause * ns2us(frameDuration)); in playAnimation()