History

astyle all cpp files

huili2 committed 12 years ago

Commit adb0fa41 parent 0dbdbfb14 files · +138 −121Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+6−5
@@ -66,9 +66,9 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 65 unmodified lines
6666 if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) {
6767 pCtx->bPrintFrameErrorTraceFlag = true;
6868 WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO,
69− "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d, ignored error packet:%d.\n",
70− kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset,
71− pCtx->sFrameCrop.iBottomOffset, pCtx->iIgnoredErrorInfoPacketCount);
69+ "DecodeFrameConstruction()::::output first frame of new sequence, %d x %d, crop_left:%d, crop_right:%d, crop_top:%d, crop_bottom:%d, ignored error packet:%d.\n",
70+ kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset,
71+ pCtx->sFrameCrop.iBottomOffset, pCtx->iIgnoredErrorInfoPacketCount);
7272 pCtx->iIgnoredErrorInfoPacketCount = 0;
7373 }
7474 }
@@ -80,8 +80,9 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 5 unmodified lines
8080 bFrameCompleteFlag = false; //return later after output buffer is done
8181 if (pCtx->bInstantDecFlag) //no-delay decoding, wait for new slice
8282 return -1;
83− } else if (pCurDq->sLayerInfo.sNalHeaderExt.bIdrFlag && (pCtx->iErrorCode == dsErrorFree)) { //complete non-ECed IDR frame done
84− pCtx->bDecErrorConedFlag = false;
83+ } else if (pCurDq->sLayerInfo.sNalHeaderExt.bIdrFlag
84+ && (pCtx->iErrorCode == dsErrorFree)) { //complete non-ECed IDR frame done
85+ pCtx->bDecErrorConedFlag = false;
8586 }
8687
8788 pCtx->iTotalNumMbRec = 0;

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