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

/frameworks/av/media/libmedia/omx/1.0/
H A DWGraphicBufferSource.cpp56 double fps, double captureFps) {
57 return toBinderStatus(mBase->setTimeLapseConfig(fps, captureFps));
55 setTimeLapseConfig( double fps, double captureFps) argument
/frameworks/av/media/libstagefright/omx/
H A DBWGraphicBufferSource.cpp148 double fps, double captureFps) {
150 fps, captureFps));
147 setTimeLapseConfig( double fps, double captureFps) argument
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/av/cmds/stagefright/
H A Drecordvideo.cpp62 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 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/av/media/libstagefright/
H A DSurfaceMediaSource.cpp117 status_t SurfaceMediaSource::setFrameRate(int32_t fps) argument
122 if (fps < 0 || fps > MAX_FRAME_RATE) {
125 mFrameRate = fps;
H A DMediaSync.cpp374 float fps = mFrameScheduler->getFrameRate(); local
375 if (fps > 0.f) {
376 return fps;
567 // smooth out videos >= 10fps
H A DVideoFrameScheduler.cpp74 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 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/libstagefright/omx/1.0/
H A DWGraphicBufferSource.cpp195 double fps, double captureFps) {
196 return toStatus(mBase->setTimeLapseConfig(fps, captureFps));
194 setTimeLapseConfig( double fps, double captureFps) argument
/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/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/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/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/media/libmediaplayerservice/
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/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/services/camera/libcameraservice/api1/client2/
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/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...]

Completed in 476 milliseconds