Home
last modified time | relevance | path

Searched refs:fps (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java53 float fps = 1000000.f / elapsedTime_us; in registerTime() local
55 Log.v(TAG, "Long frame: " + elapsedTime_us/1000.f + " ms (" + fps + " fps)"); in registerTime()
/frameworks/av/media/libstagefright/wifi-display/
DVideoFormats.cpp184 size_t width, height, fps, score; in enableResolutionUpto() local
187 &fps, &interlaced)) { in enableResolutionUpto()
191 score = width * height * fps * (!interlaced + 1); in enableResolutionUpto()
195 &width, &height, &fps, &interlaced) in enableResolutionUpto()
196 && score >= width * height * fps * (!interlaced + 1)) { in enableResolutionUpto()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DCameraSource.java316 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange() argument
320 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && in findClosestFpsRange()
321 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && in findClosestFpsRange()
329 if (mLogVerbose) Log.v(TAG, "Requested fps: " + fps in findClosestFpsRange()
/frameworks/av/media/libstagefright/
DSurfaceMediaSource.cpp116 status_t SurfaceMediaSource::setFrameRate(int32_t fps) in setFrameRate() argument
121 if (fps < 0 || fps > MAX_FRAME_RATE) { in setFrameRate()
124 mFrameRate = fps; in setFrameRate()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Drsbench.rs199 float fps = (float)(frameCount) / ((float)(end - start)*0.001f);
201 rsDebug(testName, fps);
203 gResultBuffer[benchMode] = fps;
/frameworks/native/include/ui/
DDisplayInfo.h33 float fps; member
/frameworks/av/media/libmediaplayerservice/
DVideoFrameScheduler.cpp75 void VideoFrameScheduler::PLL::reset(float fps) { in reset() argument
82 if (fps <= 0.f) { in reset()
86 ALOGV("reset at %.1f fps", fps); in reset()
87 mPeriod = (nsecs_t)(1e9 / fps + 0.5); in reset()
DVideoFrameScheduler.h54 void reset(float fps = -1);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.h62 void setVideoFrameRate(float fps);
231 void onSetVideoFrameRate(float fps);
DNuPlayerRenderer.cpp177 void NuPlayer::Renderer::setVideoFrameRate(float fps) { in setVideoFrameRate() argument
179 msg->setFloat("frame-rate", fps); in setVideoFrameRate()
499 float fps; in onMessageReceived() local
500 CHECK(msg->findFloat("frame-rate", &fps)); in onMessageReceived()
501 onSetVideoFrameRate(fps); in onMessageReceived()
1298 void NuPlayer::Renderer::onSetVideoFrameRate(float fps) { in onSetVideoFrameRate() argument
1302 mVideoScheduler->init(fps); in onSetVideoFrameRate()
/frameworks/base/docs/html/guide/appendix/
Dmedia-formats.jd313 <td>12 fps</td>
314 <td>30 fps</td>
315 <td>30 fps</td>
369 <td>30 fps</td>
370 <td>30 fps</td>
371 <td>30 fps</td>
372 <td>30 fps</td>
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp479 int fps, width, height, count, pause; in movie() local
484 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) { in movie()
488 animation.fps = fps; in movie()
579 nsecs_t frameDuration = s2ns(1) / animation.fps; in movie()
DBootAnimation.h78 int fps; member
/frameworks/av/cmds/stagefright/
Drecordvideo.cpp55 DummySource(int width, int height, int nFrames, int fps, int colorFormat) in DummySource() argument
59 mFrameRate(fps), in DummySource()
Dstagefright.cpp112 double fps = 1E6 / slotUs; in displayDecodeHistogram() local
113 printf("[%.2f fps]: %zu\n", fps, counts[i]); in displayDecodeHistogram()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1031 public synchronized void setDesiredFrameRate(int fps) { in setDesiredFrameRate() argument
1032 if (fps != mRequestedFramesPerSec) { in setDesiredFrameRate()
1033 mRequestedFramesPerSec = fps; in setDesiredFrameRate()
1357 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { in findClosestFpsRange() argument
1360 int fpsk = fps * 1000; in findClosestFpsRange()
1596 public void setDesiredFrameRate(int fps) { in setDesiredFrameRate() argument
1597 mCameraRunner.setDesiredFrameRate(fps); in setDesiredFrameRate()
/frameworks/base/media/java/android/media/
DMediaRecorder.java437 public void setCaptureRate(double fps) { in setCaptureRate() argument
441 double timeBetweenFrameCapture = 1 / fps; in setCaptureRate()
/frameworks/av/include/media/stagefright/
DSurfaceMediaSource.h84 status_t setFrameRate(int32_t fps) ;
/frameworks/av/camera/
DCameraParameters2.cpp286 void CameraParameters2::setPreviewFrameRate(int fps) in setPreviewFrameRate() argument
288 set(CameraParameters::KEY_PREVIEW_FRAME_RATE, fps); in setPreviewFrameRate()
DCameraParameters.cpp398 void CameraParameters::setPreviewFrameRate(int fps) in setPreviewFrameRate() argument
400 set(KEY_PREVIEW_FRAME_RATE, fps); in setPreviewFrameRate()
/frameworks/av/include/camera/
DCameraParameters2.h98 void setPreviewFrameRate(int fps);
DCameraParameters.h91 void setPreviewFrameRate(int fps);
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp551 mainDpyInfo.w, mainDpyInfo.h, mainDpyInfo.fps, in recordScreen()
568 err = prepareEncoder(mainDpyInfo.fps, &encoder, &encoderInputSurface); in recordScreen()
581 err = prepareEncoder(mainDpyInfo.fps, &encoder, in recordScreen()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp391 int outputFormat, int videoEncoder, int width, int height, int fps);
468 int outputFormat, int videoEncoder, int width, int height, int fps) { in setUpMediaRecorder() argument
475 mr->setVideoFrameRate(fps); in setUpMediaRecorder()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp241 int fps = fpsFromRange(availableFpsRanges.data.i32[i], in initialize() local
245 if (sortedPreviewFrameRates.indexOf(fps) == NAME_NOT_FOUND) { in initialize()
246 sortedPreviewFrameRates.add(fps); in initialize()
257 fps); in initialize()

12