Merge pull request #103 from mstorsjo/remove-commented-out-pragmas

Remove commented out pragmas
This commit is contained in:
Ethan Hugg 2014-01-06 08:37:33 -08:00
commit 9cf180dda6
20 changed files with 0 additions and 55 deletions

View File

@ -53,8 +53,6 @@ int32_t iLeftBits; // count number of available bits left ([1, 8]),
// need pointer to next byte start position in case 0 bit left then 8 instead
} SBitStringAux, *PBitStringAux;
//#pragma pack()
/*!
* \brief input bits for decoder or initialize bitstream writing in encoder
*

View File

@ -43,8 +43,6 @@
#include "decoder_context.h"
//#pragma pack(1)
namespace WelsDec {
/*!
@ -126,7 +124,5 @@ void DeblockChromaLt4H_sse2 (uint8_t* pPixCb, uint8_t* pPixCr, int32_t iStride,
} // namespace WelsDec
//#pragma pack()
#endif //WELS_DEBLOCKING_H__

View File

@ -72,8 +72,6 @@ typedef struct TagDataBuffer {
//extern "C" {
//#endif//__cplusplus
//#pragma pack(1)
/*
* Need move below structures to function pointer to seperate module/file later
*/
@ -336,8 +334,6 @@ typedef struct TagWelsDecoderContext {
} SWelsDecoderContext, *PWelsDecoderContext;
//#pragma pack()
//#ifdef __cplusplus
//}
//#endif//__cplusplus

View File

@ -43,8 +43,6 @@
#include "typedefs.h"
//#pragma pack(1)
namespace WelsDec {
void_t WelsI4x4LumaPredV_c (uint8_t* pPred, const int32_t kiStride);
@ -114,8 +112,6 @@ void_t WelsDecoderI4x4LumaPredVL_mmx (uint8_t* pPred, const int32_t kiStride);
} // namespace WelsDec
//#pragma pack()
#endif //WELS_GET_INTRA_PREDICTOR_H__

View File

@ -38,8 +38,6 @@
namespace WelsDec {
//#pragma pack(1)
#define REF_NOT_AVAIL -2
#define REF_NOT_IN_LIST -1 //intra

View File

@ -40,8 +40,6 @@
namespace WelsDec {
//#pragma pack(1)
///////////////////////////////////NAL Unit prefix/headers///////////////////////////////////
/* NAL Unix Header in AVC, refer to Page 56 in JVT X201wcm */
@ -82,8 +80,6 @@ typedef struct TagPrefixNalUnit {
bool_t bPrefixNalUnitExtFlag;
} SPrefixNalUnit, *PPrefixNalUnit;
//#pragma pack()
} // namespace WelsDec
#endif//WELS_NAL_UNIT_PREFIX_H__

View File

@ -39,8 +39,6 @@
namespace WelsDec {
//#pragma pack(1)
/* Sequence Parameter Set, refer to Page 57 in JVT X201wcm */
typedef struct TagSps {
int32_t iSpsId;
@ -166,8 +164,6 @@ uint8_t uiWeightedBipredIdc;
} SPps, *PPps;
//#pragma pack()
} // namespace WelsDec
#endif //WELS_PARAMETER_SETS_H__

View File

@ -211,7 +211,5 @@ int32_t ParseIntra16x16ModeConstrain1 (PNeighAvail pNeighAvail, PBitStringAux pB
int32_t ParseInterInfo (PWelsDecoderContext pCtx, int16_t iMvArray[LIST_A][30][MV_A], int8_t iRefIdxArray[LIST_A][30],
PBitStringAux pBs);
//#pragma pack()
} // namespace WelsDec
#endif//WELS_PARSE_MB_SYN_CAVLC_H__

View File

@ -37,8 +37,6 @@
#include "picture.h"
//#pragma pack(1)
namespace WelsDec {
#define PICTURE_RESOLUTION_ALIGNMENT 32
@ -58,6 +56,4 @@ PPicture PrefetchPic (PPicBuff pPicBuff); // To get current node applicable
} // namespace WelsDec
//#pragma pack()
#endif//WELS_PICTURE_QUEUE_H__

View File

@ -36,8 +36,6 @@
#include "typedefs.h"
//#pragma pack(1)
namespace WelsDec {
/*
@ -82,6 +80,4 @@ int32_t iPpsId;
} // namespace WelsDec
//#pragma pack()
#endif//WELS_PICTURE_H__

View File

@ -47,8 +47,6 @@
#include "decoder_context.h"
//#pragma pack(1)
namespace WelsDec {
void_t WelsFillRecNeededMbInfo (PWelsDecoderContext pCtx, bool_t bOutput, PDqLayer pCurLayer);
@ -70,7 +68,5 @@ void_t FillBufForMc (uint8_t* pBuf, int32_t iBufStride, uint8_t* pSrc, int32_t i
} // namespace WelsDec
//#pragma pack()
#endif //WELS_REC_MB_H__

View File

@ -40,8 +40,6 @@
#include "picture.h"
#include "parameter_sets.h"
//#pragma pack(1)
namespace WelsDec {
/*
@ -203,5 +201,4 @@ typedef struct TagSlice {
} // namespace WelsDec
//#pragma pack()
#endif//WELS_SLICE_H__

View File

@ -45,8 +45,6 @@
namespace WelsSVCEnc {
//#pragma pack()
/*!
* \brief initialize source picture body
* \param kpSrc SSourcePicture*

View File

@ -122,7 +122,6 @@ void WelsI4x4LumaPredHU_mmx (uint8_t* pPred, uint8_t* pRef, const int32_t kiStri
void WelsInitFillingPredFuncs (const uint32_t kuiCpuFlag);
void WelsInitIntraPredFuncs (SWelsFuncPtrList* pFuncList, const uint32_t kuiCpuFlag);
//#pragma pack()
}
#endif //GET_INTRA_PREDICTOR_H

View File

@ -40,7 +40,6 @@
#include "macros.h"
namespace WelsSVCEnc {
//#pragma pack(1)
/*
* MB Cache information, such one cache should be defined within a slice

View File

@ -38,7 +38,6 @@
#include "wels_common_basis.h"
namespace WelsSVCEnc {
//#pragma pack(1)
/* Sequence Parameter Set, refer to Page 57 in JVT X201wcm */
typedef struct TagWelsSPS {
@ -159,7 +158,6 @@ bool_t bDeblockingFilterControlPresentFlag;
} SWelsPPS, *PWelsPPPS;
//#pragma pack()
}
#endif //WELS_PARAMETER_SETS_H__

View File

@ -37,7 +37,6 @@
#include "typedefs.h"
#include "as264_common.h"
#include "wels_common_basis.h"
//#pragma pack(1)
namespace WelsSVCEnc {
@ -91,8 +90,6 @@ typedef struct TagPicture {
// int32_t planes; // planes of YUV
//}Rs_Picture_t;
//#pragma pack()
} // end of namespace WelsSVCEnc {
#endif//WELS_PICTURE_H__

View File

@ -45,7 +45,6 @@
#include "bit_stream.h"
namespace WelsSVCEnc {
//#pragma pack(1)
@ -97,5 +96,4 @@ int32_t CavlcParamCal_sse2 (int16_t* pCoffLevel, uint8_t* pRun, int16_t* pLevel,
#endif//__cplusplus
}
//#pragma pack()
#endif

View File

@ -179,5 +179,4 @@ typedef struct TagSlice {
} SSlice, *PSlice;
}
//#pragma pack()
#endif//WELS_SLICE_H__

View File

@ -49,7 +49,6 @@
#include "set_mb_syn_cavlc.h"
namespace WelsSVCEnc {
//#pragma pack(1)
void WelsWriteMbResidual (SMbCache* sMbCacheInfo, SMB* pCurMb, SBitStringAux* pBs);
@ -61,6 +60,5 @@ void WelsSpatialWriteMbPred (sWelsEncCtx* pEncCtx, SSlice* pSlice, SMB* pCurMb);
//for Base Layer CAVLC writing
void WelsSpatialWriteMbSyn (sWelsEncCtx* pEncCtx, SSlice* pSlice, SMB* pCurMb);
//#pragma pack()
}
#endif