![]() |
NVIDIA DRIVE 5.0 Linux SDK API Reference5.0.10.3 Release |
The Image 2D Processing API encompasses all NvMedia 2D image processing related functionality.
Data Structures | |
struct | NvMedia2DBlitParameters |
Holds the additional parameters for a blit. More... | |
struct | NvMedia2DBlitParametersOut |
Holds additional values returned from a blit. More... | |
Modules | |
Blits | |
Blit functions define valid parameters for a blit. | |
Surface Filtering | |
Macros | |
#define | NVMEDIA_2D_VERSION_MAJOR 2 |
Major Version number. More... | |
#define | NVMEDIA_2D_VERSION_MINOR 1 |
Minor Version number. More... | |
Typedefs | |
typedef void | NvMedia2D |
An opaque handle representing an NvMedia2D object. More... | |
Functions | |
NvMediaStatus | NvMedia2DGetVersion (NvMediaVersion *version) |
Returns the version information for the NvMedia 2D library. More... | |
NvMediaStatus | NvMedia2DWeave (NvMediaDevice *device, NvMediaImage *imageOdd, NvMediaImage *imageEven, NvMediaImage *outImage) |
Performs an NvMedia2D weave operation on NvMedia images. More... | |
#define NVMEDIA_2D_VERSION_MAJOR 2 |
Major Version number.
Definition at line 37 of file nvmedia_2d.h.
#define NVMEDIA_2D_VERSION_MINOR 1 |
Minor Version number.
Definition at line 39 of file nvmedia_2d.h.
typedef void NvMedia2D |
An opaque handle representing an NvMedia2D object.
Definition at line 145 of file nvmedia_2d.h.
NvMediaStatus NvMedia2DGetVersion | ( | NvMediaVersion * | version | ) |
Returns the version information for the NvMedia 2D library.
[out] | version | A pointer to a NvMediaVersion structure filled by the 2D library. |
NvMediaStatus NvMedia2DWeave | ( | NvMediaDevice * | device, |
NvMediaImage * | imageOdd, | ||
NvMediaImage * | imageEven, | ||
NvMediaImage * | outImage | ||
) |
Performs an NvMedia2D weave operation on NvMedia images.
2D weave interface takes frames containing odd and even lines as input. The destination frame is formed by interleaving odd and even lines.
The input frames must have the same format, which must be RAW8 or RGBA. The output frame format is always RGBA; the output frame has the same width as each input frame, and twice the height.
[in] | device | NvMedia device handle. |
[in] | imageOdd | A pointer to an NvMedia image representing odd lines. |
[in] | imageEven | A pointer to an NvMedia image representing even lines. |
[out] | outImage | A pointer to an NvMedia image containing weave output. |