Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2CaptureRequestTest.java416 long frameDuration = getValueNotNull(result, CaptureResult.SENSOR_FRAME_DURATION); in validateFrameDurationForCapture() local
418 Log.v(TAG, "frame duration: " + frameDuration + " Exposure time: " + expTime); in validateFrameDurationForCapture()
422 + " time (%d) for a given capture", frameDuration, expTime), in validateFrameDurationForCapture()
423 frameDuration >= expTime); in validateFrameDurationForCapture()
DCamera2SwitchPreviewTest.java498 Long frameDuration = minFrameDurationMap.get(s); in updatePreviewSurfaceWithVideo() local
501 frameDuration = new Long(0); in updatePreviewSurfaceWithVideo()
504 frameDuration != null); in updatePreviewSurfaceWithVideo()
505 if (frameDuration <= videoFrameDuration && in updatePreviewSurfaceWithVideo()
DCamera2RecordingTest.java784 Long frameDuration = minFrameDurationMap.get(s); in updatePreviewSurfaceWithVideo() local
787 frameDuration = new Long(0); in updatePreviewSurfaceWithVideo()
790 frameDuration != null); in updatePreviewSurfaceWithVideo()
791 if (frameDuration <= videoFrameDuration && in updatePreviewSurfaceWithVideo()
/frameworks/av/media/libstagefright/codecs/on2/enc/
DSoftVPXEncoder.cpp711 uint32_t frameDuration; in onQueueFilled() local
713 frameDuration = (uint32_t)(inputBufferHeader->nTimeStamp - mLastTimestamp); in onQueueFilled()
717 frameDuration = (uint32_t)(((uint64_t)1000000 << 16) / framerate); in onQueueFilled()
724 frameDuration, // frame duration in timebase units in onQueueFilled()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp578 uint32_t frameDuration; in process() local
580 frameDuration = (uint32_t)(inputTimeStamp - mLastTimestamp); in process()
587 frameDuration = (uint32_t)(1000000 / frameRate + 0.5); in process()
593 frameDuration, flags, in process()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp922 nsecs_t frameDuration = s2ns(1) / animation.fps; in playAnimation() local
993 handleViewport(frameDuration); in playAnimation()
998 nsecs_t delay = frameDuration - (now - lastFrame); in playAnimation()
1015 usleep(part.pause * ns2us(frameDuration)); in playAnimation()
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java1668 public Builder setPreferredFrameDuration(float frameDuration) { in setPreferredFrameDuration() argument
1669 if (frameDuration < 0) { in setPreferredFrameDuration()
1672 mPreferredFrameDuration = frameDuration; in setPreferredFrameDuration()