astyle all files
This commit is contained in:
@@ -41,48 +41,48 @@ namespace WelsSVCEnc {
|
||||
|
||||
/* Sequence Parameter Set, refer to Page 57 in JVT X201wcm */
|
||||
typedef struct TagWelsSPS {
|
||||
uint32_t uiSpsId;
|
||||
int16_t iMbWidth;
|
||||
int16_t iMbHeight;
|
||||
uint32_t uiLog2MaxFrameNum;
|
||||
uint32_t uiSpsId;
|
||||
int16_t iMbWidth;
|
||||
int16_t iMbHeight;
|
||||
uint32_t uiLog2MaxFrameNum;
|
||||
// uint32_t uiPocType;
|
||||
/* POC type 0 */
|
||||
int32_t iLog2MaxPocLsb;
|
||||
/* POC type 1 */
|
||||
/* POC type 0 */
|
||||
int32_t iLog2MaxPocLsb;
|
||||
/* POC type 1 */
|
||||
// int32_t iOffsetForNonRefPic;
|
||||
|
||||
// int32_t iOffsetForTopToBottomField;
|
||||
// int32_t iNumRefFramesInPocCycle;
|
||||
// int8_t iOffsetForRefFrame[256];
|
||||
SCropOffset sFrameCrop;
|
||||
int16_t iNumRefFrames;
|
||||
SCropOffset sFrameCrop;
|
||||
int16_t iNumRefFrames;
|
||||
// uint32_t uiNumUnitsInTick;
|
||||
// uint32_t uiTimeScale;
|
||||
|
||||
uint8_t uiProfileIdc;
|
||||
uint8_t iLevelIdc;
|
||||
uint8_t uiProfileIdc;
|
||||
uint8_t iLevelIdc;
|
||||
// uint8_t uiChromaFormatIdc;
|
||||
// uint8_t uiChromaArrayType; //support =1
|
||||
|
||||
// uint8_t uiBitDepthLuma; //=8, only used in decoder, encoder in general_***; it can be removed when removed general up_sample
|
||||
// uint8_t uiBitDepthChroma; //=8
|
||||
/* TO BE CONTINUE: POC type 1 */
|
||||
/* TO BE CONTINUE: POC type 1 */
|
||||
// bool bDeltaPicOrderAlwaysZeroFlag;
|
||||
// bool bGapsInFrameNumValueAllowedFlag; //=true
|
||||
|
||||
// bool bFrameMbsOnlyFlag;
|
||||
// bool bMbaffFlag; // MB Adapative Frame Field
|
||||
// bool bDirect8x8InferenceFlag;
|
||||
bool bFrameCroppingFlag;
|
||||
bool bFrameCroppingFlag;
|
||||
|
||||
// bool bVuiParamPresentFlag;
|
||||
// bool bTimingInfoPresentFlag;
|
||||
// bool bFixedFrameRateFlag;
|
||||
|
||||
bool bConstraintSet0Flag;
|
||||
bool bConstraintSet1Flag;
|
||||
bool bConstraintSet2Flag;
|
||||
bool bConstraintSet3Flag;
|
||||
bool bConstraintSet0Flag;
|
||||
bool bConstraintSet1Flag;
|
||||
bool bConstraintSet2Flag;
|
||||
bool bConstraintSet3Flag;
|
||||
// bool bSeparateColorPlaneFlag; // =false,: only used in decoder, encoder in general_***; it can be removed when removed general up_sample
|
||||
|
||||
} SWelsSPS, *PWelsSPS;
|
||||
@@ -92,21 +92,21 @@ bool bConstraintSet3Flag;
|
||||
typedef struct TagSpsSvcExt {
|
||||
// SCropOffset sSeqScaledRefLayer;
|
||||
|
||||
uint8_t iExtendedSpatialScalability; // ESS
|
||||
uint8_t iExtendedSpatialScalability; // ESS
|
||||
// uint8_t uiChromaPhaseXPlus1Flag;
|
||||
// uint8_t uiChromaPhaseYPlus1;
|
||||
// uint8_t uiSeqRefLayerChromaPhaseXPlus1Flag;
|
||||
// uint8_t uiSeqRefLayerChromaPhaseYPlus1;
|
||||
// bool bInterLayerDeblockingFilterCtrlPresentFlag;
|
||||
bool bSeqTcoeffLevelPredFlag;
|
||||
bool bAdaptiveTcoeffLevelPredFlag;
|
||||
bool bSliceHeaderRestrictionFlag;
|
||||
bool bSeqTcoeffLevelPredFlag;
|
||||
bool bAdaptiveTcoeffLevelPredFlag;
|
||||
bool bSliceHeaderRestrictionFlag;
|
||||
} SSpsSvcExt, *PSpsSvcExt;
|
||||
|
||||
/* Subset sequence parameter set syntax, refer to Page 391 in JVT X201wcm */
|
||||
typedef struct TagSubsetSps {
|
||||
SWelsSPS pSps;
|
||||
SSpsSvcExt sSpsSvcExt;
|
||||
SWelsSPS pSps;
|
||||
SSpsSvcExt sSpsSvcExt;
|
||||
|
||||
// bool bSvcVuiParamPresentFlag;
|
||||
// bool bAdditionalExtension2Flag;
|
||||
@@ -115,40 +115,40 @@ SSpsSvcExt sSpsSvcExt;
|
||||
|
||||
/* Picture parameter set syntax, refer to Page 59 in JVT X201wcm */
|
||||
typedef struct TagWelsPPS {
|
||||
uint32_t iSpsId;
|
||||
uint32_t iPpsId;
|
||||
uint32_t iSpsId;
|
||||
uint32_t iPpsId;
|
||||
|
||||
#if !defined(DISABLE_FMO_FEATURE)
|
||||
uint32_t uiNumSliceGroups;
|
||||
uint32_t uiSliceGroupMapType;
|
||||
/* uiSliceGroupMapType = 0 */
|
||||
uint32_t uiRunLength[MAX_SLICEGROUP_IDS];
|
||||
/* uiSliceGroupMapType = 2 */
|
||||
uint32_t uiTopLeft[MAX_SLICEGROUP_IDS];
|
||||
uint32_t uiBottomRight[MAX_SLICEGROUP_IDS];
|
||||
/* uiSliceGroupMapType = 3, 4 or 5 */
|
||||
/* uiSliceGroupMapType = 3, 4 or 5 */
|
||||
bool bSliceGroupChangeDirectionFlag;
|
||||
uint32_t uiSliceGroupChangeRate;
|
||||
/* uiSliceGroupMapType = 6 */
|
||||
uint32_t uiPicSizeInMapUnits;
|
||||
uint32_t uiSliceGroupId[MAX_SLICEGROUP_IDS];
|
||||
uint32_t uiNumSliceGroups;
|
||||
uint32_t uiSliceGroupMapType;
|
||||
/* uiSliceGroupMapType = 0 */
|
||||
uint32_t uiRunLength[MAX_SLICEGROUP_IDS];
|
||||
/* uiSliceGroupMapType = 2 */
|
||||
uint32_t uiTopLeft[MAX_SLICEGROUP_IDS];
|
||||
uint32_t uiBottomRight[MAX_SLICEGROUP_IDS];
|
||||
/* uiSliceGroupMapType = 3, 4 or 5 */
|
||||
/* uiSliceGroupMapType = 3, 4 or 5 */
|
||||
bool bSliceGroupChangeDirectionFlag;
|
||||
uint32_t uiSliceGroupChangeRate;
|
||||
/* uiSliceGroupMapType = 6 */
|
||||
uint32_t uiPicSizeInMapUnits;
|
||||
uint32_t uiSliceGroupId[MAX_SLICEGROUP_IDS];
|
||||
#endif//!DISABLE_FMO_FEATURE
|
||||
|
||||
// uint32_t uiNumRefIdxL0Active;
|
||||
// uint32_t uiNumRefIdxL1Active;
|
||||
|
||||
int8_t iPicInitQp;
|
||||
int8_t iPicInitQs;
|
||||
uint8_t uiChromaQpIndexOffset;
|
||||
int8_t iPicInitQp;
|
||||
int8_t iPicInitQs;
|
||||
uint8_t uiChromaQpIndexOffset;
|
||||
|
||||
/* potential application for High profile */
|
||||
/* potential application for High profile */
|
||||
// int32_t iSecondChromaQpIndexOffset;
|
||||
// /* potential application for High profile */
|
||||
|
||||
// bool bPicOrderPresentFlag;
|
||||
|
||||
bool bDeblockingFilterControlPresentFlag;
|
||||
bool bDeblockingFilterControlPresentFlag;
|
||||
|
||||
// bool bConstainedIntraPredFlag;
|
||||
// bool bRedundantPicCntPresentFlag;
|
||||
|
||||
Reference in New Issue
Block a user