Updated on 2022-03-13 GMT+08:00

DestroyDvppApi

Syntax

int DestroyDvppApi(IDVPPAPI*& pIDVPPAPI)

Function

Destroys the DVPP API instance created by calling CreateDvppApi and closes the DVPP executor.

Input

IDVPPAPI pointer reference

Output

None

Return Value

  • 0: success
  • –1: failure

Instructions

None

Restriction

To continue to invoke DVPP after DestroyDvppApi is called, call CreateDvppApi to create a DVPP API instance.

Calling Example

DestroyDvppApi(pidvppapi);