Searched defs:fps (Results 1 - 16 of 16) sorted by relevance

/frameworks/native/include/ui/
H A DDisplayInfo.h33 float fps; member in struct:android::DisplayInfo
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h78 int fps; member in struct:android::BootAnimation::Animation
H A DBootAnimation.cpp380 // 12fps: don't animate too fast to preserve CPU
479 int fps, width, height, count, pause; local
484 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) {
485 // ALOGD("> w=%d, h=%d, fps=%d", width, height, fps);
488 animation.fps = fps;
579 nsecs_t frameDuration = s2ns(1) / animation.fps;
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp55 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
59 mFrameRate(fps),
321 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
H A Dstagefright.cpp112 double fps = 1E6 / slotUs; local
113 printf("[%.2f fps]: %zu\n", fps, counts[i]);
376 printf("avg. %.2f fps\n", n * 1E6 / delay);
606 fprintf(stderr, " -x display a histogram of decoding times/fps "
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp116 status_t SurfaceMediaSource::setFrameRate(int32_t fps) argument
121 if (fps < 0 || fps > MAX_FRAME_RATE) {
124 mFrameRate = fps;
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp184 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/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java316 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/libmediaplayerservice/
H A DVideoFrameScheduler.cpp75 void VideoFrameScheduler::PLL::reset(float fps) { argument
82 if (fps <= 0.f) {
86 ALOGV("reset at %.1f fps", fps);
87 mPeriod = (nsecs_t)(1e9 / fps + 0.5);
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp391 int outputFormat, int videoEncoder, int width, int height, int fps);
468 int outputFormat, int videoEncoder, int width, int height, int fps) {
475 mr->setVideoFrameRate(fps);
467 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp177 void NuPlayer::Renderer::setVideoFrameRate(float fps) { argument
179 msg->setFloat("frame-rate", fps);
499 float fps; local
500 CHECK(msg->findFloat("frame-rate", &fps));
501 onSetVideoFrameRate(fps);
839 mAnchorMaxMediaUs = mediaTimeUs + 100000; // smooth out videos >= 10fps
1298 void NuPlayer::Renderer::onSetVideoFrameRate(float fps) { argument
1302 mVideoScheduler->init(fps);
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java428 * @param fps Rate at which frames should be captured in frames per second.
429 * The fps can go as low as desired. However the fastest fps will be limited by the hardware.
430 * For resolutions that can be captured by the video camera, the fastest fps can be computed using
432 * resolutions the fastest fps may be more restrictive.
437 public void setCaptureRate(double fps) { argument
441 double timeBetweenFrameCapture = 1 / fps;
/frameworks/av/camera/
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/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp240 // from the [min, max] fps range use the max value
241 int fps = fpsFromRange(availableFpsRanges.data.i32[i], local
245 if (sortedPreviewFrameRates.indexOf(fps) == NAME_NOT_FOUND) {
246 sortedPreviewFrameRates.add(fps);
257 fps);
1404 // Set fps single, then fps range (range wins)
1412 // Set fps range, then fps single (single wins)
/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/base/core/java/android/hardware/
H A DCamera.java2086 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range";
2389 * The array index of minimum preview fps for use with {@link
2396 * The array index of maximum preview fps for use with {@link
2778 * @param fps the frame rate (frames per second)
2782 public void setPreviewFrameRate(int fps) { argument
2783 set(KEY_PREVIEW_FRAME_RATE, fps);
2813 * Sets the minimum and maximum preview fps. This controls the rate of
2815 * maximum preview fps must be one of the elements from {@link
2818 * @param min the minimum preview fps (scaled by 1000).
2819 * @param max the maximum preview fps (scale
[all...]

Completed in 473 milliseconds