Namespaces
Enumerations
enum class PixelFormat : uint32_t
| Name | Value | Comments |
|---|---|---|
| kBgra8 | 0u |
BGRA_8
A 32-bit four-component unsigned integer format. |
| kYuy2 | 1u |
YUY2
4:2:2 (2x down-sampled UV horizontally; full res UV vertically)
A 32-bit component that contains information for 2 pixels: |
| kNv12 | 2u |
NV12
4:2:0 (2x down-sampled UV in both directions)
Offset 0:
Y plane has line stride >= width.
In this context, both width and height are required to be even.
The UV data is separated into "lines", with each "line" having same byte
In converting to RGB, the UV data gets up-scaled by 2x in both directions |
| kYv12 | 3u |
YV12
Like I420, except with V and U swapped.
4:2:0 (2x down-sampled UV in both directions)
Offset 0:
Y plane has line stride >= width.
Both width and height are required to be even. |
| kR8G8B8A8 | 4u |
R8G8B8A8
A 32-bit four-component unsigned integer format.
This format can only be used with VK_DEVICE_MEMORY. |
Specifies how pixels are represented in the image buffer.
Defined at line 19 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/common_types.h
enum class ColorSpace : uint32_t
| Name | Value |
|---|---|
| kSrgb | 0u |
Specifies how pixel color information should be interpreted.
Defined at line 112 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/common_types.h
enum class Tiling : uint32_t
| Name | Value | Comments |
|---|---|---|
| kLinear | 0u |
Pixels are packed linearly. |
| kGpuOptimal | 1u |
Pixels are packed in a GPU-dependent optimal format. |
Specifies how pixels are arranged in memory.
Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/common_types.h
enum class AlphaFormat : uint32_t
| Name | Value | Comments |
|---|---|---|
| kOpaque | 0u |
Image is considered to be opaque. Alpha channel is ignored. |
| kPremultiplied | 1u |
Color channels have been premultiplied by alpha. |
| kNonPremultiplied | 2u |
Color channels have not been premultiplied by alpha. |
Specifies how alpha information should be interpreted.
Defined at line 162 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/common_types.h
enum class Transform : uint32_t
| Name | Value | Comments |
|---|---|---|
| kNormal | 0u |
Pixels are displayed normally. |
| kFlipHorizontal | 1u |
Pixels are mirrored left-right. |
| kFlipVertical | 2u |
Pixels are flipped vertically. |
| kFlipVerticalAndHorizontal | 3u |
Pixels are flipped vertically and mirrored left-right. |
Defined at line 193 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/common_types.h
enum class MemoryType : uint32_t
| Name | Value | Comments |
|---|---|---|
| kHostMemory | 0u |
VMO is regular host CPU memory. |
| kVkDeviceMemory | 1u |
VMO can be imported as a VkDeviceMemory by calling VkAllocateMemory with a |
Specifies the type of VMO's memory.
Defined at line 225 of file fidling/gen/sdk/fidl/fuchsia.images/fuchsia.images/cpp/fidl/fuchsia.images/cpp/common_types.h
Records
-
class ImageInfo -
class ImagePipe2 -
class ImagePipe2AddBufferCollection2Request -
class ImagePipe2AddBufferCollectionRequest -
class ImagePipe2AddImageRequest -
class ImagePipe2PresentImageRequest -
class ImagePipe2PresentImageResponse -
class ImagePipe2RemoveBufferCollectionRequest -
class ImagePipe2RemoveImageRequest -
class PresentationInfo