56 #ifndef NV_VPI_ALGORITHMS_CROPSCALER_H
57 #define NV_VPI_ALGORITHMS_CROPSCALER_H
69 #include "../Export.h"
70 #include "../ImageFormat.h"
71 #include "../Status.h"
185 int32_t patchWidth, int32_t patchHeight,
VPIImage outPatches);
struct VPIArrayImpl * VPIArray
A handle to an array.
VPIStatus vpiCreateCropScaler(uint64_t backends, int maxFrames, int maxObjects, VPIPayload *payload)
Creates payload instance for the Crop Scale algorithm.
VPIStatus vpiSubmitCropScalerBatch(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage *frameList, int32_t numFrames, VPIArray objects, int32_t patchWidth, int32_t patchHeight, VPIImage outPatches)
Crops rectangular regions from the input frames and rescale them all to the same dimensions.
struct VPIImageImpl * VPIImage
A handle to an image.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
struct VPIStreamImpl * VPIStream
A handle to a stream.