Changeset 48 in 3DVCSoftware for branches/0.3-poznan-univ/source/Lib/TLibCommon


Ignore:
Timestamp:
30 Mar 2012, 18:57:41 (13 years ago)
Author:
poznan-univ
Message:

some bug fix on high level syntax
fixed some compiler warning issues under windows and linux

Location:
branches/0.3-poznan-univ/source/Lib/TLibCommon
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/SEI.h

    r5 r48  
    4141class SEI
    4242{
     43#if BITSTREAM_EXTRACTION
     44protected:
     45  UInt m_uiLayerId;
     46#endif
     47
    4348public:
    4449  enum PayloadType {
     
    5156 
    5257  virtual PayloadType payloadType() const = 0;
     58
     59#if BITSTREAM_EXTRACTION
     60  Void      setLayerId              ( UInt u )       { m_uiLayerId = u; }
     61  UInt      getLayerId              ()         const { return m_uiLayerId; }
     62#endif
    5363};
    5464
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/TComLoopFilter.cpp

    r28 r48  
    419419  UInt uiPartP;
    420420  TComDataCU* pcCUP;
    421   UInt uiBs;
     421  UInt uiBs = 0;
    422422 
    423423#if MTK_NONCROSS_INLOOP_FILTER
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/TComPic.cpp

    r28 r48  
    490490 
    491491  Int x, y;
    492   Bool bAvailable = true;
    493492  Pel* pAvail  = getPicYuvAvail()->getLumaAddr ( iCuAddr, uiAbsZorderIdx );
    494493  Int CUHeight = g_uiMaxCUHeight >> uiPartDepth; //rpcCU->getHeight(uiAbsZorderIdx);
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/TComPrediction.cpp

    r41 r48  
    16401640
    16411641#if DEPTH_MAP_GENERATION
    1642   Int             ref_frame0_idx_1st, ref_frame1_idx_1st;
     1642  Int             ref_frame0_idx_1st = 0, ref_frame1_idx_1st = 0;
    16431643  TComMv          mv0_1st,mv1_1st;
    16441644#endif
     
    16481648  Pel aiUTab[MAX_CU_SIZE];
    16491649  Pel aiVTab[MAX_CU_SIZE];
    1650   Pel iULast;
    1651   Pel iVLast;
     1650  Pel iULast = 0;
     1651  Pel iVLast = 0;
    16521652  Pel iTemp;
    16531653
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/TComSlice.cpp

    r46 r48  
    737737}
    738738
     739#if FLEXCO_CAMPARAM_IN_DEPTH
     740Void
     741TComSPS::initMultiviewSPS( UInt uiViewId, Int iViewOrderIdx, UInt uiCamParPrecision, Bool bCamParSlice, Int** aaiScale, Int** aaiOffset , Bool bDepth)
     742#else
    739743Void
    740744TComSPS::initMultiviewSPS( UInt uiViewId, Int iViewOrderIdx, UInt uiCamParPrecision, Bool bCamParSlice, Int** aaiScale, Int** aaiOffset )
     745#endif
    741746{
    742747  AOT( uiViewId == 0 && iViewOrderIdx != 0 );
     
    746751  m_uiViewId              = uiViewId;
    747752  m_iViewOrderIdx         = iViewOrderIdx;
     753#if FLEXCO_CAMPARAM_IN_DEPTH
     754  m_bDepth                = bDepth;
     755#else
    748756  m_bDepth                = false;
     757#endif
    749758  m_uiCamParPrecision     = ( m_uiViewId ? uiCamParPrecision : 0 );
    750759  m_bCamParInSliceHeader  = ( m_uiViewId ? bCamParSlice  : false );
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/TComSlice.h

    r46 r48  
    221221  Int* getPad         ( )        { return m_aiPad; }
    222222
     223#if FLEX_CODING_ORDER
     224  Void        initMultiviewSPS      ( UInt uiViewId, Int iViewOrderIdx = 0, UInt uiCamParPrecision = 0, Bool bCamParSlice = false, Int** aaiScale = 0, Int** aaiOffset = 0, Bool bDepth = false );
     225#else
    223226  Void        initMultiviewSPS      ( UInt uiViewId, Int iViewOrderIdx = 0, UInt uiCamParPrecision = 0, Bool bCamParSlice = false, Int** aaiScale = 0, Int** aaiOffset = 0 );
     227#endif
    224228  Void        initMultiviewSPSDepth ( UInt uiViewId, Int iViewOrderIdx );
    225229
  • branches/0.3-poznan-univ/source/Lib/TLibCommon/TypeDef.h

    r46 r48  
    4444#define FLEX_CODING_ORDER               1
    4545
     46#define FLEXCO_CAMPARAM_IN_DEPTH        FLEX_CODING_ORDER // encode pamera parameters in depth SPS
     47
    4648#define SONY_COLPIC_AVAILABILITY        1
    4749
Note: See TracChangeset for help on using the changeset viewer.