diff --git a/core/java/android/hardware/camera2/params/StreamConfigurationMap.java b/core/java/android/hardware/camera2/params/StreamConfigurationMap.java index 478922df51865..c37f9fe2465cf 100644 --- a/core/java/android/hardware/camera2/params/StreamConfigurationMap.java +++ b/core/java/android/hardware/camera2/params/StreamConfigurationMap.java @@ -865,22 +865,21 @@ public final class StreamConfigurationMap { *

{@code size} should be one of the ones returned by * {@link #getOutputSizes(int)}.

* - *

This should correspond to the frame duration when only that stream is active, with all - * processing (typically in {@code android.*.mode}) set to either {@code OFF} or {@code FAST}. - *

+ *

This corresponds to the minimum frame duration (maximum frame rate) possible when only + * that stream is configured in a session, with all processing (typically in + * {@code android.*.mode}) set to either {@code OFF} or {@code FAST}.

* - *

When multiple streams are used in a request, the minimum frame duration will be - * {@code max(individual stream min durations)}.

+ *

When multiple streams are used in a session, the minimum frame duration will be + * {@code max(individual stream min durations)}. See {@link #getOutputStallDuration} for + * details of timing for formats that may cause frame rate slowdown when they are targeted by a + * capture request.

* *

For devices that do not support manual sensor control * ({@link android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR}), * this function may return 0.

* - * * * @param format an image format from {@link ImageFormat} or {@link PixelFormat} * @param size an output-compatible size @@ -918,22 +917,21 @@ public final class StreamConfigurationMap { *

{@code size} should be one of the ones returned by * {@link #getOutputSizes(int)}.

* - *

This should correspond to the frame duration when only that stream is active, with all - * processing (typically in {@code android.*.mode}) set to either {@code OFF} or {@code FAST}. - *

+ *

This corresponds to the minimum frame duration (maximum frame rate) possible when only + * that stream is configured in a session, with all processing (typically in + * {@code android.*.mode}) set to either {@code OFF} or {@code FAST}.

* - *

When multiple streams are used in a request, the minimum frame duration will be - * {@code max(individual stream min durations)}.

+ *

When multiple streams are used in a session, the minimum frame duration will be + * {@code max(individual stream min durations)}. See {@link #getOutputStallDuration} for + * details of timing for formats that may cause frame rate slowdown when they are targeted by a + * capture request.

* *

For devices that do not support manual sensor control * ({@link android.hardware.camera2.CameraMetadata#REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR}), * this function may return 0.

* - * * * @param klass * a class which is supported by {@link #isOutputSupportedFor(Class)} and has a