Jetson Inference
DNN Vision Library
cudaColorspace.h File Reference
#include "cudaUtility.h"
#include "imageFormat.h"

Go to the source code of this file.

Functions

cudaError_t cudaConvertColor (void *input, imageFormat inputFormat, void *output, imageFormat outputFormat, size_t width, size_t height, const float2 &pixel_range=make_float2(0, 255))
 Convert between two image formats using the GPU. More...
 
template<typename T_in , typename T_out >
cudaError_t cudaConvertColor (T_in *input, T_out *output, size_t width, size_t height, const float2 &pixel_range=make_float2(0, 255))
 Convert between to image formats using the GPU. More...