Files
ANSCORE/modules/ANSODEngine/CUDA/preprocess.h

11 lines
307 B
C
Raw Normal View History

2026-03-28 16:54:11 +11:00
#pragma once
#include <cuda_runtime.h>
#include <cstdint>
#include <opencv2/opencv.hpp>
void cuda_preprocess_init(int max_image_size);
void cuda_preprocess_destroy();
void cuda_preprocess(uint8_t* src, int src_width, int src_height,
float* dst, int dst_width, int dst_height,
cudaStream_t stream);