/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.h | 165 status_t setTimeLapseConfig(double fps, double captureFps); 435 // timestamp interval (after rounding) with the configured capture fps. The
|
H A D | GraphicBufferSource.cpp | 1223 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 D | BootAnimation.h | 124 int fps; member in struct:android::BootAnimation::Animation
|
H A D | BootAnimation.cpp | 425 // 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 D | SurfaceCompositionMeasuringActivity.java | 394 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 D | CameraParameters2.cpp | 286 void CameraParameters2::setPreviewFrameRate(int fps) 288 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps);
|
H A D | CameraParameters.cpp | 34 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 D | MediaRecorder.java | 510 * @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 D | CameraStreamer.java | 1031 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 D | screenrecord.cpp | 555 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 D | MediaSync.cpp | 374 float fps = mFrameScheduler->getFrameRate(); local 375 if (fps > 0.f) { 376 return fps; 567 // smooth out videos >= 10fps
|
H A D | Utils.cpp | 782 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 D | StagefrightRecorder.h | 175 status_t setParamCaptureFps(double fps);
|
H A D | StagefrightRecorder.cpp | 86 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 D | NuPlayerRenderer.cpp | 330 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 D | Parameters.h | 411 // 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 D | Parameters.cpp | 259 // 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 D | JankTracker.cpp | 135 nsecs_t frameIntervalNanos = static_cast<nsecs_t>(1_s / displayInfo.fps);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 194 nsecs_t frameIntervalNanos = static_cast<nsecs_t>(1000000000 / mDisplayInfo.fps);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 387 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 D | stagefright.cpp | 125 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 D | Camera.java | 2108 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 D | android_view_SurfaceControl.cpp | 485 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.refreshRate, info.fps);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer_hwc1.cpp | 181 config.refresh = nsecs_t(1e9 / mFbDev->fps);
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 1186 XAuint32 fps,
|