History

re-structure SWelsDecoderContext and others and prepare for the support of multi-threading support.

xiaotiansf committed 7 years ago

Commit 2f5ecec1 parent 9ed97c729 files · +2285 −1568Browse files

Showing the changes to codec/decoder/core/src/pic_queue.cpp (1 of 29 files). Show all

Unified · Split

codec/decoder/core/src/pic_queue.cpp+4−0
@@ -168,6 +168,7 @@ PPicture PrefetchPic (PPicBuff pPicBuf) { · 167 unmodified lines
168 }168 }
169 if (pPic != NULL) {169 if (pPic != NULL) {
170 pPicBuf->iCurrentIdx = iPicIdx;170 pPicBuf->iCurrentIdx = iPicIdx;
171 pPic->iPicBuffIdx = iPicIdx;
171 return pPic;172 return pPic;
172 }173 }
173 for (iPicIdx = 0 ; iPicIdx <= pPicBuf->iCurrentIdx ; ++iPicIdx) {174 for (iPicIdx = 0 ; iPicIdx <= pPicBuf->iCurrentIdx ; ++iPicIdx) {
@@ -179,6 +180,9 @@ PPicture PrefetchPic (PPicBuff pPicBuf) { · 5 unmodified lines
179 }180 }
180 181
181 pPicBuf->iCurrentIdx = iPicIdx;182 pPicBuf->iCurrentIdx = iPicIdx;
183 if (pPic != NULL) {
184 pPic->iPicBuffIdx = iPicIdx;
185 }
182 return pPic;186 return pPic;
183}187}
184 188

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