|
Jetson Inference
DNN Vision Library
|
Go to the documentation of this file.
23 #ifndef __CUDA_TENSOR_PREPROCESSING_H__
24 #define __CUDA_TENSOR_PREPROCESSING_H__
34 cudaError_t
cudaTensorMeanRGB(
void* input,
imageFormat format,
size_t inputWidth,
size_t inputHeight,
float* output,
size_t outputWidth,
size_t outputHeight,
const float3& mean_value, cudaStream_t stream );
35 cudaError_t
cudaTensorMeanBGR(
void* input,
imageFormat format,
size_t inputWidth,
size_t inputHeight,
float* output,
size_t outputWidth,
size_t outputHeight,
const float3& mean_value, cudaStream_t stream );
40 cudaError_t
cudaTensorNormRGB(
void* input,
imageFormat format,
size_t inputWidth,
size_t inputHeight,
float* output,
size_t outputWidth,
size_t outputHeight,
const float2& range, cudaStream_t stream );
41 cudaError_t
cudaTensorNormBGR(
void* input,
imageFormat format,
size_t inputWidth,
size_t inputHeight,
float* output,
size_t outputWidth,
size_t outputHeight,
const float2& range, cudaStream_t stream );
46 cudaError_t
cudaTensorNormMeanRGB(
void* input,
imageFormat format,
size_t inputWidth,
size_t inputHeight,
float* output,
size_t outputWidth,
size_t outputHeight,
const float2& range,
const float3& mean,
const float3& stdDev, cudaStream_t stream,
size_t channelStride=0 );
47 cudaError_t
cudaTensorNormMeanBGR(
void* input,
imageFormat format,
size_t inputWidth,
size_t inputHeight,
float* output,
size_t outputWidth,
size_t outputHeight,
const float2& range,
const float3& mean,
const float3& stdDev, cudaStream_t stream,
size_t channelStride=0 );
cudaError_t cudaTensorNormMeanRGB(void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, const float3 &mean, const float3 &stdDev, cudaStream_t stream, size_t channelStride=0)
cudaError_t cudaTensorNormRGB(void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, cudaStream_t stream)
cudaError_t cudaTensorNormMeanBGR(void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, const float3 &mean, const float3 &stdDev, cudaStream_t stream, size_t channelStride=0)
cudaError_t cudaTensorMeanBGR(void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float3 &mean_value, cudaStream_t stream)
cudaError_t cudaTensorNormBGR(void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float2 &range, cudaStream_t stream)
cudaError_t cudaTensorMeanRGB(void *input, imageFormat format, size_t inputWidth, size_t inputHeight, float *output, size_t outputWidth, size_t outputHeight, const float3 &mean_value, cudaStream_t stream)