Skip to main content

I420View Struct

Non-owning view into I420 pixel data: separate Y, U, V planes. More...

Declaration

struct simaai::neat::I420View { ... }

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 *u = nullptr

Pointer to the U (chrominance) plane's first byte. More...

int64_tu_stride = 0

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

const uint8_t *v = nullptr

Pointer to the V (chrominance) plane's first byte. More...

int64_tv_stride = 0

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

Description

Non-owning view into I420 pixel data: separate Y, U, V planes.

Definition at line 514 of file TensorCore.h.

Public Member Attributes

height

int simaai::neat::I420View::height = 0

Image height in pixels.

Definition at line 516 of file TensorCore.h.

516 int height = 0;

u

const uint8_t* simaai::neat::I420View::u = nullptr

Pointer to the U (chrominance) plane's first byte.

Definition at line 519 of file TensorCore.h.

519 const uint8_t* u = nullptr;

u_stride

int64_t simaai::neat::I420View::u_stride = 0

Row stride of the U plane in bytes.

Definition at line 520 of file TensorCore.h.

520 int64_t u_stride = 0;

v

const uint8_t* simaai::neat::I420View::v = nullptr

Pointer to the V (chrominance) plane's first byte.

Definition at line 521 of file TensorCore.h.

521 const uint8_t* v = nullptr;

v_stride

int64_t simaai::neat::I420View::v_stride = 0

Row stride of the V plane in bytes.

Definition at line 522 of file TensorCore.h.

522 int64_t v_stride = 0;

width

int simaai::neat::I420View::width = 0

Image width in pixels.

Definition at line 515 of file TensorCore.h.

515 int width = 0;

y

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

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

Definition at line 517 of file TensorCore.h.

517 const uint8_t* y = nullptr;

y_stride

int64_t simaai::neat::I420View::y_stride = 0

Row stride of the Y plane in bytes.

Definition at line 518 of file TensorCore.h.

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