NVIDIA DRIVE OS Linux API Reference

5.1.3.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 of a surface, with x and y components increasing right and down.

Definition at line 146 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 148 of file nvmedia_core.h.

uint16_t NvMediaRect::x1

Right X co-ordinate.

Exclusive.

Definition at line 152 of file nvmedia_core.h.

uint16_t NvMediaRect::y0

Top Y co-ordinate.

Inclusive.

Definition at line 150 of file nvmedia_core.h.

uint16_t NvMediaRect::y1

Bottom Y co-ordinate.

Exclusive.

Definition at line 154 of file nvmedia_core.h.


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