|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.3 Release For Test and Development only
|
Go to the documentation of this file.
40 #define NVMEDIA_LDC_VERSION_MAJOR 2
42 #define NVMEDIA_LDC_VERSION_MINOR 1
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];
651 const uint16_t srcWidth,
652 const uint16_t srcHeight,
654 const uint16_t dstWidth,
655 const uint16_t dstHeight,
879 #endif // NvMedia_LDC_H
NvMediaGeoTransMode
Defines geometric transform operation modes.
@ NVMEDIA_LDC_MODE_GEOTRANS_TNR3
Specifies both geometric transform mode and temporal noise reduction version 3 mode.
NvMediaLDCDataFormat
Defines the NvMedia LDC Data Format.
@ NVMEDIA_LDC_MODEL_POLYNOMIAL_DISTORTION
Specifies a polynomial distortion model.
@ NVMEDIA_GEOTRANS_ENABLE_XSOBEL_DISABLE_DS
Specifies producing gradient Sobel and disable downsample output.
NvMediaStatus NvMediaLDCGetVersion(NvMediaVersion *version)
Returns the version information of NvMedia LDC.
NvMediaLDCMode
Defines the NvMedia LDC operating modes.
NvMediaLDCSobelMode
Defines the xSobel working modes.
@ NVMEDIA_LDC_DATAFORMAT_FIXEDFLOAT_S15_5
Specifies S15.5 fixed floating format.
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.
@ NVMEDIA_GEOTRANS_DISABLE_XSOBEL_ENABLE_DS
Specifies producing luma Sobel and luma downsample output.
@ NVMEDIA_GEOTRANS_ENABLE_XSOBEL_ENABLE_DS
Specifies producing gradient Sobel and gradient downsample output.
NvMediaStatus NvMediaLDCUpdateTNR3Params(const NvMediaLDC *ldc, const NvMediaTNR3Params *tnr3Params)
Updates TNR3 parameters after a call to NvMediaLDCCreateNew().
NvMediaStatus NvMediaLDCFeedSparseWarpMap(NvMediaLDC *ldc, const NvMediaLDCSparseWarpMap *map)
Feeds a sparse warp map to NvMedia LDC.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
@ NVMEDIA_GEOTRANS_MODE_AFFINE_TRANSFORM
Specifies performing an affine transform.
@ NVMEDIA_GEOTRANS_MODE_GEN_MAPPING
Specifies generating a sparse warp map for geometric transform.
@ NVMEDIA_GEOTRANS_MODE_FEED_MAPPING
Specifies taking a sparse warp map from client via NvMediaLDCFeedSparseWarpMap().
@ NVMEDIA_LDC_DATAFORMAT_FLOAT_T
Specifies standard float_t format.
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.
@ NVMEDIA_GEOTRANS_MODE_PERSPECTIVE_TRANSFORM
Specifies performing a perspective transform.
@ NVMEDIA_LDC_MODEL_FISHEYE_ORTHOGRAPHIC
Specifies a fisheye model: r = 2fsin(theta/2), where theta is the angle from the optical axis,...
@ NVMEDIA_LDC_MODEL_FISHEYE_EQUIDISTANT
Specifies a fisheye model: r = 2ftan(theta/2), where theta is the angle from the optical axis,...
@ NVMEDIA_LDC_MODE_TNR3
Specifies temporal noise reduction version 3 mode.
#define NvMediaSurfaceType
Defines the set of NvMedia surface types.
NvMediaStatus NvMediaLDCMappingGen(NvMediaLDC *ldc)
Generates a sparse warp mapping based on NvMediaCameraModel.
NvMediaNoiseReductionAlgorithm
Noise Reduction Algorithm.
NvMediaStatus
Defines all possible error codes.
struct NvMediaLDC NvMediaLDC
Defines the NvMedia LDC handle as an opaque struct.
@ NVMEDIA_LDC_MODEL_FISHEYE_EQUISOLID
Specifies a fisheye model: r = f*theta, where theta is the angle from the optical axis,...
NvMediaLensModel
Defines supported lens models.
@ NVMEDIA_GEOTRANS_DISABLE_XSOBEL_DISABLE_DS
Specifies disabling both Sobel and downsample output.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
@ NVMEDIA_LDC_MODE_GEOTRANS
Specifies geometric transform mode.
#define NVMEDIA_LDC_MAX_HOR_REGION
Maximum number of horizontal regions.
#define NVMEDIA_LDC_MAX_VER_REGION
Maximum number of vertical regions.
@ NVMEDIA_LDC_MODE_TNR2
Specifies temporal noise reduction version 2 mode.
NvMediaStatus NvMediaLDCDestroy(NvMediaLDC *ldc)
Destroys an NvMedia LDC handle that was created by a call to NvMediaLDCCreateNew().
@ NVMEDIA_LDC_MODEL_FISHEYE_STEREOGRAPHIC
Specifies a fisheye model: r = fsin(theta), where theta is the angle from the optical axis,...