HomeSort by relevance Sort by last modified time
    Searched refs:fpsRange (Results 1 - 25 of 41) sorted by null

1 2

  /frameworks/base/core/java/android/hardware/camera2/utils/
SurfaceUtils.java 142 * @param fpsRange the target high-speed FPS range to validate
146 Range<Integer> fpsRange, StreamConfigurationMap config) {
153 if (fpsRange == null) {
158 if(!Arrays.asList(highSpeedFpsRanges).contains(fpsRange)) {
159 throw new IllegalArgumentException("Fps range " + fpsRange.toString() + " in the"
163 highSpeedSizes = Arrays.asList(config.getHighSpeedVideoSizesFor(fpsRange));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
CameraParametersTest.java 46 int[] fpsRange = new int[2];
47 parameters.getPreviewFpsRange(fpsRange);
48 assertThat(fpsRange[1], not(equalTo(15)));
49 assertThat(fpsRange[0], not(equalTo(25)));
51 parameters.getPreviewFpsRange(fpsRange);
52 assertThat(fpsRange[1], equalTo(25));
53 assertThat(fpsRange[0], equalTo(15));
  /cts/tests/camera/src/android/hardware/camera2/cts/
BurstCaptureTest.java 112 for (Range<Integer> fpsRange : fpsRanges) {
113 if (fpsRange.getLower() == minBurstFps && fpsRange.getUpper() == minBurstFps) {
115 targetRange = fpsRange;
117 if (fpsRange.getLower() <= 15 && fpsRange.getUpper() == minBurstFps) {
RecordingTest.java 386 Range<Integer> fpsRange = getHighestHighSpeedFixedFpsRangeForSize(config, size);
388 "size " + size, fpsRange);
389 if (fpsRange == null) {
393 int captureRate = fpsRange.getLower();
396 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) {
416 fpsRange, resultListener, /*useHighSpeedSession*/false);
461 for (Range<Integer> fpsRange : fixedFpsRanges) {
462 int captureRate = fpsRange.getLower();
465 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) {
482 captureRate, fpsRange, resultListener
    [all...]
SurfaceViewPreviewTest.java 457 Range<Integer> fpsRange;
463 fpsRange = fpsRanges[i];
464 maxPreviewSz = getMaxPreviewSizeForFpsRange(fpsRange);
466 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
484 verifyPreviewTargetFpsRange(resultListener, NUM_FRAMES_VERIFIED, fpsRange,
492 int numFramesVerified, Range<Integer> fpsRange, Size previewSz) {
499 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())};
CaptureRequestTest.java     [all...]
CameraDeviceTest.java     [all...]
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
Camera2Enumerator.java 91 for (Range<Integer> fpsRange : fpsRanges) {
92 defaultMaxFps = Math.max(defaultMaxFps, fpsRange.getUpper());
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
Camera2RecordingTest.java 224 for (Range<Integer> fpsRange : fixedFpsRanges) {
225 int captureRate = fpsRange.getLower();
228 if (fpsRange.getUpper() > getFpsFromHighSpeedProfileForSize(size)) {
245 captureRate, fpsRange, resultListener,
306 int captureRate, Range<Integer> fpsRange,
326 requestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
348 recordingRequestBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
351 recordingOnlyBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, fpsRange);
391 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile.videoFrameRate);
404 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId
    [all...]
Camera2SwitchPreviewTest.java 352 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile.videoFrameRate);
365 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId +
367 fpsRanges.contains(fpsRange));
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraConstrainedHighSpeedCaptureSessionImpl.java 79 Range<Integer> fpsRange = request.get(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE);
83 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config);
88 int requestListSize = fpsRange.getUpper() / 30;
  /frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
AndroidCamera2Capabilities.java 46 for (Range<Integer> fpsRange : p.get(CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES)) {
47 mSupportedPreviewFpsRange.add(new int[] { fpsRange.getLower(), fpsRange.getUpper() });
  /cts/tests/camera/src/android/hardware/camera2/cts/testcases/
Camera2SurfaceViewTestCase.java 723 * Get the max preview size that supports the given fpsRange.
725 * @param fpsRange The fps range the returned size must support.
728 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) {
729 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) {
738 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())};
    [all...]
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
Camera2SurfaceViewTestCase.java 725 * Get the max preview size that supports the given fpsRange.
727 * @param fpsRange The fps range the returned size must support.
730 protected Size getMaxPreviewSizeForFpsRange(Range<Integer> fpsRange) {
731 if (fpsRange == null || fpsRange.getLower() <= 0 || fpsRange.getUpper() <= 0) {
740 new long[]{(long) (1e9 / fpsRange.getUpper()), (long) (1e9 / fpsRange.getLower())};
    [all...]
  /hardware/ti/omap4-aah/camera/OMXCameraAdapter/
OMXCapabilities.cpp 417 const int frameRateCount, android::Vector<FpsRange> & fpsRanges) {
422 fpsRanges.add(FpsRange(minFrameRate, maxFrameRate));
427 fpsRanges.add(FpsRange(minFrameRate, minFrameRate));
428 fpsRanges.add(FpsRange(maxFrameRate, maxFrameRate));
432 const FpsRange fpsRange = FpsRange(
436 if ( fpsRange.isFixed() ) {
441 fpsRanges.add(fpsRange);
453 const FpsRange fpsRange = FpsRange(fixedFrameRate, fixedFrameRate)
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/params/
StreamConfigurationMap.java 181 Range<Integer> fpsRange = config.getFpsRange();
187 Integer sizeCount = mHighSpeedVideoFpsRangeMap.get(fpsRange);
191 mHighSpeedVideoFpsRangeMap.put(fpsRange, sizeCount + 1);
631 * @param fpsRange one of the FPS range returned by {@link #getHighSpeedVideoFpsRanges()}
639 public Size[] getHighSpeedVideoSizesFor(Range<Integer> fpsRange) {
640 Integer sizeCount = mHighSpeedVideoFpsRangeMap.get(fpsRange);
643 "FpsRange %s does not support high speed video recording", fpsRange));
649 if (fpsRange.equals(config.getFpsRange())) {
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/legacy/
LegacyRequestMapper.java 631 private static int[] convertAeFpsRangeToLegacy(Range<Integer> fpsRange) {
633 legacyFps[Parameters.PREVIEW_FPS_MIN_INDEX] = fpsRange.getLower() * 1000;
634 legacyFps[Parameters.PREVIEW_FPS_MAX_INDEX] = fpsRange.getUpper() * 1000;
LegacyMetadataMapper.java     [all...]
  /hardware/qcom/camera/QCamera2/HAL/
QCameraParametersIntf.h 163 int32_t adjustPreviewFpsRange(cam_fps_range_t *fpsRange);
  /hardware/ti/omap4-aah/camera/inc/
CameraHal.h 124 class FpsRange {
126 static int compare(const FpsRange * left, const FpsRange * right);
128 FpsRange(int min, int max);
129 FpsRange();
131 bool operator==(const FpsRange & fpsRange) const;
145 inline int FpsRange::compare(const FpsRange * const left, const FpsRange * const right)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
PhotoModule.java     [all...]
  /device/huawei/angler/camera/QCamera2/stack/mm-camera-test/inc/
mm_qcamera_app.h 462 cam_fps_range_t *fpsRange);
  /device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/inc/
mm_qcamera_app.h 462 cam_fps_range_t *fpsRange);
  /hardware/qcom/camera/QCamera2/stack/mm-camera-test/inc/
mm_qcamera_app.h 465 cam_fps_range_t *fpsRange);
  /hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
mm_qcamera_app.c     [all...]

Completed in 305 milliseconds

1 2