| 121 | } |
| 122 | |
| 123 | int32_t CWelsPreProcess::WelsPreprocessCreate() { |
| 124 | if (m_pInterfaceVp == NULL) { |
| 125 | WelsCreateVpInterface ((void**) &m_pInterfaceVp, WELSVP_INTERFACE_VERION); |
| 126 | if (!m_pInterfaceVp) |
| 127 | goto exit; |
| 128 | } else |
| 129 | goto exit; |
| 130 | |
| 131 | return 0; |
| 132 | |
| 133 | exit: |
| 134 | WelsPreprocessDestroy(); |
| 135 | return 1; |
| 136 | } |
| 137 | |
| 138 | int32_t CWelsPreProcess::WelsPreprocessDestroy() { |
| 139 | WelsDestroyVpInterface (m_pInterfaceVp, WELSVP_INTERFACE_VERION); |
nothing calls this directly
no test coverage detected