Android.Graphics.ImageFormat Members

The members of Android.Graphics.ImageFormat are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
JpegImageFormatType (256). Compressed JPEG format.
const
Nv16ImageFormatType (16). YCbCr format, used for video.
const
Nv21ImageFormatType (17). YCrCb format used for images, which uses the NV21 encoding format.
const
Raw10ImageFormatType (37).
bit 7bit 6bit 5bit 4bit 3bit 2bit 1bit 0
Byte 0:P0[9]P0[8]P0[7]P0[6]P0[5]P0[4]P0[3]P0[2]
Byte 1:P1[9]P1[8]P1[7]P1[6]P1[5]P1[4]P1[3]P1[2]
Byte 2:P2[9]P2[8]P2[7]P2[6]P2[5]P2[4]P2[3]P2[2]
Byte 3:P3[9]P3[8]P3[7]P3[6]P3[5]P3[4]P3[3]P3[2]
Byte 4:P3[1]P3[0]P2[1]P2[0]P1[1]P1[0]P0[1]P0[0]
where the row stride is in bytes, not pixels.
const
RawSensorImageFormatType (32).
const
Rgb565ImageFormatType (4). RGB format used for pictures encoded as RGB_565.
const
UnknownImageFormatType (0).
const
Yuv420888ImageFormatType (35).
const
Yuy2ImageFormatType (20). YCbCr format used for images, which uses YUYV (YUY2) encoding format.
const
Yv12ImageFormatType (842094169).

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
GetBitsPerPixel(ImageFormatType) : int
Use this function to retrieve the number of bits per pixel of an ImageFormat.