/frameworks/native/include/ui/ |
H A D | DisplayInfo.h | 32 float fps; member in struct:android::DisplayInfo
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/ |
H A D | MediaPropertiesTest.java | 73 int videoCodecType, int duration, int videoBitrate, int fps, 90 assertTrue("fps Mismatch" + mvi.getFps(), 91 mVideoEditorHelper.checkRange(fps, mvi.getFps(), 10)); 143 final int fps = 15; 157 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType, 175 final int fps = 15; 189 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType, 206 final int fps = 30; 220 videoBitrate, fps, videoProfile, videoLevel, width, height, audioCodecType, 237 final int fps 72 validateVideoProperties(int aspectRatio, int fileType, int videoCodecType, int duration, int videoBitrate, int fps, int videoProfile, int videoLevel, int width, int height, int audioCodecType, int audioSamplingFrequency, int audioChannel, int audioBitrate, MediaVideoItem mvi) argument [all...] |
/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/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 111 status_t SurfaceMediaSource::setFrameRate(int32_t fps) argument 116 if (fps < 0 || fps > MAX_FRAME_RATE) { 119 mFrameRate = fps;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 75 int fps; member in struct:android::BootAnimation::Animation
|
H A D | BootAnimation.cpp | 369 // 12fps: don't animate too fast to preserve CPU 417 int fps, width, height, count, pause; local 420 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) { 421 //LOGD("> w=%d, h=%d, fps=%d", width, height, fps); 424 animation.fps = fps; 492 nsecs_t frameDuration = s2ns(1) / animation.fps;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 323 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { argument 327 if (range[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] < fps*1000 && 328 range[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] > fps*1000 && 336 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/media/stagefright/ |
H A D | SurfaceMediaSource.h | 83 // Get / Set the frame rate used for encoding. Default fps = 30 84 status_t setFrameRate(int32_t fps) ; 200 // Set to a default of 30 fps if not specified by the client side
|
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 54 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument 58 mFrameRate(fps), 316 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
|
H A D | stagefright.cpp | 112 double fps = 1E6 / slotUs; local 113 printf("[%.2f fps]: %d\n", fps, counts[i]); 376 printf("avg. %.2f fps\n", n * 1E6 / delay); 605 fprintf(stderr, " -x display a histogram of decoding times/fps "
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 381 * @param fps Rate at which frames should be captured in frames per second. 382 * The fps can go as low as desired. However the fastest fps will be limited by the hardware. 383 * For resolutions that can be captured by the video camera, the fastest fps can be computed using 385 * resolutions the fastest fps may be more restrictive. 390 public void setCaptureRate(double fps) { argument 394 double timeBetweenFrameCapture = 1 / fps;
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 91 void setPreviewFrameRate(int fps); 115 // The current minimum and maximum preview fps. This controls the rate of 117 // maximum fps must be one of the elements from 121 // The supported preview fps (frame-per-second) ranges. Each range contains 122 // a minimum fps and maximum fps. If minimum fps equals to maximum fps, the 126 // sorted from small to large (first by maximum fps and then minimum fps) [all...] |
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4WRITER_common.h | 133 M4OSA_Double fps; /**< Targetted framerate of the video */ member in struct:__anon208
|
/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 | 449 mainDpyInfo.w, mainDpyInfo.h, mainDpyInfo.fps, 464 err = prepareEncoder(mainDpyInfo.fps, &encoder, &bufferProducer); 477 err = prepareEncoder(mainDpyInfo.fps, &encoder, &bufferProducer);
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 33 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range"; 34 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values"; 397 void CameraParameters::setPreviewFrameRate(int fps) argument 399 set(KEY_PREVIEW_FRAME_RATE, fps);
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 394 int outputFormat, int videoEncoder, int width, int height, int fps); 471 int outputFormat, int videoEncoder, int width, int height, int fps) { 478 mr->setVideoFrameRate(fps); 470 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 195 // from the [min, max] fps range use the max value 196 int fps = fpsFromRange(availableFpsRanges.data.i32[i], local 200 if (sortedPreviewFrameRates.indexOf(fps) == NAME_NOT_FOUND) { 201 sortedPreviewFrameRates.add(fps); 212 fps); 1203 // PREVIEW_FRAME_RATE Deprecated, only use if the preview fps range is
|
/frameworks/base/core/jni/ |
H A D | android_view_SurfaceControl.cpp | 386 env->SetFloatField(infoObj, gPhysicalDisplayInfoClassInfo.refreshRate, info.fps);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 1828 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range"; 2131 * The array index of minimum preview fps for use with {@link 2138 * The array index of maximum preview fps for use with {@link 2466 * @param fps the frame rate (frames per second) 2470 public void setPreviewFrameRate(int fps) { argument 2471 set(KEY_PREVIEW_FRAME_RATE, fps); 2501 * Sets the minimum and maximum preview fps. This controls the rate of 2503 * maximum preview fps must be one of the elements from {@link 2506 * @param min the minimum preview fps (scaled by 1000). 2507 * @param max the maximum preview fps (scale [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | VideoEditorPerformance.java | 638 final int fps = 30;
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaArtistNativeHelper.java | 3312 * @param fps The fps as enum 3316 int getFrameRate(int fps) { argument 3318 switch (fps) {
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4PTO3GPP_API.c | 1423 * Video frame rate (set it to max = 30 fps) */ 1504 pC->m_pWriterVideoStreamInfo->fps = 0; /**< Not used by the core writer */
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 178 disp.refresh = nsecs_t(1e9 / mFbDev->fps);
|