Language

DataSpaceType Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum DataSpaceType
[<System.Flags>]
type DataSpaceType = 
Inheritance
DataSpaceType
Attributes

Fields

Name Value Description
Unknown 0

Default-assumption data space, when not explicitly specified.

It is safest to assume a buffer is an image with sRGB primaries and encoding ranges, but the consumer and/or the producer of the data may simply be using defaults. No automatic gamma transform should be expected, except for a possible display gamma transform when drawn to a screen.

Android reference for android.hardware.DataSpace.DATASPACE_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Depth 4096

Depth. This value is valid with formats HAL_PIXEL_FORMAT_Y16 and HAL_PIXEL_FORMAT_BLOB.

Android reference for android.hardware.DataSpace.DATASPACE_DEPTH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DynamicDepth 4098

ISO 16684-1:2011(E) Dynamic Depth. Embedded depth metadata following the dynamic depth specification.

Android reference for android.hardware.DataSpace.DATASPACE_DYNAMIC_DEPTH.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Heif 4100

High Efficiency Image File Format (HEIF).

This value is valid with HardwareBuffer.BLOB format. The combination is an HEIC image encoded by HEIC or HEVC encoder according to ISO/IEC 23008-12.

Android reference for android.hardware.DataSpace.DATASPACE_HEIF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

JpegR 4101

Ultra HDR JPEG image with embedded HDR gain map following the Ultra HDR specification and starting with Android version V ISO/CD 21496‐1

This value is valid with formats: HAL_PIXEL_FORMAT_BLOB: JPEG image encoded by Jpeg/R encoder according to ISO/CD 21496‐1

The image contains a standard SDR JPEG and a gain map. Ultra HDR decoders can use the gain map to boost the brightness of the rendered image.

Android reference for android.hardware.DataSpace.DATASPACE_JPEG_R.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HeifUltrahdr 4102

ISO/IEC 23008-12:2024 High Efficiency Image File Format (HEIF) with embedded HDR gain map

This value is valid with formats: HAL_PIXEL_FORMAT_BLOB: A HEIC image encoded by HEVC encoder according to ISO/IEC 23008-12:2024 that includes an HDR gain map and metadata according to ISO/CD 21496‐1

Android reference for android.hardware.DataSpace.DATASPACE_HEIF_ULTRAHDR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SrgbLinear 138477568

sRGB linear encoding.

Composed of the following -

Primaries: STANDARD_BT709
Transfer: TRANSFER_LINEAR
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_SRGB_LINEAR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Srgb 142671872

sRGB gamma encoding.

Composed of the following -

Primaries: STANDARD_BT709
Transfer: TRANSFER_SRGB
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_SRGB.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DisplayBt2020 142999552

Display BT. 2020 encoding.

Composed of the following -

Primaries: STANDARD_BT2020
Transfer: TRANSFER_SRGB
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_DISPLAY_BT2020.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DisplayP3 143261696

Display P3 encoding.

Composed of the following -

Primaries: STANDARD_DCI_P3
Transfer: TRANSFER_SRGB
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_DISPLAY_P3.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Jfif 146931712

JPEG File Interchange Format (JFIF).

Composed of the following -

Primaries: STANDARD_BT601_625
Transfer: TRANSFER_SMPTE_170M
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_JFIF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bt2020 147193856

ITU-R Recommendation 2020 (BT.2020) Ultra High-definition television.

Composed of the following -

Primaries: STANDARD_BT2020
Transfer: TRANSFER_SMPTE_170M
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_BT2020.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AdobeRgb 151715840

Adobe RGB encoding.

Composed of the following -

Primaries: STANDARD_ADOBE_RGB
Transfer: TRANSFER_GAMMA2_2
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_ADOBE_RGB.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DciP3 155844608

SMPTE EG 432-1 and SMPTE RP 431-2 Digital Cinema DCI-P3.

Composed of the following -

Primaries: STANDARD_DCI_P3
Transfer: TRANSFER_GAMMA2_6
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_DCI_P3.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bt2020Pq 163971072

Perceptual Quantizer encoding.

Composed of the following -

Primaries: STANDARD_BT2020
Transfer: TRANSFER_ST2084
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_BT2020_PQ.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bt2020Hlg 168165376

Hybrid Log Gamma encoding.

Composed of the following -

Primaries: STANDARD_BT2020
Transfer: TRANSFER_HLG
Range: RANGE_FULL

Android reference for android.hardware.DataSpace.DATASPACE_BT2020_HLG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bt709 281083904

ITU-R Recommendation 709 (BT.709) High-definition television.

Composed of the following -

Primaries: STANDARD_BT709
Transfer: TRANSFER_SMPTE_170M
Range: RANGE_LIMITED

Android reference for android.hardware.DataSpace.DATASPACE_BT709.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bt601625 281149440

ITU-R Recommendation 601 (BT.601) - 625-line Standard-definition television, 625 Lines (PAL).

Composed of the following -

Primaries: STANDARD_BT601_625
Transfer: TRANSFER_SMPTE_170M
Range: RANGE_LIMITED

Android reference for android.hardware.DataSpace.DATASPACE_BT601_625.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Bt601525 281280512

ITU-R Recommendation 601 (BT.601) - 525-line Standard-definition television, 525 Lines (NTSC).

Composed of the following -

Primaries: STANDARD_BT601_525
Transfer: TRANSFER_SMPTE_170M
Range: RANGE_LIMITED

Android reference for android.hardware.DataSpace.DATASPACE_BT601_525.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ScrgbLinear 406913024

scRGB linear encoding.

Composed of the following -

Primaries: STANDARD_BT709
Transfer: TRANSFER_LINEAR
Range: RANGE_EXTENDED

Android reference for android.hardware.DataSpace.DATASPACE_SCRGB_LINEAR.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Scrgb 411107328

scRGB gamma encoding.

Composed of the following -

Primaries: STANDARD_BT709
Transfer: TRANSFER_SRGB
Range: RANGE_EXTENDED

Android reference for android.hardware.DataSpace.DATASPACE_SCRGB.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to