EImagePixelFormat

Encoding type

Parameters

value

int value.

imageFormat
bitmapFormat

Entries

Link copied to clipboard

Unknown

Link copied to clipboard

24-bit encoding( 8-bit Red, 8-bit Green, 8-bit Blue). Bit masks:

Link copied to clipboard

24-bit encoding( 8-bit Blue, 8-bit Green, 8-bit Red). Bit masks:

Link copied to clipboard

32-bit encoding( 8-bit Alpha, 8-bit Red, 8-bit Green, 8-bit Blue). Bit masks: ARGB

Link copied to clipboard

Used for grayscale images. 8-bit encoding( 8-bit Alpha ).

Link copied to clipboard

16-bit encoding( 5-bit Red, 6-bit Green, 5-bit Blue). Bit masks:

Link copied to clipboard

32-bit encoding( 8-bit Alpha, 8-bit Blue, 8-bit Green, 8-bit Red). Bit masks: ARGB

Link copied to clipboard

YCbCr format One pixel represents as: YYYYYYYY UVUV For a n-pixel frame: Y×8×n (UV)×2×n Multi-plane Android YUV 420 format This format is a generic YCbCr format, capable of describing any 4:2:0 chroma-subsampled planar or SEMIPLANAR buffer (but not fully interleaved), with 8 bits per color sample.

Link copied to clipboard

YCrCb format One pixel represents as: YYYYYYYY VUVU For a n-pixel frame: Y×8×n (VU)×2×n This format is exposed to software decoders and applications. YV12 is a 4:2:0 YCrCb planar format comprised of a WxH Y plane followed by (W/2) x (H/2) Cr and Cb planes.

Link copied to clipboard

YCrCb format used for images, which uses the NV21 encoding format.

Link copied to clipboard
@RequiresApi(value = 19)
NV12

Multi-plane Android YUV 420 format This format is a generic YCbCr format, capable of describing any 4:2:0 chroma-subsampled planar or SEMIPLANAR buffer (but not fully interleaved), with 8 bits per color sample.

Properties

Link copied to clipboard
Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.