NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvMediaRect Struct Reference

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

uint16_t NvMediaRect::x0

Left X co-ordinate.

Inclusive.

Definition at line 135 of file nvmedia_core.h.

uint16_t NvMediaRect::x1

Right X co-ordinate.

Exclusive.

Definition at line 139 of file nvmedia_core.h.

uint16_t NvMediaRect::y0

Top Y co-ordinate.

Inclusive.

Definition at line 137 of file nvmedia_core.h.

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: