Function nvcvImageGetFormat

Function Documentation

NVCVStatus nvcvImageGetFormat(NVCVImageHandle handle, NVCVImageFormat *fmt)

Get the image format.

Parameters:
  • handle[in] Image to be queried.

    • Must not be NULL.

  • format[out] Where the image format will be written to.

    • Must not be NULL.

Return values:
  • #VPI_ERROR_INVALID_ARGUMENT – Some parameter is outside its valid range.

  • #VPI_SUCCESS – Operation executed successfully.