Xiaomi Redmi Note 8 Pro 64Gb+6Gb Dual LTE [103/132] External camera

Xiaomi Redmi Note 8 Pro 64Gb+6Gb Dual LTE [103/132] External camera
accelerometer or manually via user input):
[C-2-1] The camera preview MUST be mirrored horizontally relative to the device’s current
orientation.
7.5.3. External Camera
Device implementations:
MAY include support for an external camera that is not necessarily always connected.
If device implementations include support for an external camera, they:
[C-1-1] MUST declare the platform feature flag android.hardware.camera.external and
android.hardware camera.any .
[C-1-2] MUST support USB Video Class (UVC 1.0 or higher) if the external camera
connects through the USB host port.
[C-1-3] MUST pass camera CTS tests with a physical external camera device connected.
Details of camera CTS testing are available at source.android.com .
SHOULD support video compressions such as MJPEG to enable transfer of high-quality
unencoded streams (i.e. raw or independently compressed picture streams).
MAY support multiple cameras.
MAY support camera-based video encoding.
If camera-based video encoding is supported:
[C-2-1] A simultaneous unencoded / MJPEG stream (QVGA or greater resolution) MUST
be accessible to the device implementation.
7.5.4. Camera API Behavior
Android includes two API packages to access the camera, the newer android.hardware.camera2 API
expose lower-level camera control to the app, including efficient zero-copy burst/streaming flows
and per-frame controls of exposure, gain, white balance gains, color conversion, denoising,
sharpening, and more.
The older API package, android.hardware.Camera , is marked as deprecated in Android 5.0 but as it
should still be available for apps to use. Android device implementations MUST ensure the continued
support of the API as described in this section and in the Android SDK.
All features that are common between the deprecated android.hardware.Camera class and the newer
android.hardware.camera2 package MUST have equivalent performance and quality in both APIs. For
example, with equivalent settings, autofocus speed and accuracy must be identical, and the quality of
captured images must be the same. Features that depend on the different semantics of the two APIs
are not required to have matching speed or quality, but SHOULD match as closely as possible.
Device implementations MUST implement the following behaviors for the camera-related APIs, for all
available cameras. Device implementations:
[C-0-1] MUST use android.hardware.PixelFormat.YCbCr_420_SP for preview data provided to
application callbacks when an application has never called
android.hardware.Camera.Parameters.setPreviewFormat(int) .
[C-0-2] MUST further be in the NV21 encoding format when an application registers an
android.hardware.Camera.PreviewCallback instance and the system calls the onPreviewFrame()
method and the preview format is YCbCr_420_SP, the data in the byte[] passed into
onPreviewFrame() . That is, NV21 MUST be the default.
Page 103 of 132

Содержание

Похожие устройства

Скачать