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.cpp (1 of 14 files). Show all

Unified · Split

codec/decoder/core/src/decoder.cpp+5−3
@@ -341,7 +341,7 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 340 unmodified lines
341 pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT;341 pCtx->eVideoType = VIDEO_BITSTREAM_DEFAULT;
342 }342 }
343 343
344 WelsLog (&(pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);344 WelsLog (& (pCtx->sLogCtx), WELS_LOG_INFO, "eVideoType: %d\n", pCtx->eVideoType);
345 345
346 return 0;346 return 0;
347}347}
@@ -605,14 +605,16 @@ int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWi · 257 unmodified lines
605 605
606 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used606 iErr = WelsRequestMem (pCtx, kiMbWidth, kiMbHeight); // common memory used
607 if (ERR_NONE != iErr) {607 if (ERR_NONE != iErr) {
608 WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.\n");608 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
609 "SyncPictureResolutionExt()::WelsRequestMem--buffer allocated failure.\n");
609 pCtx->iErrorCode = dsOutOfMemory;610 pCtx->iErrorCode = dsOutOfMemory;
610 return iErr;611 return iErr;
611 }612 }
612 613
613 iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight);614 iErr = InitialDqLayersContext (pCtx, kiPicWidth, kiPicHeight);
614 if (ERR_NONE != iErr) {615 if (ERR_NONE != iErr) {
615 WelsLog (&(pCtx->sLogCtx), WELS_LOG_WARNING, "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.\n");616 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
617 "SyncPictureResolutionExt()::InitialDqLayersContext--buffer allocated failure.\n");
616 pCtx->iErrorCode = dsOutOfMemory;618 pCtx->iErrorCode = dsOutOfMemory;
617 }619 }
618 620

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