ImageFormat class Null safety
Image format constants.
- Annotations
-
- @Reference('android_hardware/camera/ImageFormat')
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getBitsPerPixel(
int format) → Future< int> - Use this function to retrieve the number of bits per pixel of an ImageFormat.
Constants
- depth16 → const int
-
Android dense depth image format.
0x44363159
- depthJpeg → const int
-
Depth augmented compressed JPEG format.
0x69656963
- heic → const int
-
Compressed HEIC format.
0x48454946
- jpeg → const int
-
Compressed JPEG format.
0x00000100
- nv16 → const int
-
YCbCr format, used for video.
0x00000010
- nv21 → const int
-
YCrCb format used for images, which uses the NV21 encoding format.
0x00000011
- rawPrivate → const int
-
Private raw camera sensor image format, a single channel image with implementation depedent pixel layout.
0x00000024
- rgb565 → const int
-
RGB format used for pictures encoded as RGB_565.
0x00000004
- unknown → const int
-
0x00000000
- yuy2 → const int
-
YCbCr format used for images, which uses YUYV (YUY2) encoding format.
0x00000014
- yv12 → const int
-
Android YUV format.
0x32315659