ImageFormatType ImageFormatType Enum


public enum ImageFormatType
type ImageFormatType = 


Depth16 Depth16 1144402265
DepthPointCloud DepthPointCloud 257
FlexRgb888 FlexRgb888 41
FlexRgba8888 FlexRgba8888 42
Jpeg Jpeg 256

Encoded formats.

Nv16 Nv16 16

YCbCr format, used for video.

Nv21 Nv21 17

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

Private Private 34
Raw10 Raw10 37
Raw12 Raw12 38
RawPrivate RawPrivate 36
RawSensor RawSensor 32
Rgb565 Rgb565 4

RGB format used for pictures encoded as RGB_565.

Unknown Unknown 0
Yuv420888 Yuv420888 35
Yuv422888 Yuv422888 39
Yuv444888 Yuv444888 40
Yuy2 Yuy2 20

YCbCr format used for images, which uses YUYV (YUY2) encoding format. This is an alternative format for camera preview images.

Yv12 Yv12 842094169


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