Searched refs:fps (Results 26 - 50 of 53) sorted by relevance

123

/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.h165 status_t setTimeLapseConfig(double fps, double captureFps);
435 // timestamp interval (after rounding) with the configured capture fps. The
H A DGraphicBufferSource.cpp1223 status_t GraphicBufferSource::setTimeLapseConfig(double fps, double captureFps) { argument
1224 ALOGV("setTimeLapseConfig: fps=%lg, captureFps=%lg",
1225 fps, captureFps);
1229 if (mExecuting || !(fps > 0) || !(captureFps > 0)) {
1233 mFps = fps;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h124 int fps; member in struct:android::BootAnimation::Animation
H A DBootAnimation.cpp425 // 12fps: don't animate too fast to preserve CPU
652 int fps = 0; local
663 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) {
664 // ALOGD("> w=%d, h=%d, fps=%d", width, height, fps);
667 animation.fps = fps;
896 nsecs_t frameDuration = s2ns(1) / animation.fps;
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionMeasuringActivity.java394 Measurement(int surfaceCnt, double fps) { argument
396 mFPS = fps;
426 double fps = mViews.get(0).measureFPS(mRefreshRate * 0.8, mRefreshRate * 0.999);
431 return fps;
/frameworks/av/camera/
H A DCameraParameters2.cpp286 void CameraParameters2::setPreviewFrameRate(int fps)
288 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps);
H A DCameraParameters.cpp34 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range";
35 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values";
398 void CameraParameters::setPreviewFrameRate(int fps) argument
400 set(KEY_PREVIEW_FRAME_RATE, fps);
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java510 * @param fps Rate at which frames should be captured in frames per second.
511 * The fps can go as low as desired. However the fastest fps will be limited by the hardware.
512 * For resolutions that can be captured by the video camera, the fastest fps can be computed using
514 * resolutions the fastest fps may be more restrictive.
519 public void setCaptureRate(double fps) { argument
522 setParameter("time-lapse-fps=" + fps);
1349 public static final String CAPTURE_FPS = "android.media.mediarecorder.capture-fps";
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java1031 public synchronized void setDesiredFrameRate(int fps) { argument
1032 if (fps != mRequestedFramesPerSec) {
1033 mRequestedFramesPerSec = fps;
1357 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { argument
1360 int fpsk = fps * 1000;
1594 * @param fps The desired FPS.
1596 public void setDesiredFrameRate(int fps) { argument
1597 mCameraRunner.setDesiredFrameRate(fps);
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp555 mainDpyInfo.w, mainDpyInfo.h, mainDpyInfo.fps,
572 err = prepareEncoder(mainDpyInfo.fps, &encoder, &encoderInputSurface);
585 err = prepareEncoder(mainDpyInfo.fps, &encoder,
/frameworks/av/media/libstagefright/
H A DMediaSync.cpp374 float fps = mFrameScheduler->getFrameRate(); local
375 if (fps > 0.f) {
376 return fps;
567 // smooth out videos >= 10fps
H A DUtils.cpp782 int32_t fps; local
783 if (meta->findInt32(kKeyFrameRate, &fps) && fps > 0) {
784 msg->setInt32("frame-rate", fps);
1428 int32_t fps; local
1430 if (msg->findInt32("frame-rate", &fps) && fps > 0) {
1431 meta->setInt32(kKeyFrameRate, fps);
1434 // truncate values to distinguish between e.g. 24 vs 23.976 fps
1780 msg->setFloat("video-fps", videoFpsHin
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h175 status_t setParamCaptureFps(double fps);
H A DStagefrightRecorder.cpp86 static const char *kRecorderCaptureFps = "android.media.mediarecorder.capture-fps";
674 // 60000 is chosen to make sure that each video frame from a 60-fps
709 status_t StagefrightRecorder::setParamCaptureFps(double fps) { argument
710 ALOGV("setParamCaptureFps: %.2f", fps);
712 if (!(fps >= 1.0 / 86400)) {
716 mCaptureFps = fps;
843 } else if (key == "time-lapse-fps") {
844 double fps; local
845 if (safe_strtod(value.string(), &fps)) {
846 return setParamCaptureFps(fps);
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp330 void NuPlayer::Renderer::setVideoFrameRate(float fps) { argument
332 msg->setFloat("frame-rate", fps);
723 float fps; local
724 CHECK(msg->findFloat("frame-rate", &fps));
725 onSetVideoFrameRate(fps);
1269 // smooth out videos >= 10fps
1367 // Also smooth out videos >= 10fps.
1787 void NuPlayer::Renderer::onSetVideoFrameRate(float fps) { argument
1791 mVideoScheduler->init(fps);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h411 // Helper function to check if a given fps is supported by all the sizes with
414 bool isFpsSupported(const Vector<Size> &size, int format, int32_t fps);
H A DParameters.cpp259 // from the [min, max] fps range use the max value
260 int fps = fpsFromRange(availableFpsRanges.data.i32[i], local
263 HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, fps)) {
267 if (sortedPreviewFrameRates.indexOf(fps) == NAME_NOT_FOUND) {
268 sortedPreviewFrameRates.add(fps);
279 fps);
1002 // Get supported preview fps ranges, up to default maximum.
1018 ALOGE("Supported preview fps range is empty");
1441 * Always select range within 30fps if one exists.
1522 // Set fps singl
2958 isFpsSupported(const Vector<Size> &sizes, int format, int32_t fps) argument
[all...]
/frameworks/base/libs/hwui/
H A DJankTracker.cpp135 nsecs_t frameIntervalNanos = static_cast<nsecs_t>(1_s / displayInfo.fps);
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.cpp194 nsecs_t frameIntervalNanos = static_cast<nsecs_t>(1000000000 / mDisplayInfo.fps);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp387 int outputFormat, int videoEncoder, int width, int height, int fps);
464 int outputFormat, int videoEncoder, int width, int height, int fps) {
471 mr->setVideoFrameRate(fps);
463 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp125 double fps = 1E6 / slotUs; local
126 printf("[%.2f fps]: %zu\n", fps, counts[i]);
385 printf("avg. %.2f fps\n", n * 1E6 / delay);
620 fprintf(stderr, " -x display a histogram of decoding times/fps "
/frameworks/base/core/java/android/hardware/
H A DCamera.java2108 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range";
2411 * The array index of minimum preview fps for use with {@link
2418 * The array index of maximum preview fps for use with {@link
2800 * @param fps the frame rate (frames per second)
2804 public void setPreviewFrameRate(int fps) { argument
2805 set(KEY_PREVIEW_FRAME_RATE, fps);
2835 * Sets the minimum and maximum preview fps. This controls the rate of
2837 * maximum preview fps must be one of the elements from {@link
2840 * @param min the minimum preview fps (scaled by 1000).
2841 * @param max the maximum preview fps (scale
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp485 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.refreshRate, info.fps);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.cpp181 config.refresh = nsecs_t(1e9 / mFbDev->fps);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1186 XAuint32 fps,

Completed in 676 milliseconds

123