Function cvcudaCvtColorCreate

Function Documentation

NVCVStatus cvcudaCvtColorCreate(NVCVOperatorHandle *handle)

Constructs an instance of the CvtColor (convert color operation).

Parameters:

handle[out] Where the operator instance handle will be written to.

  • Must not be NULL.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Handle is null.

  • NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the operator.

  • NVCV_SUCCESS – Operation executed successfully.