Xiaomi Pocophone F1 128Gb+6Gb Dual LTE [94/118] External camera

Xiaomi Pocophone F1 128Gb+6Gb Dual LTE [94/118] External camera
method. Conversely, the preview MUST be mirrored along the device’s default horizontal
axis when the current application does not explicitly request that the Camera display be
rotated via a call to the android.hardware.Camera.setDisplayOrientation() method.
[C-1-5] MUST NOT mirror the final captured still image or video streams returned to
application callbacks or committed to media storage.
[C-1-6] MUST mirror the image displayed by the postview in the same manner as the
camera preview image stream.
MAY include features (such as auto-focus, flash, etc.) available to rear-facing cameras as
described in section 7.5.1 .
If device implementations are capable of being rotated by user (such as automatically via an
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 impelmentations 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 port.
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.
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) .
Page 94 of 118

Содержание

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

Скачать