NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only

Detailed Description

Holds a rectangular region of a surface.

The co-ordinates are top-left inclusive, bottom-right exclusive.

The NvMedia co-ordinate system has its origin at the top left corner of a surface, with x and y components increasing right and down.

Definition at line 133 of file nvmedia_core.h.

Data Fields

uint16_t x0
 Left X co-ordinate. More...
 
uint16_t y0
 Top Y co-ordinate. More...
 
uint16_t x1
 Right X co-ordinate. More...
 
uint16_t y1
 Bottom Y co-ordinate. More...
 

Field Documentation

◆ x0

uint16_t NvMediaRect::x0

Left X co-ordinate.

Inclusive.

Definition at line 135 of file nvmedia_core.h.

◆ x1

uint16_t NvMediaRect::x1

Right X co-ordinate.

Exclusive.

Definition at line 139 of file nvmedia_core.h.

◆ y0

uint16_t NvMediaRect::y0

Top Y co-ordinate.

Inclusive.

Definition at line 137 of file nvmedia_core.h.

◆ y1

uint16_t NvMediaRect::y1

Bottom Y co-ordinate.

Exclusive.

Definition at line 141 of file nvmedia_core.h.


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