The Image 2D Processing API encompasses all NvMedia 2D image processing related functionality.
|
typedef void | NvMedia2D |
| An opaque handle representing an NvMedia2D object. More...
|
|
#define NVMEDIA_2D_VERSION_MAJOR 2 |
#define NVMEDIA_2D_VERSION_MINOR 2 |
An opaque handle representing an NvMedia2D object.
Definition at line 145 of file nvmedia_2d.h.
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.
- Parameters
-
[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. |
- Returns
- NvMediaStatus, the completion status of operation:
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.
- Parameters
-
[in] | i2d | : NvMedia 2D 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. |
- Returns
- NvMediaStatus, the completion status of operation: