16 #ifndef _NVMEDIA_LDC_H
17 #define _NVMEDIA_LDC_H
38 #define NVMEDIA_LDC_VERSION_MAJOR 1
40 #define NVMEDIA_LDC_VERSION_MINOR 2
48 #define NVMEDIA_LDC_MAX_HOR_REGION 4
51 #define NVMEDIA_LDC_MAX_VER_REGION 4
54 #define NVMEDIA_LDC_MIN_REGION_WIDTH 64
57 #define NVMEDIA_LDC_MIN_REGION_HEIGHT 16
369 float_t ptMatrix[3][3];
628 const uint16_t srcWidth,
629 const uint16_t srcHeight,
631 const uint16_t dstWidth,
632 const uint16_t dstHeight,
816 #endif // _NvMedia_LDC_H
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
NvMediaStatus NvMediaLDCUpdateTNR3Params(NvMediaLDC *ldc, const NvMediaTNR3Params *tnr3Params)
Updates TNR3 parameters after NvMediaLDCCreate().
Specifies to produce gradient sobel and disable downsample output.
NvMediaGeoTransMode
Defines geometric transform operate modes.
S15.5 is the fixed floating format where the data is stored only in the most significant 20 bits of 3...
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
NvMediaLDCMode
Defines the NvMedia LDC operating modes.
Specifies to do temporal noise reduction version 3.
NvMediaStatus NvMediaLDCGetVersion(NvMediaVersion *version)
Returns the version information of NvMedia LDC.
NvMediaStatus NvMediaLDCFeedSparseWarpMap(NvMediaLDC *ldc, const NvMediaLDCSparseWarpMap *map)
Feeds sparse warp map to NvMedia LDC.
Specifies to take sparse warp map from client via NvMediaLDCFeedSparseWarpMap().
NvMediaLDCSobelMode
Defines the xSobel working modes.
NvMediaNoiseReductionAlgorithm
Noise Reduction Algorithm.
Fisheye model: r = fsin(theta), where theta is the angle from the optical axis, f is the focal length...
Polynomial distortion model.
Specifies to produce luma sobel and luma downsample output.
NvMediaStatus
The set of all possible error codes.
Specifies to do affine transform.
NvMediaFilterQuality
Defines filter quality levels.
Specifies to produce gradient sobel and gradient downsample output.
Specifies to do geometric transform.
struct NvMediaLDC NvMediaLDC
Defines the NvMedia LDC handle as an opaque struct.
Specifies to do perspective transform.
NvMediaStatus NvMediaLDCCreate(NvMediaLDC **pldc, const uint16_t srcWidth, const uint16_t srcHeight, const NvMediaRect *srcRect, const uint16_t dstWidth, const uint16_t dstHeight, const NvMediaRect *dstRect, const NvMediaLDCInitParams *initParams)
Creates an NvMedia LDC handle.
Specifies to do temporal noise reduction version 2.
NvMediaStatus NvMediaLDCMappingGen(NvMediaLDC *ldc)
Generates sparse warp mapping based on NvMediaCameraModel.
Fisheye model: r = f*theta, where theta is the angle from the optical axis, f is the focal length and...
Specifies to generate sparse warp map for geometric transform.
NvMediaStatus NvMediaLDCProcess(NvMediaLDC *ldc, NvMediaImage *prevSurface, NvMediaImage *curSurface, NvMediaImage *outputSurface, NvMediaImage *xSobel, NvMediaImage *downSample, const NvMediaLDCCtrlParams *ldcCtrlParams)
Performs the specified LDC operation.
Specifies to do both geometric transform and temporal noise reduction version 3.
Specifies to disable both sobel and downsample output.
NvMediaLensModel
Defines supported lens models.
Fisheye model: r = 2fsin(theta/2), where theta is the angle from the optical axis, f is the focal length and r is the distance of a pixel from the image center.
Fisheye model: r = 2ftan(theta/2), where theta is the angle from the optical axis, f is the focal length and r is the distance of a pixel from the image center.
#define NVMEDIA_LDC_MAX_HOR_REGION
Defines the maximum number of horizontal regions.
#define NVMEDIA_LDC_MAX_VER_REGION
Defines the aximum number of vertical regions.
NvMediaStatus NvMediaLDCDestroy(NvMediaLDC *ldc)
Destroys the NvMedia LDC handle that was created by NvMediaLDCCreate().
NvMediaLDCDataFormat
Defines the NvMedia LDC Data Format.