#ifndef OPENPOSE_NET_RESIZE_AND_MERGE_BASE_HPP #define OPENPOSE_NET_RESIZE_AND_MERGE_BASE_HPP #include namespace op { template void resizeAndMergeCpu( T* targetPtr, const std::vector& sourcePtrs, const std::array& targetSize, const std::vector>& sourceSizes, const std::vector& scaleInputToNetInputs = {1.f}); // Windows: Cuda functions do not include OP_API template void resizeAndMergeGpu( T* targetPtr, const std::vector& sourcePtrs, const std::array& targetSize, const std::vector>& sourceSizes, const std::vector& scaleInputToNetInputs = {1.f}); // Windows: OpenCL functions do not include OP_API template void resizeAndMergeOcl( T* targetPtr, const std::vector& sourcePtrs, std::vector& sourceTempPtrs, const std::array& targetSize, const std::vector>& sourceSizes, const std::vector& scaleInputToNetInputs = {1.f}, const int gpuID = 0); // Functions for cvMatToOpInput/cvMatToOpOutput template void resizeAndPadRbgGpu( T* targetPtr, const T* const srcPtr, const int sourceWidth, const int sourceHeight, const int targetWidth, const int targetHeight, const T scaleFactor); template void resizeAndPadRbgGpu( T* targetPtr, const unsigned char* const srcPtr, const int sourceWidth, const int sourceHeight, const int targetWidth, const int targetHeight, const T scaleFactor); } #endif // OPENPOSE_NET_RESIZE_AND_MERGE_BASE_HPP