Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 67 files). Show all
Unified · Split
| @@ -78,13 +78,13 @@ namespace WelsDec { · 77 unmodified lines | |||
| 78 | ////////////////////////////////////////////////////////////////////// | 78 | ////////////////////////////////////////////////////////////////////// |
| 79 | 79 | ||
| 80 | /*************************************************************************** | 80 | /*************************************************************************** |
| 81 | * Description: | 81 | * Description: |
| 82 | * class CWelsDecoder constructor function, do initialization and | 82 | * class CWelsDecoder constructor function, do initialization and |
| 83 | * alloc memory required | 83 | * alloc memory required |
| 84 | * | 84 | * |
| 85 | * Input parameters: none | 85 | * Input parameters: none |
| 86 | * | 86 | * |
| 87 | * return: none | 87 | * return: none |
| 88 | ***************************************************************************/ | 88 | ***************************************************************************/ |
| 89 | CWelsDecoder::CWelsDecoder (void) | 89 | CWelsDecoder::CWelsDecoder (void) |
| 90 | : m_pDecContext (NULL), | 90 | : m_pDecContext (NULL), |
| @@ -155,12 +155,12 @@ CWelsDecoder::CWelsDecoder (void) · 64 unmodified lines | |||
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | /*************************************************************************** | 157 | /*************************************************************************** |
| 158 | * Description: | 158 | * Description: |
| 159 | * class CWelsDecoder destructor function, destroy allocced memory | 159 | * class CWelsDecoder destructor function, destroy allocced memory |
| 160 | * | 160 | * |
| 161 | * Input parameters: none | 161 | * Input parameters: none |
| 162 | * | 162 | * |
| 163 | * return: none | 163 | * return: none |
| 164 | ***************************************************************************/ | 164 | ***************************************************************************/ |
| 165 | CWelsDecoder::~CWelsDecoder() { | 165 | CWelsDecoder::~CWelsDecoder() { |
| 166 | if (m_pWelsTrace != NULL) { | 166 | if (m_pWelsTrace != NULL) { |
| @@ -327,7 +327,7 @@ long CWelsDecoder::SetOption (DECODER_OPTION eOptID, void* pOption) { · 160 unmodified lines | |||
| 327 | } | 327 | } |
| 328 | 328 | ||
| 329 | /* | 329 | /* |
| 330 | * Get Option | 330 | * Get Option |
| 331 | */ | 331 | */ |
| 332 | long CWelsDecoder::GetOption (DECODER_OPTION eOptID, void* pOption) { | 332 | long CWelsDecoder::GetOption (DECODER_OPTION eOptID, void* pOption) { |
| 333 | int iVal = 0; | 333 | int iVal = 0; |
| @@ -669,8 +669,8 @@ int WelsGetDecoderCapability (SDecoderCapability* pDecCapability) { · 335 unmodified lines | |||
| 669 | /* WINAPI is indeed in prefix due to sync to application layer callings!! */ | 669 | /* WINAPI is indeed in prefix due to sync to application layer callings!! */ |
| 670 | 670 | ||
| 671 | /* | 671 | /* |
| 672 | * WelsCreateDecoder | 672 | * WelsCreateDecoder |
| 673 | * @return: success in return 0, otherwise failed. | 673 | * @return: success in return 0, otherwise failed. |
| 674 | */ | 674 | */ |
| 675 | long WelsCreateDecoder (ISVCDecoder** ppDecoder) { | 675 | long WelsCreateDecoder (ISVCDecoder** ppDecoder) { |
| 676 | 676 | ||
| @@ -688,7 +688,7 @@ long WelsCreateDecoder (ISVCDecoder** ppDecoder) { · 11 unmodified lines | |||
| 688 | } | 688 | } |
| 689 | 689 | ||
| 690 | /* | 690 | /* |
| 691 | * WelsDestroyDecoder | 691 | * WelsDestroyDecoder |
| 692 | */ | 692 | */ |
| 693 | void WelsDestroyDecoder (ISVCDecoder* pDecoder) { | 693 | void WelsDestroyDecoder (ISVCDecoder* pDecoder) { |
| 694 | if (NULL != pDecoder) { | 694 | if (NULL != pDecoder) { |