40 #define NVMEDIA_LDC_VERSION_MAJOR 2
42 #define NVMEDIA_LDC_VERSION_MINOR 0
50 #define NVMEDIA_LDC_MAX_HOR_REGION 4u
53 #define NVMEDIA_LDC_MAX_VER_REGION 4u
56 #define NVMEDIA_LDC_MIN_REGION_WIDTH 64u
59 #define NVMEDIA_LDC_MIN_REGION_HEIGHT 16u
380 float_t ptMatrix[3][3];
650 const uint16_t srcWidth,
651 const uint16_t srcHeight,
653 const uint16_t dstWidth,
654 const uint16_t dstHeight,
875 #endif // NvMedia_LDC_H
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
Specifies producing gradient Sobel and disable downsample output.
NvMediaGeoTransMode
Defines geometric transform operation modes.
Specifies S15.5 fixed floating format.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
NvMediaLDCMode
Defines the NvMedia LDC operating modes.
NvMediaStatus NvMediaLDCCreateNew(const NvMediaDevice *device, 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 temporal noise reduction version 3 mode.
NvMediaStatus NvMediaLDCGetVersion(NvMediaVersion *version)
Returns the version information of NvMedia LDC.
NvMediaStatus NvMediaLDCFeedSparseWarpMap(NvMediaLDC *ldc, const NvMediaLDCSparseWarpMap *map)
Feeds a sparse warp map to NvMedia LDC.
Specifies taking a sparse warp map from client via NvMediaLDCFeedSparseWarpMap(). ...
NvMediaLDCSobelMode
Defines the xSobel working modes.
NvMediaNoiseReductionAlgorithm
Noise Reduction Algorithm.
Specifies a fisheye model: r = fsin(theta), where theta is the angle from the optical axis...
Specifies a polynomial distortion model.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
NvMediaStatus NvMediaLDCUpdateTNR3Params(const NvMediaLDC *ldc, const NvMediaTNR3Params *tnr3Params)
Updates TNR3 parameters after a call to NvMediaLDCCreateNew().
Specifies producing luma Sobel and luma downsample output.
NvMediaStatus
Defines all possible error codes.
Specifies performing an affine transform.
NvMediaStatus NvMediaLDCProcess(const NvMediaLDC *ldc, NvMediaImage *prevSurface, NvMediaImage *curSurface, NvMediaImage *outputSurface, NvMediaImage *xSobel, NvMediaImage *downSample, const NvMediaLDCCtrlParams *ldcCtrlParams)
Performs a specified LDC operation.
NvMediaFilterQuality
Defines filter quality levels.
Specifies producing gradient Sobel and gradient downsample output.
Specifies geometric transform mode.
struct NvMediaLDC NvMediaLDC
Defines the NvMedia LDC handle as an opaque struct.
Specifies performing a perspective transform.
Specifies temporal noise reduction version 2 mode.
NvMediaStatus NvMediaLDCMappingGen(NvMediaLDC *ldc)
Generates a sparse warp mapping based on NvMediaCameraModel.
Specifies a fisheye model: r = f*theta, where theta is the angle from the optical axis...
Specifies generating a sparse warp map for geometric transform.
Specifies both geometric transform mode and temporal noise reduction version 3 mode.
Specifies disabling both Sobel and downsample output.
Specifies standard float_t format.
NvMediaLensModel
Defines supported lens models.
Specifies a fisheye model: r = 2fsin(theta/2), where theta is the angle from the optical axis...
Specifies a fisheye model: r = 2ftan(theta/2), where theta is the angle from the optical axis...
#define NVMEDIA_LDC_MAX_HOR_REGION
Maximum number of horizontal regions.
#define NVMEDIA_LDC_MAX_VER_REGION
Maximum number of vertical regions.
NvMediaStatus NvMediaLDCDestroy(NvMediaLDC *ldc)
Destroys an NvMedia LDC handle that was created by a call to NvMediaLDCCreateNew().
NvMediaLDCDataFormat
Defines the NvMedia LDC Data Format.