History

astyle files

Karina committed 10 years ago

Commit 945fc0e1 parent 37e67eb3 files · +17 −13Browse files

Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 3 files). Show all

Unified · Split

codec/encoder/core/src/encoder.cpp+5−4
@@ -330,7 +330,8 @@ void InitFrameCoding (sWelsEncCtx* pEncCtx, const EVideoFrameType keFrameType, c · 329 unmodified lines
330330 #endif//FRAME_INFO_OUTPUT
331331 }
332332
333−EVideoFrameType DecideFrameType (sWelsEncCtx* pEncCtx, const int8_t kiSpatialNum, const int32_t kiDidx, bool bSkipFrameFlag) {
333+EVideoFrameType DecideFrameType (sWelsEncCtx* pEncCtx, const int8_t kiSpatialNum, const int32_t kiDidx,
334+ bool bSkipFrameFlag) {
334335 SWelsSvcCodingParam* pSvcParam = pEncCtx->pSvcParam;
335336 SSpatialLayerInternal* pParamInternal = &pEncCtx->pSvcParam->sDependencyLayers[kiDidx];
336337 EVideoFrameType iFrameType = videoFrameTypeInvalid;
@@ -401,15 +402,15 @@ EVideoFrameType DecideFrameType (sWelsEncCtx* pEncCtx, const int8_t kiSpatialNum · 64 unmodified lines
401402 */
402403
403404 extern "C" void DumpDependencyRec (SPicture* pCurPicture, const char* kpFileName, const int8_t kiDid, bool bAppend,
404− SDqLayer* pDqLayer,bool bSimulCastAVC) {
405+ SDqLayer* pDqLayer, bool bSimulCastAVC) {
405406 WelsFileHandle* pDumpRecFile = NULL;
406407 int32_t iWrittenSize = 0;
407408 const char* openMode = bAppend ? "ab" : "wb";
408409 SWelsSPS* pSpsTmp = NULL;
409− if(bSimulCastAVC ||(kiDid == BASE_DEPENDENCY_ID)) {
410+ if (bSimulCastAVC || (kiDid == BASE_DEPENDENCY_ID)) {
410411 pSpsTmp = pDqLayer->sLayerInfo.pSpsP;
411412 } else {
412− pSpsTmp = &(pDqLayer->sLayerInfo.pSubsetSpsP->pSps);
413+ pSpsTmp = & (pDqLayer->sLayerInfo.pSubsetSpsP->pSps);
413414 }
414415 bool bFrameCroppingFlag = pSpsTmp->bFrameCroppingFlag;
415416 SCropOffset* pFrameCrop = &pSpsTmp->sFrameCrop;

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