Enum CameraImageFormat
Formats used by the raw CameraImage data. See format.
Namespace: UnityEngine.XR.ARExtensions
Syntax
public enum CameraImageFormat
Fields
Name | Description |
---|---|
AndroidYuv420_888 | Three-Plane YUV 420 format commonly used by Android. See AIMAGE_FORMAT_YUV_420_888. This format consists of three image planes. The first is the Y (luminocity) plane, with 8 bits per pixel. The second and third are the U and V (chromaticity) planes, respectively. Each 2x2 block of pixels share the same chromaticity value, so a given (x, y) pixel's chromaticity value is given by u = UPlane[(y / 2) * rowStride + (x / 2) * pixelStride]; v = VPlane[(y / 2) * rowStride + (x / 2) * pixelStride]; |
IosYpCbCr420_8BiPlanarFullRange | |
Unknown | The format is unknown or could not be determined. |