GoogleARCore. CameraImageBytes
An ARCore camera image with its data accessible from the CPU in YUV-420-888 format.
Summary
Inheritance
Inherits from: IDisposable
Properties |
|
---|---|
Height
|
int
Gets the height of the image.
|
IsAvailable
|
bool
Gets a value indicating whether the image bytes are available.
|
U
|
IntPtr
Gets a pointer to the U buffer with a pixel stride of
UVPixelStride and a row stride of UVRowStride . |
UVPixelStride
|
int
Gets the pixel stride of the U and V planes.
|
UVRowStride
|
int
Gets the row stride of the U and V planes.
|
V
|
IntPtr
Gets a pointer to the V buffer with a pixel stride of
UVPixelStride and a row stride of UVRowStride . |
Width
|
int
Gets the width of the image.
|
Y
|
IntPtr
Gets a pointer to the Y buffer with a pixel stride of 1 and a row stride of
YRowStride . |
YRowStride
|
int
Gets the row stride of the Y plane.
|
Public functions |
|
---|---|
Dispose()
|
void
Calls release as part of IDisposable pattern supporting 'using' statements.
|
Release()
|
void
Releases the camera image and associated resources, and signifies the developer will no longer access those resources.
|
Properties
Height
int GoogleARCore::CameraImageBytes::Height
Gets the height of the image.
IsAvailable
bool GoogleARCore::CameraImageBytes::IsAvailable
Gets a value indicating whether the image bytes are available.
The struct should not be accessed if this value is false
.
U
IntPtr GoogleARCore::CameraImageBytes::U
Gets a pointer to the U buffer with a pixel stride of UVPixelStride
and a row stride of UVRowStride
.
UVPixelStride
int GoogleARCore::CameraImageBytes::UVPixelStride
Gets the pixel stride of the U and V planes.
UVRowStride
int GoogleARCore::CameraImageBytes::UVRowStride
Gets the row stride of the U and V planes.
V
IntPtr GoogleARCore::CameraImageBytes::V
Gets a pointer to the V buffer with a pixel stride of UVPixelStride
and a row stride of UVRowStride
.
Width
int GoogleARCore::CameraImageBytes::Width
Gets the width of the image.
Y
IntPtr GoogleARCore::CameraImageBytes::Y
Gets a pointer to the Y buffer with a pixel stride of 1 and a row stride of YRowStride
.
YRowStride
int GoogleARCore::CameraImageBytes::YRowStride
Gets the row stride of the Y plane.
Public functions
Dispose
void GoogleARCore::CameraImageBytes::Dispose()
Calls release as part of IDisposable pattern supporting 'using' statements.
Release
void GoogleARCore::CameraImageBytes::Release()
Releases the camera image and associated resources, and signifies the developer will no longer access those resources.