History

second commit for threaded decoding support: Add function WelsDecodeAndConstructSlice (and add associted functions) which combines decoding->reconstructing->deblocking in single MB loop so that it allows multile frames to decode MBs in parallel.

xiaotiansf committed 7 years ago

Commit fd42f041 parent 2f5ecec22 files · +924 −190Browse files

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

Unified · Split

codec/decoder/core/src/au_parser.cpp+3−2
@@ -608,7 +608,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 607 unmodified lines
608608 pCtx->iErrorCode |= dsBitstreamError;
609609 return iErr;
610610 }
611−
611+ pCtx->bHasNewSps = true;
612612 break;
613613
614614 case NAL_UNIT_PPS:
@@ -628,11 +628,12 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 13 unmodified lines
628628 pCtx->iErrorCode |= dsNoParamSets;
629629 else
630630 pCtx->iErrorCode |= dsBitstreamError;
631+ pCtx->bHasNewSps = false;
631632 return iErr;
632633 }
633634
634635 pCtx->sSpsPpsCtx.bPpsExistAheadFlag = true;
635−
636+ ++ (pCtx->sSpsPpsCtx.iSeqId);
636637 break;
637638
638639 case NAL_UNIT_SEI:

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