|
Jetson Linux API Reference
|
35.6.0 Release
|
Go to the documentation of this file.
21 #ifndef NVBUFSURFTRANSFORM_H_
22 #define NVBUFSURFTRANSFORM_H_
@ NvBufSurfTransform_Rotate90
Specifies rotating 90 degrees clockwise.
@ NvBufSurfTransformInter_Nearest
Specifies Nearest Interpolation Method interpolation.
struct _NvBufSurfTransformCompositeBlendParamsEx NvBufSurfTransformCompositeBlendParamsEx
Holds extended composite blend parameters for NvBufSurfTransformMultiInputBufCompositeBlend and NvBuf...
NvBufSurfTransform_Error NvBufSurfTransformComposite(NvBufSurface *src, NvBufSurface *dst, NvBufSurfTransformCompositeParams *composite_params)
Composites batched input images.
struct NvBufSurfTransformSyncObj * NvBufSurfTransformSyncObj_t
Holds the information about synchronization objects for asynchronous transform/composite APIs.
@ NVBUFSURF_TRANSFORM_FLIP
Specifies a transform to set the flip method.
@ NVBUFSURF_TRANSFORM_CROP_DST
Specifies a transform to crop the destination rectangle.
@ NvBufSurfTransform_Rotate180
Specifies rotating 180 degree clockwise.
NvBufSurfTransform_Composite_Flag
Specifies types of composition operations.
NvBufSurfTransform_Error NvBufSurfTransformGetSessionParams(NvBufSurfTransformConfigParams *config_params)
Gets the session parameters used by NvBufSurfTransform().
@ NvBufSurfTransformError_Invalid_Params
Specifies invalid input parameters.
@ NVBUFSURF_TRANSFORM_FILTER
Specifies a transform to set the filter type.
NvBufSurfTransform_Error NvBufSurfTransformSyncObjDestroy(NvBufSurfTransformSyncObj_t *sync_obj)
Destroy the synchroization object.
@ NvBufSurfTransform_FlipX
Specifies video flip with respect to the X-axis.
Holds information about batched buffers.
@ NVBUFSURF_TRANSFORM_CROP_SRC
Specifies a transform to crop the source rectangle.
NvBufSurfTransform_Error NvBufSurfTransform(NvBufSurface *src, NvBufSurface *dst, NvBufSurfTransformParams *transform_params)
Performs a transformation on batched input images.
@ NvBufSurfTransformInter_Algo4
Specifies GPU-Ignored, VIC-Nicest interpolation.
@ NVBUFSURF_TRANSFORM_ALLOW_ODD_CROP
Specifies a transform to allow odd crop.
struct _NvBufSurfTransformCompositeParams NvBufSurfTransformCompositeParams
Holds composite parameters for a composite call.
struct _NvBufSurfaceTransformParams NvBufSurfTransformParams
Holds transform parameters for a transform call.
@ NvBufSurfTransformInter_Algo1
Specifies GPU-Cubic, VIC-5 Tap interpolation.
NvBufSurfTransform_Error NvBufSurfTransformCompositeAsync(NvBufSurface *src, NvBufSurface *dst, NvBufSurfTransformCompositeParams *composite_params, NvBufSurfTransformSyncObj_t *sync_obj)
Composites batched input images Asynchronously (non-blocking).
NvBufSurfTransform_Compute
Specifies compute devices used by NvBufSurfTransform.
@ NVBUFSURF_TRANSFORM_COMPOSITE
Specifies a flag to describe the requested compositing operation.
@ NVBUFSURF_TRANSFORM_NORMALIZE
Specifies a transform to normalize output.
#define STRUCTURE_PADDING
Defines the default padding length for reserved fields of structures.
struct _NvBufSurfTransform_ColorParams NvBufSurfTransform_ColorParams
NvBufSurfTransform_Error NvBufSurfTransformSetDefaultSession(void)
Sets the default transform session as the current session for all upcoming transforms.
@ NvBufSurfTransformError_ROI_Error
Specifies an error in source or destination ROI.
@ NvBufSurfTransformInter_Bilinear
Specifies Bilinear Interpolation Method interpolation.
@ NvBufSurfTransform_FlipY
Specifies video flip with respect to the Y-axis.
NvBufSurfTransform_Error
Specifies error codes returned by NvBufSurfTransform functions.
NvBufSurfTransform_Error NvBufSurfTransformMultiInputBufCompositeBlendAsync(NvBufSurface **src, NvBufSurface *dst, NvBufSurfTransformCompositeBlendParamsEx *composite_blend_params, NvBufSurfTransformSyncObj_t *sync_obj)
Performs Composition and Blending on multiple input images(batch size=1) and provide single output im...
@ NvBufSurfTransformCompute_GPU
Specifies that the GPU is the compute device.
@ NvBufSurfTransformError_Unsupported
Specifies an unsupported feature or format.
NvBufSurfTransform_Error NvBufSurfTransformSyncObjWait(NvBufSurfTransformSyncObj_t sync_obj, uint32_t time_out)
Wait on the synchroization object.
NvBufSurfTransform_Error NvBufSurfTransformAsync(NvBufSurface *src, NvBufSurface *dst, NvBufSurfTransformParams *transform_params, NvBufSurfTransformSyncObj_t *sync_obj)
An asynchronous (non-blocking) transformation on batched input images.
@ NVBUFSURF_TRANSFORM_COMPOSITE_FILTER
Specifies a composite to set the filter type.
@ NvBufSurfTransform_Rotate270
Specifies rotating 270 degree clockwise.
@ NvBufSurfTransform_None
Specifies no video flip.
@ NvBufSurfTransformCompute_Default
Specifies VIC as a compute device for Jetson or dGPU for an x86_64 system.
@ NvBufSurfTransform_Transpose
Specifies video flip transpose.
NvBufSurfTransform_Error NvBufSurfTransformMultiInputBufCompositeBlend(NvBufSurface **src, NvBufSurface *dst, NvBufSurfTransformCompositeBlendParamsEx *composite_blend_params)
Performs Composition and Blending on multiple input images(batch size=1) and provide single output im...
NvBufSurfTransform_Inter
Specifies video interpolation methods.
@ NvBufSurfTransformError_Success
Specifies a successful operation.
@ NvBufSurfTransformInter_Algo2
Specifies GPU-Super, VIC-10 Tap interpolation.
@ NVBUFSURF_TRANSFORM_BLEND
Specifies a flag to describe the requested blending operation.
@ NvBufSurfTransformInter_Default
Specifies GPU-Nearest, VIC-Nearest interpolation.
NvBufSurfTransform_Flip
Specifies video flip methods.
NvBufSurfTransform_Transform_Flag
Specifies transform types.
@ NvBufSurfTransform_InvTranspose
Specifies video flip inverse transpose.
@ NvBufSurfTransformError_Execution_Error
Specifies a runtime execution error.
struct _NvBufSurfTransformConfigParams NvBufSurfTransformConfigParams
Holds configuration parameters for a transform/composite session.
NvBufSurfTransform_Error NvBufSurfTransformSetSessionParams(NvBufSurfTransformConfigParams *config_params)
Sets user-defined session parameters.
struct _NvBufSurfTransformCompositeBlendParams NvBufSurfTransformCompositeBlendParams
Holds composite blend parameters for a composite blender call.
@ NvBufSurfTransformInter_Algo3
Specifies GPU-Lanzos, VIC-Smart interpolation.
@ NvBufSurfTransformCompute_VIC
Specifies that the VIC as a compute device.
NvBufSurfTransform_Error NvBufSurfTransformCompositeBlend(NvBufSurface *src0, NvBufSurface *src1, NvBufSurface *alpha, NvBufSurface *dst, NvBufSurfTransformCompositeBlendParams *blend_params)
Composites/Blends batched input images.