Showing the changes to codec/processing/src (2 of 8 files). Show all
Unified · Split
| @@ -44,20 +44,20 @@ · 43 unmodified lines | |||
| 44 | 44 | ||
| 45 | /* interface API implement */ | 45 | /* interface API implement */ |
| 46 | 46 | ||
| 47 | EResult CreateVpInterface (void** ppCtx, int iVersion) { | 47 | EResult WelsCreateVpInterface (void** ppCtx, int iVersion) { |
| 48 | if (iVersion & 0x8000) | 48 | if (iVersion & 0x8000) |
| 49 | return nsWelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx); | 49 | return WelsVP::CreateSpecificVpInterface ((IWelsVP**)ppCtx); |
| 50 | else if (iVersion & 0x7fff) | 50 | else if (iVersion & 0x7fff) |
| 51 | return nsWelsVP::CreateSpecificVpInterface ((IWelsVPc**)ppCtx); | 51 | return WelsVP::CreateSpecificVpInterface ((IWelsVPc**)ppCtx); |
| 52 | else | 52 | else |
| 53 | return RET_INVALIDPARAM; | 53 | return RET_INVALIDPARAM; |
| 54 | } | 54 | } |
| 55 | 55 | ||
| 56 | EResult DestroyVpInterface (void* pCtx, int iVersion) { | 56 | EResult WelsDestroyVpInterface (void* pCtx, int iVersion) { |
| 57 | if (iVersion & 0x8000) | 57 | if (iVersion & 0x8000) |
| 58 | return nsWelsVP::DestroySpecificVpInterface ((IWelsVP*)pCtx); | 58 | return WelsVP::DestroySpecificVpInterface ((IWelsVP*)pCtx); |
| 59 | else if (iVersion & 0x7fff) | 59 | else if (iVersion & 0x7fff) |
| 60 | return nsWelsVP::DestroySpecificVpInterface ((IWelsVPc*)pCtx); | 60 | return WelsVP::DestroySpecificVpInterface ((IWelsVPc*)pCtx); |
| 61 | else | 61 | else |
| 62 | return RET_INVALIDPARAM; | 62 | return RET_INVALIDPARAM; |
| 63 | } | 63 | } |
| @@ -47,7 +47,7 @@ · 46 unmodified lines | |||
| 47 | #define WELSVP_EXTERN_C_BEGIN extern "C" { | 47 | #define WELSVP_EXTERN_C_BEGIN extern "C" { |
| 48 | #define WELSVP_EXTERN_C_END } | 48 | #define WELSVP_EXTERN_C_END } |
| 49 | 49 | ||
| 50 | #define WELSVP_NAMESPACE_BEGIN namespace nsWelsVP { | 50 | #define WELSVP_NAMESPACE_BEGIN namespace WelsVP { |
| 51 | #define WELSVP_NAMESPACE_END } | 51 | #define WELSVP_NAMESPACE_END } |
| 52 | 52 | ||
| 53 | // Get the stdint type definitions from typedefs.h in the common lib | 53 | // Get the stdint type definitions from typedefs.h in the common lib |