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 498 of file TensorCore.h.

Public Member Attributes

height

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

Image height in pixels.

Definition at line 500 of file TensorCore.h.

500 int height = 0;

uv

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

Pointer to the interleaved UV plane's first byte.

Definition at line 503 of file TensorCore.h.

503 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 504 of file TensorCore.h.

504 int64_t uv_stride = 0;

width

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

Image width in pixels.

Definition at line 499 of file TensorCore.h.

499 int width = 0;

y

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

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

Definition at line 501 of file TensorCore.h.

501 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 502 of file TensorCore.h.

502 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.