Showing the changes to codec/decoder/plus/src (1 of 2 files). Show all
Unified · Split
| @@ -99,7 +99,7 @@ CWelsDecoder::CWelsDecoder (void_t) · 98 unmodified lines | |||
| 99 | m_pTrace = CreateWelsTrace (Wels_Trace_Type); | 99 | m_pTrace = CreateWelsTrace (Wels_Trace_Type); |
| 100 | 100 | ||
| 101 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry"); | 101 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry"); |
| 102 | 102 | XMMREG_PROTECT_INIT(CWelsH264Decoder); | |
| 103 | 103 | ||
| 104 | #ifdef OUTPUT_BIT_STREAM | 104 | #ifdef OUTPUT_BIT_STREAM |
| 105 | SWelsTime sCurTime; | 105 | SWelsTime sCurTime; |
| @@ -151,6 +151,7 @@ CWelsDecoder::~CWelsDecoder() { · 45 unmodified lines | |||
| 151 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::~CWelsDecoder()"); | 151 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::~CWelsDecoder()"); |
| 152 | 152 | ||
| 153 | UninitDecoder(); | 153 | UninitDecoder(); |
| 154 | XMMREG_PROTECT_UNINIT(CWelsH264Decoder); | ||
| 154 | 155 | ||
| 155 | #ifdef OUTPUT_BIT_STREAM | 156 | #ifdef OUTPUT_BIT_STREAM |
| 156 | if (m_pFBS) { | 157 | if (m_pFBS) { |
| @@ -384,8 +385,10 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 227 unmodified lines | |||
| 384 | 385 | ||
| 385 | m_pDecContext->iFeedbackTidInAu = -1; //initialize | 386 | m_pDecContext->iFeedbackTidInAu = -1; //initialize |
| 386 | 387 | ||
| 388 | XMMREG_PROTECT_STORE(CWelsH264Decoder); | ||
| 387 | WelsDecodeBs (m_pDecContext, kpSrc, kiSrcLen, (unsigned char**)ppDst, | 389 | WelsDecodeBs (m_pDecContext, kpSrc, kiSrcLen, (unsigned char**)ppDst, |
| 388 | pDstInfo); //iErrorCode has been modified in this function | 390 | pDstInfo); //iErrorCode has been modified in this function |
| 391 | XMMREG_PROTECT_LOAD(CWelsH264Decoder); | ||
| 389 | 392 | ||
| 390 | pDstInfo->eWorkMode = (EDecodeMode)m_pDecContext->iDecoderMode; | 393 | pDstInfo->eWorkMode = (EDecodeMode)m_pDecContext->iDecoderMode; |
| 391 | 394 | ||