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"
189 int32_t patchWidth, int32_t patchHeight,
VPIImage outPatches);
struct VPIArrayImpl * VPIArray
数组的句柄。
VPIStatus vpiCreateCropScaler(uint64_t backends, int maxFrames, int maxObjects, VPIPayload *payload)
为 Crop Scale 算法创建负载实例。
VPIStatus vpiSubmitCropScalerBatch(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage *frameList, int32_t numFrames, VPIArray objects, int32_t patchWidth, int32_t patchHeight, VPIImage outPatches)
从输入帧中裁剪矩形区域,并将它们全部缩放到相同的尺寸。
struct VPIImageImpl * VPIImage
图像的句柄。
struct VPIPayloadImpl * VPIPayload
算法负载的句柄。
struct VPIStreamImpl * VPIStream
流的句柄。