/frameworks/native/include/ui/ |
H A D | DisplayInfo.h | 33 float fps; member in struct:android::DisplayInfo
|
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 66 mFrameRate(fps), 334 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
|
H A D | stagefright.cpp | 122 double fps = 1E6 / slotUs; local 123 printf("[%.2f fps]: %zu\n", fps, counts[i]); 382 printf("avg. %.2f fps\n", n * 1E6 / delay); 617 fprintf(stderr, " -x display a histogram of decoding times/fps "
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 118 status_t SurfaceMediaSource::setFrameRate(int32_t fps) argument 123 if (fps < 0 || fps > MAX_FRAME_RATE) { 126 mFrameRate = fps;
|
H A D | MediaSync.cpp | 374 float fps = mFrameScheduler->getFrameRate(); local 375 if (fps > 0.f) { 376 return fps; 583 // smooth out videos >= 10fps
|
H A D | VideoFrameScheduler.cpp | 74 void VideoFrameScheduler::PLL::reset(float fps) { argument 81 if (fps <= 0.f) { 85 ALOGV("reset at %.1f fps", fps); 86 mPeriod = (nsecs_t)(1e9 / fps + 0.5);
|
H A D | Utils.cpp | 744 int32_t fps; local 745 if (meta->findInt32(kKeyFrameRate, &fps) && fps > 0) { 746 msg->setInt32("frame-rate", fps); 1367 int32_t fps; local 1369 if (msg->findInt32("frame-rate", &fps) && fps > 0) { 1370 meta->setInt32(kKeyFrameRate, fps); 1373 // truncate values to distinguish between e.g. 24 vs 23.976 fps 1720 msg->setFloat("video-fps", videoFpsHin [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | VideoFormats.cpp | 184 size_t width, height, fps, score; local 187 &fps, &interlaced)) { 191 score = width * height * fps * (!interlaced + 1); 195 &width, &height, &fps, &interlaced) 196 && score >= width * height * fps * (!interlaced + 1)) {
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 81 int fps; member in struct:android::BootAnimation::Animation
|
H A D | BootAnimation.cpp | 373 // 12fps: don't animate too fast to preserve CPU 534 int fps = 0; local 544 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) { 545 // ALOGD("> w=%d, h=%d, fps=%d", width, height, fps); 548 animation.fps = fps; 682 nsecs_t frameDuration = s2ns(1) / animation.fps;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 316 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { argument 320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && 321 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && 329 if (mLogVerbose) Log.v(TAG, "Requested fps: " + 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/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/camera/ |
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/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 546 // 60000 is chosen to make sure that each video frame from a 60-fps 581 status_t StagefrightRecorder::setParamCaptureFps(float fps) { argument 582 ALOGV("setParamCaptureFps: %.2f", fps); 584 int64_t timeUs = (int64_t) (1000000.0 / fps + 0.5f); 592 mCaptureFps = fps; 720 } else if (key == "time-lapse-fps") { 721 float fps; local 722 if (safe_strtof(value.string(), &fps)) { 723 return setParamCaptureFps(fps); 1169 "vid.fps", mCameraI [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 318 void NuPlayer::Renderer::setVideoFrameRate(float fps) { argument 320 msg->setFloat("frame-rate", fps); 649 float fps; local 650 CHECK(msg->findFloat("frame-rate", &fps)); 651 onSetVideoFrameRate(fps); 1166 // smooth out videos >= 10fps 1262 // Also smooth out videos >= 10fps. 1682 void NuPlayer::Renderer::onSetVideoFrameRate(float fps) { argument 1686 mVideoScheduler->init(fps);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 255 // from the [min, max] fps range use the max value 256 int fps = fpsFromRange(availableFpsRanges.data.i32[i], local 260 if (sortedPreviewFrameRates.indexOf(fps) == NAME_NOT_FOUND) { 261 sortedPreviewFrameRates.add(fps); 272 fps); 1433 // Set fps single, then fps range (range wins) 1441 // Set fps range, then fps single (single wins)
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 508 * @param fps Rate at which frames should be captured in frames per second. 509 * The fps can go as low as desired. However the fastest fps will be limited by the hardware. 510 * For resolutions that can be captured by the video camera, the fastest fps can be computed using 512 * resolutions the fastest fps may be more restrictive. 517 public void setCaptureRate(double fps) { argument 520 setParameter("time-lapse-fps=" + 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/base/core/java/android/hardware/ |
H A D | Camera.java | 2094 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range"; 2397 * The array index of minimum preview fps for use with {@link 2404 * The array index of maximum preview fps for use with {@link 2786 * @param fps the frame rate (frames per second) 2790 public void setPreviewFrameRate(int fps) { argument 2791 set(KEY_PREVIEW_FRAME_RATE, fps); 2821 * Sets the minimum and maximum preview fps. This controls the rate of 2823 * maximum preview fps must be one of the elements from {@link 2826 * @param min the minimum preview fps (scaled by 1000). 2827 * @param max the maximum preview fps (scale [all...] |