This isn't necessary any longer, when all the assembly routines take care of restoring registers as necessary.
Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 9 files). Show all
Unified · Split
| @@ -101,7 +101,6 @@ CWelsDecoder::CWelsDecoder (void) · 100 unmodified lines | ||
| 101 | 101 | m_pTrace = CreateWelsTrace (Wels_Trace_Type); |
| 102 | 102 | |
| 103 | 103 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry"); |
| 104 | − XMMREG_PROTECT_INIT(CWelsH264Decoder); | |
| 105 | 104 | |
| 106 | 105 | #ifdef OUTPUT_BIT_STREAM |
| 107 | 106 | SWelsTime sCurTime; |
| @@ -167,7 +166,6 @@ CWelsDecoder::~CWelsDecoder() { · 59 unmodified lines | ||
| 167 | 166 | IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::~CWelsDecoder()"); |
| 168 | 167 | |
| 169 | 168 | UninitDecoder(); |
| 170 | − XMMREG_PROTECT_UNINIT(CWelsH264Decoder); | |
| 171 | 169 | |
| 172 | 170 | #ifdef OUTPUT_BIT_STREAM |
| 173 | 171 | if (m_pFBS) { |
| @@ -361,10 +359,8 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 187 unmodified lines | ||
| 361 | 359 | |
| 362 | 360 | m_pDecContext->iFeedbackTidInAu = -1; //initialize |
| 363 | 361 | |
| 364 | − XMMREG_PROTECT_STORE(CWelsH264Decoder); | |
| 365 | 362 | WelsDecodeBs (m_pDecContext, kpSrc, kiSrcLen, (unsigned char**)ppDst, |
| 366 | 363 | pDstInfo); //iErrorCode has been modified in this function |
| 367 | − XMMREG_PROTECT_LOAD(CWelsH264Decoder); | |
| 368 | 364 | |
| 369 | 365 | if (m_pDecContext->iErrorCode) { |
| 370 | 366 | ENalUnitType eNalType = |