/frameworks/native/include/ui/ |
H A D | DisplayInfo.h | 33 float fps; member in struct:android::DisplayInfo
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
H A D | TestFramerateView.java | 53 float fps = 1000000.f / elapsedTime_us; 55 Log.v(TAG, "Long frame: " + elapsedTime_us/1000.f + " ms (" + fps + " fps)");
|
/frameworks/av/include/media/stagefright/ |
H A D | VideoFrameScheduler.h | 57 void reset(float fps = -1);
|
H A D | SurfaceMediaSource.h | 85 // Get / Set the frame rate used for encoding. Default fps = 30 86 status_t setFrameRate(int32_t fps) ; 207 // Set to a default of 30 fps if not specified by the client side
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 117 status_t SurfaceMediaSource::setFrameRate(int32_t fps) argument 122 if (fps < 0 || fps > MAX_FRAME_RATE) { 125 mFrameRate = fps;
|
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 | 201 int32_t fps; local 202 if (meta->findInt32(kKeyFrameRate, &fps) && fps > 0) { 203 msg->setInt32("frame-rate", fps); 666 int32_t fps; local 667 if (msg->findInt32("frame-rate", &fps) && fps > 0) { 668 meta->setInt32(kKeyFrameRate, fps); 995 msg->setFloat("video-fps", videoFpsHint); 1006 CHECK(msg->findFloat("video-fps", videoFp [all...] |
H A D | MediaSync.cpp | 374 float fps = mFrameScheduler->getFrameRate(); local 375 if (fps > 0.f) { 376 return fps; 583 // smooth out videos >= 10fps
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 78 int fps; member in struct:android::BootAnimation::Animation
|
H A D | BootAnimation.cpp | 381 // 12fps: don't animate too fast to preserve CPU 480 int fps, width, height, count, pause; local 485 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) { 486 // ALOGD("> w=%d, h=%d, fps=%d", width, height, fps); 489 animation.fps = fps; 574 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/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/av/include/camera/ |
H A D | CameraParameters2.h | 98 void setPreviewFrameRate(int fps);
|
H A D | CameraParameters.h | 91 void setPreviewFrameRate(int fps); 124 // The current minimum and maximum preview fps. This controls the rate of 126 // maximum fps must be one of the elements from 130 // The supported preview fps (frame-per-second) ranges. Each range contains 131 // a minimum fps and maximum fps. If minimum fps equals to maximum fps, the 135 // sorted from small to large (first by maximum fps and then minimum fps) [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 59 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 63 mFrameRate(fps), 331 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.h | 71 void setVideoFrameRate(float fps); 245 void onSetVideoFrameRate(float fps);
|
H A D | NuPlayerRenderer.cpp | 308 void NuPlayer::Renderer::setVideoFrameRate(float fps) { argument 310 msg->setFloat("frame-rate", fps); 595 float fps; local 596 CHECK(msg->findFloat("frame-rate", &fps)); 597 onSetVideoFrameRate(fps); 1050 // smooth out videos >= 10fps 1534 void NuPlayer::Renderer::onSetVideoFrameRate(float fps) { argument 1538 mVideoScheduler->init(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 | 458 * @param fps Rate at which frames should be captured in frames per second. 459 * The fps can go as low as desired. However the fastest fps will be limited by the hardware. 460 * For resolutions that can be captured by the video camera, the fastest fps can be computed using 462 * resolutions the fastest fps may be more restrictive. 467 public void setCaptureRate(double fps) { argument 470 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/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 554 mainDpyInfo.w, mainDpyInfo.h, mainDpyInfo.fps, 571 err = prepareEncoder(mainDpyInfo.fps, &encoder, &encoderInputSurface); 584 err = prepareEncoder(mainDpyInfo.fps, &encoder,
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.h | 160 status_t setParamCaptureFps(float fps);
|
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); 1162 "vid.fps", mCameraI [all...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 174 nsecs_t frameIntervalNanos = static_cast<nsecs_t>(1000000000 / mDisplayInfo.fps);
|