ImageFormat.FlexRgb888 Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.
Multi-plane Android RGB format
[Android.Runtime.Register("FLEX_RGB_888", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)]
public const Android.Graphics.ImageFormatType FlexRgb888 = 41;
[<Android.Runtime.Register("FLEX_RGB_888", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageFormatType enum directly instead of this field.", true)>]
val mutable FlexRgb888 : Android.Graphics.ImageFormatType
Field Value
Value = 41- Attributes
Remarks
Multi-plane Android RGB format
This format is a generic RGB format, capable of describing most RGB formats, with 8 bits per color sample.
Images in this format are always represented by three separate buffers of data, one for each color plane. Additional information always accompanies the buffers, describing the row stride and the pixel stride for each plane.
The order of planes in the array returned by android.media.Image#getPlanes() Image#getPlanes()
is guaranteed such that plane #0 is always R (red), plane #1 is always G (green), and plane #2 is always B (blue).
All three planes are guaranteed to have the same row strides and pixel strides.
For example, the android.media.Image
object can provide data in this format from a android.media.MediaCodec
through android.media.MediaCodec#getOutputImage
object.
Java documentation for android.graphics.ImageFormat.FLEX_RGB_888
.
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.