History

Remove unnecessary tabs in the middle of lines

At 6ff4ef3b38 all the (stray, mixed) tabs had been cleaned out from the source code; remove newly added tabs and convert to spaces.

Martin Storsjö committed 11 years ago

Commit 282eda21 parent 41caf384 files · +19 −19Browse files

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

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+9−9
@@ -3670,16 +3670,16 @@ int32_t WriteSavcParaset_Listing (sWelsEncCtx* pCtx, const int32_t kiSpatialNum, · 3669 unmodified lines
36703670 void StackBackEncoderStatus (sWelsEncCtx* pEncCtx,
36713671 EVideoFrameType keFrameType) {
36723672 // for bitstream writing
3673− pEncCtx->iPosBsBuffer = 0; // reset bs pBuffer position
3674− pEncCtx->pOut->iNalIndex = 0; // reset NAL index
3673+ pEncCtx->iPosBsBuffer = 0; // reset bs pBuffer position
3674+ pEncCtx->pOut->iNalIndex = 0; // reset NAL index
36753675
36763676 InitBits (&pEncCtx->pOut->sBsWrite, pEncCtx->pOut->pBsBuffer, pEncCtx->pOut->uiSize);
36773677 if ((keFrameType == videoFrameTypeP) || (keFrameType == videoFrameTypeI)) {
36783678 pEncCtx->iFrameIndex --;
36793679 if (pEncCtx->iPOC != 0) {
3680− pEncCtx->iPOC -= 2;
3680+ pEncCtx->iPOC -= 2;
36813681 } else {
3682− pEncCtx->iPOC = (1 << pEncCtx->pSps->iLog2MaxPocLsb) - 2;
3682+ pEncCtx->iPOC = (1 << pEncCtx->pSps->iLog2MaxPocLsb) - 2;
36833683 }
36843684
36853685 if (pEncCtx->eLastNalPriority != 0) {
@@ -3690,15 +3690,15 @@ void StackBackEncoderStatus (sWelsEncCtx* pEncCtx, · 4 unmodified lines
36903690 }
36913691 }
36923692
3693− pEncCtx->eNalType = NAL_UNIT_CODED_SLICE;
3694− pEncCtx->eSliceType = P_SLICE;
3695− pEncCtx->eNalPriority = pEncCtx->eLastNalPriority;
3693+ pEncCtx->eNalType = NAL_UNIT_CODED_SLICE;
3694+ pEncCtx->eSliceType = P_SLICE;
3695+ pEncCtx->eNalPriority = pEncCtx->eLastNalPriority;
36963696 } else if (keFrameType == videoFrameTypeIDR) {
36973697 pEncCtx->uiIdrPicId --;
36983698
36993699 //set the next frame to be IDR
37003700 ForceCodingIDR (pEncCtx);
3701− } else { // B pictures are not supported now, any else?
3701+ } else { // B pictures are not supported now, any else?
37023702 assert (0);
37033703 }
37043704
@@ -3707,7 +3707,7 @@ void StackBackEncoderStatus (sWelsEncCtx* pEncCtx, · 2 unmodified lines
37073707 }
37083708
37093709 void ClearFrameBsInfo (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi) {
3710− pFbi->sLayerInfo[0].pBsBuf = pCtx->pFrameBs;
3710+ pFbi->sLayerInfo[0].pBsBuf = pCtx->pFrameBs;
37113711 pFbi->sLayerInfo[0].pNalLengthInByte = pCtx->pOut->pNalLen;
37123712
37133713 for (int i = 0; i < pFbi->iLayerNum; i++) {

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