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
66 if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) {66 if (pCtx->iTotalNumMbRec == kiTotalNumMbInCurLayer) {
67 pCtx->bPrintFrameErrorTraceFlag = true;67 pCtx->bPrintFrameErrorTraceFlag = true;
68 WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO,68 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",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,70 kiWidth, kiHeight, pCtx->sFrameCrop.iLeftOffset, pCtx->sFrameCrop.iRightOffset, pCtx->sFrameCrop.iTopOffset,
71 pCtx->sFrameCrop.iBottomOffset, pCtx->iIgnoredErrorInfoPacketCount);71 pCtx->sFrameCrop.iBottomOffset, pCtx->iIgnoredErrorInfoPacketCount);
72 pCtx->iIgnoredErrorInfoPacketCount = 0;72 pCtx->iIgnoredErrorInfoPacketCount = 0;
73 }73 }
74 }74 }
@@ -80,8 +80,9 @@ static inline int32_t DecodeFrameConstruction (PWelsDecoderContext pCtx, uint8_t · 5 unmodified lines
80 bFrameCompleteFlag = false; //return later after output buffer is done80 bFrameCompleteFlag = false; //return later after output buffer is done
81 if (pCtx->bInstantDecFlag) //no-delay decoding, wait for new slice81 if (pCtx->bInstantDecFlag) //no-delay decoding, wait for new slice
82 return -1;82 return -1;
83 } else if (pCurDq->sLayerInfo.sNalHeaderExt.bIdrFlag && (pCtx->iErrorCode == dsErrorFree)) { //complete non-ECed IDR frame done83 } else if (pCurDq->sLayerInfo.sNalHeaderExt.bIdrFlag
84 pCtx->bDecErrorConedFlag = false;84 && (pCtx->iErrorCode == dsErrorFree)) { //complete non-ECed IDR frame done
85 pCtx->bDecErrorConedFlag = false;
85 }86 }
86 87
87 pCtx->iTotalNumMbRec = 0;88 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