History

Add clean CAVLC B-Frame decoder support without whitespace change and general fix.

xiaotianshicomcast committed 7 years ago

Commit d8682891 parent 9a815399 files · +1057 −82Browse 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+2−3
@@ -471,7 +471,7 @@ long CWelsDecoder::GetOption (DECODER_OPTION eOptID, void* pOption) { · 470 unmodified lines
471471 * ((int*)pOption) = iVal;
472472 return cmResultSuccess;
473473 } else if (DECODER_OPTION_NUM_OF_FRAMES_REMAINING_IN_BUFFER == eOptID) {
474− if (m_pDecContext->pSps && m_pDecContext->pSps->uiProfileIdc != 66 && m_pDecContext->pPps->bEntropyCodingModeFlag) {
474+ if (m_pDecContext->pSps && m_pDecContext->pSps->uiProfileIdc != 66) {
475475 * ((int*)pOption) = m_iNumOfPicts > 0 ? m_iNumOfPicts : 0;
476476 } else {
477477 * ((int*)pOption) = 0;
@@ -743,8 +743,7 @@ void CWelsDecoder::OutputStatisticsLog (SDecoderStatistics& sDecoderStatistics) · 265 unmodified lines
743743 }
744744
745745 DECODING_STATE CWelsDecoder::ReorderPicturesInDisplay (unsigned char** ppDst, SBufferInfo* pDstInfo) {
746− if (pDstInfo->iBufferStatus == 1 && m_pDecContext->pSps->uiProfileIdc != 66
747− && m_pDecContext->pPps->bEntropyCodingModeFlag) {
746+ if (pDstInfo->iBufferStatus == 1 && m_pDecContext->pSps->uiProfileIdc != 66) {
748747 if (m_pDecContext->pSliceHeader->iPicOrderCntLsb == 0) {
749748 if (m_iNumOfPicts > 0) {
750749 m_iLastGOPRemainPicts = m_iNumOfPicts;

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