shithub: openh264

Download patch

ref: c2b79fa51d75e4827e60fc930fe1bfc31f52e6b2
parent: 32d1510d296d0dd5189b5432bbc0edd83cfb49b9
author: Martin Storsjö <martin@martin.st>
date: Wed Jun 3 06:11:10 EDT 2015

Convert tabs to spaces within comments

--- a/codec/decoder/core/inc/bit_stream.h
+++ b/codec/decoder/core/inc/bit_stream.h
@@ -30,7 +30,7 @@
  *
  */
 
-//bit_stream.h	-	bit-stream reading and / writing auxiliary data
+//bit_stream.h  -       bit-stream reading and / writing auxiliary data
 #ifndef WELS_BIT_STREAM_H__
 #define WELS_BIT_STREAM_H__
 
--- a/codec/decoder/core/inc/nal_prefix.h
+++ b/codec/decoder/core/inc/nal_prefix.h
@@ -30,7 +30,7 @@
  *
  */
 
-//nal_prefix.h	-	definitions for NAL Unit Header(/Ext) and PrefixNALUnit
+//nal_prefix.h  -       definitions for NAL Unit Header(/Ext) and PrefixNALUnit
 #ifndef WELS_NAL_UNIT_PREFIX_H__
 #define WELS_NAL_UNIT_PREFIX_H__
 
--- a/codec/decoder/core/inc/nalu.h
+++ b/codec/decoder/core/inc/nalu.h
@@ -30,7 +30,7 @@
  *
  */
 
-//nalu.h:	NAL Unit definition
+//nalu.h:       NAL Unit definition
 #ifndef WELS_NAL_UNIT_H__
 #define WELS_NAL_UNIT_H__
 
--- a/codec/decoder/core/inc/picture.h
+++ b/codec/decoder/core/inc/picture.h
@@ -30,7 +30,7 @@
  *
  */
 
-//picture.h	-	reconstruction picture/ reference picture/ residual picture are declared here
+//picture.h     -       reconstruction picture/ reference picture/ residual picture are declared here
 #ifndef WELS_PICTURE_H__
 #define WELS_PICTURE_H__
 
--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -348,8 +348,8 @@
 
   //about iMultipleThreadIdc, bDeblockingParallelFlag, iLoopFilterDisableIdc, & uiSliceMode
   // (1) Single Thread
-  //	if (THREAD==1)//single thread
-  //		no parallel_deblocking: bDeblockingParallelFlag = 0;
+  //    if (THREAD==1)//single thread
+  //            no parallel_deblocking: bDeblockingParallelFlag = 0;
   // (2) Multi Thread: see uiSliceMode decision
   if (pCodingParam->iMultipleThreadIdc == 1) {
     //now is single thread. no parallel deblocking, set flag=0
--- a/codec/encoder/core/src/svc_enc_slice_segment.cpp
+++ b/codec/encoder/core/src/svc_enc_slice_segment.cpp
@@ -203,7 +203,7 @@
   } else if (iActualSliceCount < MAX_SLICES_NUM) {
     //where ( iCountMb < iMbNumInFrame )
     //can do correction:
-    //	make the last uiSliceMbNum the left num
+    //  make the last uiSliceMbNum the left num
     pSlicesAssignList[iActualSliceCount] = kiMbNumInFrame - iCountMb;
     iActualSliceCount += 1;
   } else {
@@ -426,7 +426,7 @@
 
     WelsSetMemMultiplebytes_c(pSliceSeg->pOverallMbMap, 0, kiCountMbNum, sizeof(uint16_t));
 
-    //SM_DYN_SLICE: init, set pSliceSeg->iSliceNumInFrame	= 1;
+    //SM_DYN_SLICE: init, set pSliceSeg->iSliceNumInFrame = 1;
     pSliceSeg->iSliceNumInFrame = GetInitialSliceNum (kiMbWidth, kiMbHeight, pMso);
 
     if (-1 == pSliceSeg->iSliceNumInFrame)
--- a/codec/encoder/core/src/wels_preprocess.cpp
+++ b/codec/encoder/core/src/wels_preprocess.cpp
@@ -368,8 +368,8 @@
 
   // generate other spacial layer
   // pSrc is
-  //	-- padded input pic, if downsample should be applied to generate highest layer, [if] block above
-  //	-- highest layer, if no downsampling, [else] block above
+  //    -- padded input pic, if downsample should be applied to generate highest layer, [if] block above
+  //    -- highest layer, if no downsampling, [else] block above
   if (pSvcParam->iSpatialLayerNum > 1) {
     while (iDependencyId >= 0) {
       pDlayerParamInternal = &pSvcParam->sDependencyLayers[iDependencyId];