Skip to main content

Nv12View Struct

Non-owning view into NV12 pixel data: Y plane + interleaved UV plane. More...

Declaration

struct simaai::neat::Nv12View { ... }

Included Headers

#include <TensorCore.h>

Public Member Attributes Index

intwidth = 0

Image width in pixels. More...

intheight = 0

Image height in pixels. More...

const uint8_t *y = nullptr

Pointer to the Y (luminance) plane's first byte. More...

int64_ty_stride = 0

Row stride of the Y plane in bytes. More...

const uint8_t *uv = nullptr

Pointer to the interleaved UV plane's first byte. More...

int64_tuv_stride = 0

Row stride of the UV plane in bytes. More...

Description

Non-owning view into NV12 pixel data: Y plane + interleaved UV plane.

Definition at line 492 of file TensorCore.h.

Public Member Attributes

height

int simaai::neat::Nv12View::height = 0

Image height in pixels.

Definition at line 494 of file TensorCore.h.

494 int height = 0;

uv

const uint8_t* simaai::neat::Nv12View::uv = nullptr

Pointer to the interleaved UV plane's first byte.

Definition at line 497 of file TensorCore.h.

497 const uint8_t* uv = nullptr;

uv_stride

int64_t simaai::neat::Nv12View::uv_stride = 0

Row stride of the UV plane in bytes.

Definition at line 498 of file TensorCore.h.

498 int64_t uv_stride = 0;

width

int simaai::neat::Nv12View::width = 0

Image width in pixels.

Definition at line 493 of file TensorCore.h.

493 int width = 0;

y

const uint8_t* simaai::neat::Nv12View::y = nullptr

Pointer to the Y (luminance) plane's first byte.

Definition at line 495 of file TensorCore.h.

495 const uint8_t* y = nullptr;

y_stride

int64_t simaai::neat::Nv12View::y_stride = 0

Row stride of the Y plane in bytes.

Definition at line 496 of file TensorCore.h.

496 int64_t y_stride = 0;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.