Function cvcudaCvtColorSubmit
Defined in File OpCvtColor.h
Function Documentation
-
NVCVStatus cvcudaCvtColorSubmit(NVCVOperatorHandle handle, cudaStream_t stream, NVCVTensorHandle in, NVCVTensorHandle out, NVCVColorConversionCode code)
Executes the CvtColor (convert color) operation on the given cuda stream. This operation does not wait for completion.
- Parameters:
handle – [in] Handle to the operator.
Must not be NULL.
stream – [in] Handle to a valid CUDA stream.
in – [in] Input tensor.
out – [out] Output tensor.
code – [in] Color conversion code, NVCVColorConversionCode.
- Return values:
NVCV_ERROR_INVALID_ARGUMENT – Some parameter is outside valid range.
NVCV_ERROR_INTERNAL – Internal error in the operator, invalid types passed in.
NVCV_SUCCESS – Operation executed successfully.