![]() |
NVIDIA DRIVE OS Linux SDK API Reference5.1.6.0 Release |
NVIDIA Media Interface: 2D Processing Control
Description: This file contains the Image 2D Processing API."
Definition in file nvmedia_2d.h.
Go to the source code of this file.
Data Structures | |
struct | NvMedia2DBlitParameters |
Holds the additional parameters for a blit. More... | |
struct | NvMedia2DBlitParametersOut |
Holds additional values returned from a blit. More... | |
Macros | |
#define | NVMEDIA_2D_VERSION_MAJOR 3 |
Major version number. More... | |
#define | NVMEDIA_2D_VERSION_MINOR 7 |
Minor version number. More... | |
Typedefs | |
typedef struct NvMedia2D | NvMedia2D |
An opaque handle representing an NvMedia2D object. More... | |
Enumerations | |
enum | NvMedia2DStretchFilter { NVMEDIA_2D_STRETCH_FILTER_OFF = 0x1, NVMEDIA_2D_STRETCH_FILTER_LOW, NVMEDIA_2D_STRETCH_FILTER_MEDIUM, NVMEDIA_2D_STRETCH_FILTER_HIGH } |
Specifies filtering mode used for stretched blits. More... | |
enum | NvMediaTransform { NVMEDIA_TRANSFORM_NONE = 0x0, NVMEDIA_TRANSFORM_ROTATE_90, NVMEDIA_TRANSFORM_ROTATE_180, NVMEDIA_TRANSFORM_ROTATE_270, NVMEDIA_TRANSFORM_FLIP_HORIZONTAL, NVMEDIA_TRANSFORM_INV_TRANSPOSE, NVMEDIA_TRANSFORM_FLIP_VERTICAL, NVMEDIA_TRANSFORM_TRANSPOSE } |
Defines transformations. More... | |
enum | NvMedia2DBlitParamField { NVMEDIA_2D_BLIT_PARAMS_FILTER = (1u << 0), NVMEDIA_2D_BLIT_PARAMS_FLAGS = (1u << 1), NVMEDIA_2D_BLIT_PARAMS_DST_TRANSFORM = (1u << 2), NVMEDIA_2D_BLIT_PARAMS_COLOR_STD = (1u << 3) } |
Defines bit masks for NvMedia2DBlitParameters::validFields. More... | |
Functions | |
NvMediaStatus | NvMedia2DGetVersion (NvMediaVersion *version) |
Returns the version information for the NvMedia 2D library. More... | |
NvMedia2D * | NvMedia2DCreate (NvMediaDevice *device) |
Creates a 2D object. More... | |
void | NvMedia2DDestroy (NvMedia2D *i2d) |
Destroys a 2D object. More... | |
NvMediaStatus | NvMedia2DBlitEx (const NvMedia2D *i2d, NvMediaImage *dstSurface, const NvMediaRect *dstRect, NvMediaImage *srcSurface, const NvMediaRect *srcRect, const NvMedia2DBlitParameters *params, NvMedia2DBlitParametersOut *paramsOut) |
Performs a 2D blit operation with supplementary return values. More... | |
NvMediaStatus | NvMedia2DCopyPlaneNew (const NvMedia2D *i2d, NvMediaImage *dstSurface, uint32_t dstPlane, NvMediaImage *srcSurface, uint32_t srcPlane) |
Copies a plane of a YUV image to another YUV image. More... | |
NvMediaStatus | NvMedia2DWeaveNew (const NvMedia2D *i2d, NvMediaImage *imageOdd, NvMediaImage *imageEven, NvMediaImage *outImage) |
Performs an NvMedia2D weave operation on NvMedia images. More... | |
NvMediaStatus | NvMedia2DImageRegister (const NvMedia2D *i2d, NvMediaImage *image, NvMediaAccessMode accessMode) |
Registers an NvMediaImage for use with an NvMedia2D handle. More... | |
NvMediaStatus | NvMedia2DImageUnRegister (const NvMedia2D *i2d, NvMediaImage *image) |
Unregisters an NvMediaImage registered with NvMedia2D by a call to NvMedia2DImageRegister(). More... | |