preprocess.h 356 B

123456789101112131415
  1. #ifndef __PREPROCESS_H
  2. #define __PREPROCESS_H
  3. #include <cuda_runtime.h>
  4. #include <cstdint>
  5. struct AffineMatrix{
  6. float value[6];
  7. };
  8. void preprocess_kernel_img(uint8_t* src, int src_width, int src_height,
  9. float* dst, int dst_width, int dst_height,
  10. cudaStream_t stream);
  11. #endif // __PREPROCESS_H