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

/frameworks/native/include/ui/
H A DDisplayInfo.h34 float fps; member in struct:android::DisplayInfo
/frameworks/native/include/private/gui/
H A DSharedBufferStack.h37 float fps; member in struct:android::display_cblk_t
/frameworks/base/core/jni/
H A Dandroid_view_Display.cpp42 jfieldID fps; member in struct:android::offsets_t
59 info.fps = 60;
71 env->SetFloatField(clazz, offsets.fps, info.fps);
139 offsets.fps = env->GetFieldID(clazz, "mRefreshRate", "F");
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h75 int fps; member in struct:android::BootAnimation::Animation
H A DBootAnimation.cpp366 // 12fps: don't animate too fast to preserve CPU
414 int fps, width, height, count, pause; local
417 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) {
418 //LOGD("> w=%d, h=%d, fps=%d", width, height, fps);
421 animation.fps = fps;
489 nsecs_t frameDuration = s2ns(1) / animation.fps;
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp53 DummySource(int width, int height, int nFrames, int fps, int colorFormat) argument
57 mFrameRate(fps),
300 fprintf(stderr, "encoding speed is: %.2f fps\n", (nFrames * 1E9) / (end-start));
H A Dstagefright.cpp113 double fps = 1E6 / slotUs; local
114 printf("[%.2f fps]: %d\n", fps, counts[i]);
377 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.cpp114 status_t SurfaceMediaSource::setFrameRate(int32_t fps) argument
118 if (fps < 0 || fps > MAX_FRAME_RATE) {
121 mFrameRate = fps;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java323 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/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DMediaPropertiesTest.java73 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/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
H A DCameraCapture.java190 private int[] findClosestFpsRange(int fps, Camera.Parameters params) { argument
193 int fpsk = fps * 1000;
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4WRITER_common.h133 M4OSA_Double fps; /**< Targetted framerate of the video */ member in struct:__anon190
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp392 int outputFormat, int videoEncoder, int width, int height, int fps);
469 int outputFormat, int videoEncoder, int width, int height, int fps) {
476 mr->setVideoFrameRate(fps);
468 setUpMediaRecorder(int fd, int videoSource, int outputFormat, int videoEncoder, int width, int height, int fps) argument
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java343 * @param fps Rate at which frames should be captured in frames per second.
344 * The fps can go as low as desired. However the fastest fps will be limited by the hardware.
345 * For resolutions that can be captured by the video camera, the fastest fps can be computed using
347 * resolutions the fastest fps may be more restrictive.
352 public void setCaptureRate(double fps) { argument
356 double timeBetweenFrameCapture = 1 / fps;
/frameworks/av/camera/
H A DCameraParameters.cpp33 const char CameraParameters::KEY_PREVIEW_FPS_RANGE[] = "preview-fps-range";
34 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE[] = "preview-fps-range-values";
390 void CameraParameters::setPreviewFrameRate(int fps) argument
392 set(KEY_PREVIEW_FRAME_RATE, fps);
/frameworks/base/core/java/android/hardware/
H A DCamera.java1588 private static final String KEY_PREVIEW_FPS_RANGE = "preview-fps-range";
1883 * The array index of minimum preview fps for use with {@link
1890 * The array index of maximum preview fps for use with {@link
2218 * @param fps the frame rate (frames per second)
2222 public void setPreviewFrameRate(int fps) { argument
2223 set(KEY_PREVIEW_FRAME_RATE, fps);
2253 * Sets the maximum and maximum preview fps. This controls the rate of
2255 * maximum preview fps must be one of the elements from {@link
2258 * @param min the minimum preview fps (scaled by 1000).
2259 * @param max the maximum preview fps (scale
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java3312 * @param fps The fps as enum
3316 int getFrameRate(int fps) { argument
3318 switch (fps) {

Completed in 794 milliseconds