|
Jetson Inference
DNN Vision Library
|
Go to the documentation of this file.
23 #ifndef __CUDA_YUV_CONVERT_H
24 #define __CUDA_YUV_CONVERT_H
41 cudaError_t
cudaI420ToRGB(
void* input, uchar3* output,
size_t width,
size_t height);
46 cudaError_t
cudaI420ToRGB(
void* input, float3* output,
size_t width,
size_t height);
51 cudaError_t
cudaI420ToRGBA(
void* input, uchar4* output,
size_t width,
size_t height);
56 cudaError_t
cudaI420ToRGBA(
void* input, float4* output,
size_t width,
size_t height);
72 cudaError_t
cudaYV12ToRGB(
void* input, uchar3* output,
size_t width,
size_t height);
77 cudaError_t
cudaYV12ToRGB(
void* input, float3* output,
size_t width,
size_t height);
82 cudaError_t
cudaYV12ToRGBA(
void* input, uchar4* output,
size_t width,
size_t height);
87 cudaError_t
cudaYV12ToRGBA(
void* input, float4* output,
size_t width,
size_t height);
103 cudaError_t
cudaRGBToI420( uchar3* input,
void* output,
size_t width,
size_t height );
108 cudaError_t
cudaRGBToI420( float3* input,
void* output,
size_t width,
size_t height );
113 cudaError_t
cudaRGBAToI420( uchar4* input,
void* output,
size_t width,
size_t height );
118 cudaError_t
cudaRGBAToI420( float4* input,
void* output,
size_t width,
size_t height );
134 cudaError_t
cudaRGBToYV12( uchar3* input,
void* output,
size_t width,
size_t height );
139 cudaError_t
cudaRGBToYV12( float3* input,
void* output,
size_t width,
size_t height );
144 cudaError_t
cudaRGBAToYV12( uchar4* input,
void* output,
size_t width,
size_t height );
149 cudaError_t
cudaRGBAToYV12( float4* input,
void* output,
size_t width,
size_t height );
165 cudaError_t
cudaYUYVToRGB(
void* input, uchar3* output,
size_t width,
size_t height );
170 cudaError_t
cudaYUYVToRGB(
void* input, float3* output,
size_t width,
size_t height );
175 cudaError_t
cudaYUYVToRGBA(
void* input, uchar4* output,
size_t width,
size_t height );
180 cudaError_t
cudaYUYVToRGBA(
void* input, float4* output,
size_t width,
size_t height );
196 cudaError_t
cudaYVYUToRGB(
void* input, uchar3* output,
size_t width,
size_t height );
201 cudaError_t
cudaYVYUToRGB(
void* input, float3* output,
size_t width,
size_t height );
206 cudaError_t
cudaYVYUToRGBA(
void* input, uchar4* output,
size_t width,
size_t height );
211 cudaError_t
cudaYVYUToRGBA(
void* input, float4* output,
size_t width,
size_t height );
227 cudaError_t
cudaUYVYToRGB(
void* input, uchar3* output,
size_t width,
size_t height );
232 cudaError_t
cudaUYVYToRGB(
void* input, float3* output,
size_t width,
size_t height );
237 cudaError_t
cudaUYVYToRGBA(
void* input, uchar4* output,
size_t width,
size_t height );
242 cudaError_t
cudaUYVYToRGBA(
void* input, float4* output,
size_t width,
size_t height );
259 cudaError_t
cudaNV12ToRGB(
void* input, uchar3* output,
size_t width,
size_t height );
265 cudaError_t
cudaNV12ToRGB(
void* input, float3* output,
size_t width,
size_t height );
271 cudaError_t
cudaNV12ToRGBA(
void* input, uchar4* output,
size_t width,
size_t height );
277 cudaError_t
cudaNV12ToRGBA(
void* input, float4* output,
size_t width,
size_t height );
cudaError_t cudaUYVYToRGBA(void *input, uchar4 *output, size_t width, size_t height)
Convert a UYVY 422 packed image into RGBA uchar4.
cudaError_t cudaRGBAToYV12(uchar4 *input, void *output, size_t width, size_t height)
Convert an RGBA uchar4 buffer into YUV YV12 planar.
cudaError_t cudaRGBToYV12(uchar3 *input, void *output, size_t width, size_t height)
Convert an RGB uchar3 buffer into YUV YV12 planar.
cudaError_t cudaNV12ToRGB(void *input, uchar3 *output, size_t width, size_t height)
Convert an NV12 texture (semi-planar 4:2:0) to RGB uchar3 format.
cudaError_t cudaNV12ToRGBA(void *input, uchar4 *output, size_t width, size_t height)
Convert an NV12 texture (semi-planar 4:2:0) to RGBA uchar4 format.
cudaError_t cudaYUYVToRGB(void *input, uchar3 *output, size_t width, size_t height)
Convert a YUYV 422 packed image into RGB uchar3.
cudaError_t cudaYVYUToRGB(void *input, uchar3 *output, size_t width, size_t height)
Convert a YVYU 422 packed image into RGB uchar3.
cudaError_t cudaUYVYToRGB(void *input, uchar3 *output, size_t width, size_t height)
Convert a UYVY 422 packed image into RGB uchar3.
cudaError_t cudaRGBToI420(uchar3 *input, void *output, size_t width, size_t height)
Convert an RGB uchar3 buffer into YUV I420 planar.
cudaError_t cudaYUYVToRGBA(void *input, uchar4 *output, size_t width, size_t height)
Convert a YUYV 422 packed image into RGBA uchar4.
cudaError_t cudaYVYUToRGBA(void *input, uchar4 *output, size_t width, size_t height)
Convert a YVYU 422 packed image into RGBA uchar4.
cudaError_t cudaYV12ToRGB(void *input, uchar3 *output, size_t width, size_t height)
Convert a YUV YV12 planar image to RGB uchar3.
cudaError_t cudaYV12ToRGBA(void *input, uchar4 *output, size_t width, size_t height)
Convert a YUV YV12 planar image to RGBA uchar4.
cudaError_t cudaRGBAToI420(uchar4 *input, void *output, size_t width, size_t height)
Convert an RGBA uchar4 buffer into YUV I420 planar.
cudaError_t cudaI420ToRGBA(void *input, uchar4 *output, size_t width, size_t height)
Convert a YUV I420 planar image to RGBA uchar4.
cudaError_t cudaI420ToRGB(void *input, uchar3 *output, size_t width, size_t height)
Convert a YUV I420 planar image to RGB uchar3.