summaryrefslogtreecommitdiffstats
path: root/camera/docs/metadata_definitions.xml
diff options
context:
space:
mode:
Diffstat (limited to 'camera/docs/metadata_definitions.xml')
-rw-r--r--camera/docs/metadata_definitions.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/camera/docs/metadata_definitions.xml b/camera/docs/metadata_definitions.xml
index 0459630..af1eab8 100644
--- a/camera/docs/metadata_definitions.xml
+++ b/camera/docs/metadata_definitions.xml
@@ -7114,7 +7114,8 @@ xsi:schemaLocation="http://schemas.android.com/service/camera/metadata/ metadata
IMPLEMENTATION_DEFINED | same as YUV_420_888 | Any |
For applications targeting SDK version 31 or newer, if the mobile device declares to be
- {@link android.os.Build.VERSION_CDOES.MEDIA_PERFORMANCE_CLASS media performance class} S,
+ media performance class 12 or higher by setting
+ {@link android.os.Build.VERSION_CDOES.MEDIA_PERFORMANCE_CLASS} to be 31 or larger,
the primary camera devices (first rear/front camera in the camera ID list) will not
support JPEG sizes smaller than 1080p. If the application configures a JPEG stream
smaller than 1080p, the camera device will round up the JPEG image size to at least
@@ -7134,9 +7135,11 @@ xsi:schemaLocation="http://schemas.android.com/service/camera/metadata/ metadata
IMPLEMENTATION_DEFINED | same as YUV_420_888 | Any |
For applications targeting SDK version 31 or newer, if the mobile device doesn't declare
- to be media performance class S, or if the camera device isn't a primary rear/front
- camera, the minimum required output stream configurations are the same as for applications
- targeting SDK version older than 31.
+ to be media performance class 12 or better by setting
+ {@link android.os.Build.VERSION_CDOES.MEDIA_PERFORMANCE_CLASS} to be 31 or larger,
+ or if the camera device isn't a primary rear/front camera, the minimum required output
+ stream configurations are the same as for applications targeting SDK version older than
+ 31.
Refer to android.request.availableCapabilities for additional
mandatory stream configurations on a per-capability basis.
@@ -7186,10 +7189,11 @@ xsi:schemaLocation="http://schemas.android.com/service/camera/metadata/ metadata
* 720p (1280 x 720)
* 1080p (1920 x 1080)
- Note that for Performance Class 12 primary cameras (first rear/front facing camera in the
- camera ID list), camera framework filters out JPEG sizes smaller than 1080p depending on
+ Note that for primary cameras (first rear/front facing camera in the camera ID list)
+ on a device with {@link android.os.Build.VERSION_CDOES.MEDIA_PERFORMANCE_CLASS} set to
+ 31 or larger, camera framework filters out JPEG sizes smaller than 1080p depending on
applications' targetSdkLevel. The camera HAL must still support the smaller JPEG sizes
- to maintain backward comopatibility.
+ to maintain backward compatibility.
For LIMITED capability devices
(`android.info.supportedHardwareLevel == LIMITED`),