History

Remove XMMREG_PROTECT

This isn't necessary any longer, when all the assembly routines take care of restoring registers as necessary.

Martin Storsjö committed 12 years ago

Commit 46336261 parent 3cf52559 files · +0 −109Browse files

Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 9 files). Show all

Unified · Split

codec/decoder/plus/src/welsDecoderExt.cpp+0−4
@@ -101,7 +101,6 @@ CWelsDecoder::CWelsDecoder (void) · 100 unmodified lines
101 m_pTrace = CreateWelsTrace (Wels_Trace_Type);101 m_pTrace = CreateWelsTrace (Wels_Trace_Type);
102 102
103 IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry");103 IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::CWelsDecoder() entry");
104 XMMREG_PROTECT_INIT(CWelsH264Decoder);
105 104
106#ifdef OUTPUT_BIT_STREAM105#ifdef OUTPUT_BIT_STREAM
107 SWelsTime sCurTime;106 SWelsTime sCurTime;
@@ -167,7 +166,6 @@ CWelsDecoder::~CWelsDecoder() { · 59 unmodified lines
167 IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::~CWelsDecoder()");166 IWelsTrace::WelsVTrace (m_pTrace, IWelsTrace::WELS_LOG_INFO, "CWelsDecoder::~CWelsDecoder()");
168 167
169 UninitDecoder();168 UninitDecoder();
170 XMMREG_PROTECT_UNINIT(CWelsH264Decoder);
171 169
172#ifdef OUTPUT_BIT_STREAM170#ifdef OUTPUT_BIT_STREAM
173 if (m_pFBS) {171 if (m_pFBS) {
@@ -361,10 +359,8 @@ DECODING_STATE CWelsDecoder::DecodeFrame2 (const unsigned char* kpSrc, · 187 unmodified lines
361 359
362 m_pDecContext->iFeedbackTidInAu = -1; //initialize360 m_pDecContext->iFeedbackTidInAu = -1; //initialize
363 361
364 XMMREG_PROTECT_STORE(CWelsH264Decoder);
365 WelsDecodeBs (m_pDecContext, kpSrc, kiSrcLen, (unsigned char**)ppDst,362 WelsDecodeBs (m_pDecContext, kpSrc, kiSrcLen, (unsigned char**)ppDst,
366 pDstInfo); //iErrorCode has been modified in this function363 pDstInfo); //iErrorCode has been modified in this function
367 XMMREG_PROTECT_LOAD(CWelsH264Decoder);
368 364
369 if (m_pDecContext->iErrorCode) {365 if (m_pDecContext->iErrorCode) {
370 ENalUnitType eNalType =366 ENalUnitType eNalType =

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t