Changeset 1212 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
8 Jul 2015, 23:14:20 (9 years ago)
Author:
seregin
Message:

rename Q0048_CGS_3D_ASYMLUT to CGS_3D_ASYMLUT

Location:
branches/SHM-dev/source
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1211 r1212  
    16471647  ("AltOutputLayerFlag",               m_altOutputLayerFlag,                      false, "Specifies the value of alt_output_layer_flag in VPS extension")
    16481648  ("CrossLayerBLAFlag",                m_crossLayerBLAFlag,                       false, "Specifies the value of cross_layer_bla_flag in VPS")
    1649 #if Q0048_CGS_3D_ASYMLUT
     1649#if CGS_3D_ASYMLUT
    16501650  ("CGS",     m_nCGSFlag , 0, "whether CGS is enabled")
    16511651  ("CGSMaxOctantDepth", m_nCGSMaxOctantDepth , 1, "max octant depth")
     
    42034203  }
    42044204#endif
    4205 #if Q0048_CGS_3D_ASYMLUT
     4205#if CGS_3D_ASYMLUT
    42064206  xConfirmPara( m_nCGSFlag < 0 || m_nCGSFlag > 1 , "0<=CGS<=1" );
    42074207#endif
     
    45084508  printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 );
    45094509#endif
    4510 #if Q0048_CGS_3D_ASYMLUT
     4510#if CGS_3D_ASYMLUT
    45114511  printf("CGS: %d CGSMaxOctantDepth: %d CGSMaxYPartNumLog2: %d CGSLUTBit:%d " , m_nCGSFlag , m_nCGSMaxOctantDepth , m_nCGSMaxYPartNumLog2 , m_nCGSLUTBit );
    45124512#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1211 r1212  
    506506  Bool      m_crossLayerBLAFlag;
    507507  Bool      m_useInterLayerWeightedPred;
    508 #if Q0048_CGS_3D_ASYMLUT
     508#if CGS_3D_ASYMLUT
    509509  Int       m_nCGSFlag;
    510510  Int       m_nCGSMaxOctantDepth;
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1211 r1212  
    756756    m_acTEncTop[layer].setAltOuputLayerFlag                      ( m_altOutputLayerFlag );
    757757    m_acTEncTop[layer].setCrossLayerBLAFlag                      ( m_crossLayerBLAFlag );
    758 #if Q0048_CGS_3D_ASYMLUT
     758#if CGS_3D_ASYMLUT
    759759    m_acTEncTop[layer].setCGSFlag                                ( layer == 0 ? 0 : m_nCGSFlag );
    760760    m_acTEncTop[layer].setCGSMaxOctantDepth                      ( m_nCGSMaxOctantDepth );
  • branches/SHM-dev/source/Lib/TLibCommon/TCom3DAsymLUT.cpp

    r1029 r1212  
    99#include "TComPicYuv.h"
    1010
    11 #if Q0048_CGS_3D_ASYMLUT
     11#if CGS_3D_ASYMLUT
    1212
    1313const Int TCom3DAsymLUT::m_nVertexIdxOffset[4][3] = { { 0 , 0 , 0 } , { 0 , 1 , 0 } , { 0 , 1 , 1 } , { 1 , 1 , 1 } };
  • branches/SHM-dev/source/Lib/TLibCommon/TCom3DAsymLUT.h

    r877 r1212  
    99#endif
    1010
    11 #if Q0048_CGS_3D_ASYMLUT
     11#if CGS_3D_ASYMLUT
    1212
    1313typedef struct _SYUVP
  • branches/SHM-dev/source/Lib/TLibCommon/TComPic.h

    r1210 r1212  
    9595  Bool                  m_equalPictureSizeAndOffsetFlag[MAX_LAYERS];
    9696#endif
    97 #if Q0048_CGS_3D_ASYMLUT
     97#if CGS_3D_ASYMLUT
    9898  Int                   m_nFrameBit;
    9999#endif
     
    214214  Bool          checkSameRefInfo();
    215215  Void          copyUpsampledPictureYuv(TComPicYuv*   pcPicYuvIn, TComPicYuv*   pcPicYuvOut);
    216 #if Q0048_CGS_3D_ASYMLUT
     216#if CGS_3D_ASYMLUT
    217217  Void          setFrameBit( Int n )  { m_nFrameBit = n;    }
    218218  Int           getFrameBit()         { return m_nFrameBit; }
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1210 r1212  
    512512        // Allow maximum of one motion resampling process for direct reference layers, and use motion inter-layer prediction from the same layer as texture inter-layer prediction
    513513        if( !( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || !scalingOffset || !sameBitDepths
    514 #if Q0048_CGS_3D_ASYMLUT
     514#if CGS_3D_ASYMLUT
    515515          || getPPS()->getCGSFlag()
    516516#endif
     
    23052305, m_pocResetInfoPresentFlag   (false)
    23062306, m_numRefLayerLocationOffsets  ( 0 )
    2307 #if Q0048_CGS_3D_ASYMLUT
     2307#if CGS_3D_ASYMLUT
    23082308, m_nCGSFlag(0)
    23092309, m_nCGSOutputBitDepthY(0)
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1210 r1212  
    16691669  Int      m_phaseVerChroma[MAX_LAYERS];
    16701670  Bool     m_resamplePhaseSetPresentFlag[MAX_LAYERS];
    1671 #if Q0048_CGS_3D_ASYMLUT
     1671#if CGS_3D_ASYMLUT
    16721672  Int      m_nCGSFlag;
    16731673  Int      m_nCGSOutputBitDepthY; // not for syntax
     
    18421842  Bool hasZeroResamplingPhase(Int refLayerId);
    18431843  Void getResamplingPhase(Int refLayerId, Bool& phaseSetPresentFlag, Int& phaseHorLuma, Int& phaseVerLuma, Int& phaseHorChroma, Int& phaseVerChroma);
    1844 #if Q0048_CGS_3D_ASYMLUT
     1844#if CGS_3D_ASYMLUT
    18451845  Int     getCGSFlag()                { return m_nCGSFlag;  }
    18461846  Void    setCGSFlag(Int n)           { m_nCGSFlag = n;     }
     
    20082008  Int         m_pocValueBeforeReset;
    20092009  Int         m_picOrderCntLsb;
    2010 #if Q0048_CGS_3D_ASYMLUT
     2010#if CGS_3D_ASYMLUT
    20112011  Int        m_nCGSOverWritePPS;  // for optimization, not output to bitstream
    20122012#endif
     
    21292129
    21302130  Void      setRefPicList       ( TComList<TComPic*>& rcListPic, Bool checkNumPocTotalCurr = false, TComPic** ilpPic = NULL );
    2131 #if Q0048_CGS_3D_ASYMLUT
     2131#if CGS_3D_ASYMLUT
    21322132  Int       getCGSOverWritePPS()              { return m_nCGSOverWritePPS;    }
    21332133  Void      setCGSOverWritePPS(Int n)         { m_nCGSOverWritePPS = n;       }
  • branches/SHM-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp

    r1202 r1212  
    117117    Int shift = g_bitDepthLayer[CHANNEL_TYPE_LUMA][currLayerId] - g_bitDepthLayer[CHANNEL_TYPE_LUMA][refLayerId];
    118118
    119 #if Q0048_CGS_3D_ASYMLUT
     119#if CGS_3D_ASYMLUT
    120120    if( currSlice->getPPS()->getCGSFlag() )
    121121    {
     
    153153    shift = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][currLayerId] - g_bitDepthLayer[CHANNEL_TYPE_CHROMA][refLayerId];
    154154
    155 #if Q0048_CGS_3D_ASYMLUT
     155#if CGS_3D_ASYMLUT
    156156    if( currSlice->getPPS()->getCGSFlag() )
    157157    {
     
    221221    Int shift1 = g_bitDepthLayer[CHANNEL_TYPE_LUMA][refLayerId] - 8;
    222222
    223 #if Q0048_CGS_3D_ASYMLUT
     223#if CGS_3D_ASYMLUT
    224224    if( currSlice->getPPS()->getCGSFlag() )
    225225    {
     
    323323    shift1 = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][refLayerId] - 8;
    324324
    325 #if Q0048_CGS_3D_ASYMLUT
     325#if CGS_3D_ASYMLUT
    326326    if( currSlice->getPPS()->getCGSFlag() )
    327327    {
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1211 r1212  
    5555#define O0164_MULTI_LAYER_HRD            1      ///< JCTVC-O0164: Multi-layer HRD operation
    5656
    57 #define Q0048_CGS_3D_ASYMLUT             1      ///< JCTVC-Q0048: Colour gamut scalability with look-up table
    58 #if Q0048_CGS_3D_ASYMLUT
     57#define CGS_3D_ASYMLUT                   1      ///< Colour gamut scalability with look-up table
     58#if CGS_3D_ASYMLUT
    5959#define CGS_GCC_NO_VECTORIZATION         1
    6060#define R0150_CGS_SIGNAL_CONSTRAINTS     1      ///< JCTVC-R0150: CGS signaling improvement and constraints
     
    7272#define SVC_POC                          1      ///< POC signalling and reset
    7373#define UNAVAILABLE_PIC_BUGFIX           1
     74
    7475
    7576#define REF_IDX_MFM                      1      ///< JCTVC-L0336: motion vector mapping of inter-layer reference picture
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1210 r1212  
    4343#include "TLibCommon/TComCodingStatistics.h"
    4444#endif
    45 #if Q0048_CGS_3D_ASYMLUT
     45#if CGS_3D_ASYMLUT
    4646#include "../TLibCommon/TCom3DAsymLUT.h"
    4747#endif
     
    182182}
    183183
    184 #if Q0048_CGS_3D_ASYMLUT
     184#if CGS_3D_ASYMLUT
    185185Void TDecCavlc::parsePPS(TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT, Int nLayerID)
    186186#else
     
    442442              }
    443443            }
    444 #if Q0048_CGS_3D_ASYMLUT
     444#if CGS_3D_ASYMLUT
    445445            READ_FLAG( uiCode , "colour_mapping_enabled_flag" );
    446446            pcPPS->setCGSFlag( uiCode );
     
    35033503}
    35043504
    3505 #if Q0048_CGS_3D_ASYMLUT
     3505#if CGS_3D_ASYMLUT
    35063506Void TDecCavlc::xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT )
    35073507{
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h

    r1203 r1212  
    4646#include "SyntaxElementParser.h"
    4747
    48 #if Q0048_CGS_3D_ASYMLUT
     48#if CGS_3D_ASYMLUT
    4949class TCom3DAsymLUT;
    5050#endif
     
    138138  Void  parseVpsVuiBspHrdParams( TComVPS *vps );
    139139  Void  parseSPSExtension    ( TComSPS* pcSPS );
    140 #if Q0048_CGS_3D_ASYMLUT
     140#if CGS_3D_ASYMLUT
    141141  Void  parsePPS            ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT , Int nLayerID );
    142142#else
     
    145145
    146146protected:
    147 #if Q0048_CGS_3D_ASYMLUT
     147#if CGS_3D_ASYMLUT
    148148  Void xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT );
    149149  Void xParse3DAsymLUTOctant( TCom3DAsymLUT * pc3DAsymLUT , Int nDepth , Int yIdx , Int uIdx , Int vIdx , Int nLength );
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.h

    r1029 r1212  
    5050class TDecCavlc;
    5151class ParameterSetManagerDecoder;
    52 #if Q0048_CGS_3D_ASYMLUT
     52#if CGS_3D_ASYMLUT
    5353class TCom3DAsymLUT;
    5454#endif
     
    7171  virtual Void  parseVPS                  ( TComVPS* pcVPS )     = 0;
    7272  virtual Void  parseSPS                  ( TComSPS* pcSPS )     = 0;
    73 #if Q0048_CGS_3D_ASYMLUT
     73#if CGS_3D_ASYMLUT
    7474  virtual Void  parsePPS                  ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT , Int nLayerID )     = 0;
    7575#else
     
    145145  Void    decodeSPS                   ( TComSPS* pcSPS ) { m_pcEntropyDecoderIf->parseSPS(pcSPS); }
    146146
    147 #if Q0048_CGS_3D_ASYMLUT
     147#if CGS_3D_ASYMLUT
    148148  Void    decodePPS                   ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT, Int nLayerID )    { m_pcEntropyDecoderIf->parsePPS(pcPPS, pc3DAsymLUT , nLayerID );                     }
    149149#else
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.h

    r1029 r1212  
    8080  Void  parseSPS                  ( TComSPS* /*pcSPS*/ ) {}
    8181  Void  parsePPS                  ( TComPPS* /*pcPPS*/
    82 #if Q0048_CGS_3D_ASYMLUT
     82#if CGS_3D_ASYMLUT
    8383    , TCom3DAsymLUT * /*pc3DAsymLUT*/ , Int /*nLayerID*/
    8484#endif
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1211 r1212  
    111111  m_lastPocPeriodId = -1;
    112112  m_prevPicOrderCnt = 0;
    113 #if Q0048_CGS_3D_ASYMLUT
     113#if CGS_3D_ASYMLUT
    114114  m_pColorMappedPic = NULL;
    115115#endif
     
    133133  }
    134134#endif
    135 #if Q0048_CGS_3D_ASYMLUT
     135#if CGS_3D_ASYMLUT
    136136  if(m_pColorMappedPic)
    137137  {
     
    16341634        g_posScalingFactor[refLayerIdc][1] = ((heightBL << 16) + (heightEL >> 1)) / heightEL;
    16351635
    1636 #if Q0048_CGS_3D_ASYMLUT
     1636#if CGS_3D_ASYMLUT
    16371637        TComPicYuv* pBaseColRec = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec();
    16381638        if( pcSlice->getPPS()->getCGSFlag()
     
    18631863}
    18641864
    1865 #if Q0048_CGS_3D_ASYMLUT
     1865#if CGS_3D_ASYMLUT
    18661866Void TDecTop::xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT )
    18671867#else
     
    18741874  pps->setLayerId( m_layerId );
    18751875#endif
    1876 #if Q0048_CGS_3D_ASYMLUT
     1876#if CGS_3D_ASYMLUT
    18771877  m_cEntropyDecoder.decodePPS( pps, pc3DAsymLUT, m_layerId );
    18781878#else
     
    19961996    case NAL_UNIT_PPS:
    19971997      xDecodePPS(
    1998 #if Q0048_CGS_3D_ASYMLUT
     1998#if CGS_3D_ASYMLUT
    19991999        &m_c3DAsymLUTPPS
    20002000#endif
     
    24282428}
    24292429
    2430 #if Q0048_CGS_3D_ASYMLUT
     2430#if CGS_3D_ASYMLUT
    24312431Void TDecTop::initAsymLut(TComSlice *pcSlice)
    24322432{
     
    26012601
    26022602    if( !pic->equalPictureSizeAndOffsetFlag(i) || !sameBitDepths
    2603 #if Q0048_CGS_3D_ASYMLUT
     2603#if CGS_3D_ASYMLUT
    26042604      || slice->getPPS()->getCGSFlag() > 0
    26052605#endif
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1210 r1212  
    4545#include "TLibCommon/TComTrQuant.h"
    4646#include "TLibCommon/SEI.h"
    47 #if Q0048_CGS_3D_ASYMLUT
     47#if CGS_3D_ASYMLUT
    4848#include "TLibCommon/TCom3DAsymLUT.h"
    4949#endif
     
    8282  // functional classes
    8383  TComPrediction          m_cPrediction;
    84 #if Q0048_CGS_3D_ASYMLUT
     84#if CGS_3D_ASYMLUT
    8585  TCom3DAsymLUT           m_c3DAsymLUTPPS;
    8686  TComPicYuv*             m_pColorMappedPic;
     
    275275  Void      xDecodeVPS();
    276276  Void      xDecodeSPS();
    277 #if Q0048_CGS_3D_ASYMLUT
     277#if CGS_3D_ASYMLUT
    278278  Void      xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT );
    279279#else
     
    291291  Void setFirstPicInLayerDecodedFlag(Bool x) { m_firstPicInLayerDecodedFlag = x;   }
    292292#endif
    293 #if Q0048_CGS_3D_ASYMLUT
     293#if CGS_3D_ASYMLUT
    294294  Void initAsymLut(TComSlice *pcSlice);
    295295#endif
  • branches/SHM-dev/source/Lib/TLibEncoder/TEnc3DAsymLUT.cpp

    r1090 r1212  
    77#include "TEnc3DAsymLUT.h"
    88
    9 #if Q0048_CGS_3D_ASYMLUT
    10 
     9#if CGS_3D_ASYMLUT
    1110TEnc3DAsymLUT::TEnc3DAsymLUT()
    1211{
  • branches/SHM-dev/source/Lib/TLibEncoder/TEnc3DAsymLUT.h

    r877 r1212  
    1515#endif
    1616
    17 #if Q0048_CGS_3D_ASYMLUT
     17#if CGS_3D_ASYMLUT
    1818
    1919typedef struct _ColorInfo
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1209 r1212  
    154154
    155155Void TEncCavlc::codePPS( TComPPS* pcPPS
    156 #if Q0048_CGS_3D_ASYMLUT
     156#if CGS_3D_ASYMLUT
    157157  , TEnc3DAsymLUT * pc3DAsymLUT
    158158#endif
     
    253253#if SVC_EXTENSION
    254254  pps_extension_flags[PPS_EXT__MLAYER] = pcPPS->getExtensionFlag() ? 1 : 0;
    255 #if Q0048_CGS_3D_ASYMLUT
     255#if CGS_3D_ASYMLUT
    256256  UInt bits = 0;
    257257#endif
     
    347347              }
    348348            }
    349 #if Q0048_CGS_3D_ASYMLUT
     349#if CGS_3D_ASYMLUT
    350350            bits = getNumberOfWrittenBits();
    351351            WRITE_FLAG( pcPPS->getCGSFlag() , "colour_mapping_enabled_flag" );
     
    24672467}
    24682468
    2469 #if Q0048_CGS_3D_ASYMLUT
     2469#if CGS_3D_ASYMLUT
    24702470Void TEncCavlc::xCode3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT )
    24712471{
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.h

    r1207 r1212  
    4848#include "TEncEntropy.h"
    4949#include "SyntaxElementWriter.h"
    50 #if Q0048_CGS_3D_ASYMLUT
     50#if CGS_3D_ASYMLUT
    5151#include "../TLibCommon/TCom3DAsymLUT.h"
    5252#include "TEnc3DAsymLUT.h"
     
    5757
    5858class TEncTop;
    59 #if Q0048_CGS_3D_ASYMLUT
     59#if CGS_3D_ASYMLUT
    6060class TCom3DAsymLUT;
    6161#endif
     
    9191  Void  codeSPS                 ( TComSPS* pcSPS );
    9292  Void  codePPS                 ( TComPPS* pcPPS
    93 #if Q0048_CGS_3D_ASYMLUT
     93#if CGS_3D_ASYMLUT
    9494    , TEnc3DAsymLUT * pc3DAsymLUT
    9595#endif
     
    163163#endif
    164164  Void  codeVpsVuiBspHrdParams  (TComVPS * const);
    165 #if Q0048_CGS_3D_ASYMLUT
     165#if CGS_3D_ASYMLUT
    166166#if R0179_ENC_OPT_3DLUT_SIZE
    167167public:
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1203 r1212  
    404404  UInt      m_ilcIdc[1024];
    405405#endif
    406 #if Q0048_CGS_3D_ASYMLUT
     406#if CGS_3D_ASYMLUT
    407407  Int       m_nCGSFlag;
    408408  Int       m_nCGSMaxOctantDepth;
     
    11411141  Bool                                getOverlaySEIPersistenceFlag()                                           { return m_overlayInfoPersistenceFlag; }
    11421142#endif
    1143 #if Q0048_CGS_3D_ASYMLUT
     1143#if CGS_3D_ASYMLUT
    11441144  Void      setCGSFlag(Int n)             { m_nCGSFlag = n;    }
    11451145  Int       getCGSFlag()                  { return m_nCGSFlag; }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.cpp

    r1207 r1212  
    7878}
    7979
    80 #if Q0048_CGS_3D_ASYMLUT
     80#if CGS_3D_ASYMLUT
    8181Void TEncEntropy::encodePPS( TComPPS* pcPPS, TEnc3DAsymLUT * pc3DAsymLUT  )
    8282{
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.h

    r1207 r1212  
    5151class TEncCavlc;
    5252class SEI;
    53 #if Q0048_CGS_3D_ASYMLUT
     53#if CGS_3D_ASYMLUT
    5454class TEnc3DAsymLUT;
    5555#endif
     
    7373  virtual Void  codeSPS                 ( TComSPS* pcSPS )                                      = 0;
    7474  virtual Void  codePPS                 ( TComPPS* pcPPS
    75 #if Q0048_CGS_3D_ASYMLUT
     75#if CGS_3D_ASYMLUT
    7676    , TEnc3DAsymLUT * pc3DAsymLUT
    7777#endif
     
    153153  Void encodeSPS               ( TComSPS* pcSPS );
    154154  Void encodePPS               ( TComPPS* pcPPS
    155 #if Q0048_CGS_3D_ASYMLUT
     155#if CGS_3D_ASYMLUT
    156156    , TEnc3DAsymLUT * pc3DAsymLUT
    157157#endif
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1211 r1212  
    113113  m_associatedIrapPocBeforeReset = 0;
    114114  m_pcPredSearch        = NULL;
    115 #if Q0048_CGS_3D_ASYMLUT
     115#if CGS_3D_ASYMLUT
    116116  m_temp = NULL;
    117117  m_pColorMappedPic = NULL;
     
    136136TEncGOP::~TEncGOP()
    137137{
    138 #if Q0048_CGS_3D_ASYMLUT
     138#if CGS_3D_ASYMLUT
    139139  if(m_pColorMappedPic)
    140140  {
     
    193193  m_ppcTEncTop           = pcTEncTop->getLayerEnc();
    194194  m_pcPredSearch         = pcTEncTop->getPredSearch();                       ///< encoder search class
    195 #if Q0048_CGS_3D_ASYMLUT
     195#if CGS_3D_ASYMLUT
    196196  if( pcTEncTop->getLayerId() )
    197197  {
     
    13941394        g_posScalingFactor[refLayerIdc][1] = ((heightBL << 16) + (heightEL >> 1)) / heightEL;
    13951395
    1396 #if Q0048_CGS_3D_ASYMLUT
     1396#if CGS_3D_ASYMLUT
    13971397        TComPicYuv* pBaseColRec = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec();
    13981398        if( pcSlice->getPPS()->getCGSFlag() )
     
    14351435        else
    14361436        {
    1437 #if Q0048_CGS_3D_ASYMLUT
     1437#if CGS_3D_ASYMLUT
    14381438          pcPic->setFullPelBaseRec( refLayerIdc, pBaseColRec );
    14391439#else
     
    22832283      assert( pcSlice->getPPS()->getLayerId() == 0 || pcSlice->getPPS()->getLayerId() == m_layerId || m_pcEncTop->getVPS()->getRecursiveRefLayerFlag(m_layerId, pcSlice->getPPS()->getLayerId()) );
    22842284#endif
    2285 #if SVC_EXTENSION && Q0048_CGS_3D_ASYMLUT
     2285#if SVC_EXTENSION && CGS_3D_ASYMLUT
    22862286      m_pcEntropyCoder->encodePPS(pcSlice->getPPS(), &m_Enc3DAsymLUTPPS);
    22872287#else
     
    23352335      m_bSeqFirst = false;
    23362336    }
    2337 #if Q0048_CGS_3D_ASYMLUT
     2337#if CGS_3D_ASYMLUT
    23382338    else if( m_pcCfg->getCGSFlag() && pcSlice->getLayerId() && pcSlice->getCGSOverWritePPS() )
    23392339    {
     
    37433743    printf("]");
    37443744  }
    3745 #if Q0048_CGS_3D_ASYMLUT
     3745#if CGS_3D_ASYMLUT
    37463746  pcPic->setFrameBit( (Int)uibits );
    37473747  if( m_layerId && pcSlice->getPPS()->getCGSFlag() )
     
    48254825#endif
    48264826
    4827 #if Q0048_CGS_3D_ASYMLUT
     4827#if CGS_3D_ASYMLUT
    48284828Void TEncGOP::xDetermin3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS )
    48294829{
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.h

    r1209 r1212  
    5454#include "TEncSbac.h"
    5555#include "SEIwrite.h"
    56 #if Q0048_CGS_3D_ASYMLUT
     56#if CGS_3D_ASYMLUT
    5757#include "TEnc3DAsymLUT.h"
    5858#endif
     
    154154  TEncTop**               m_ppcTEncTop;
    155155  TEncSearch*             m_pcPredSearch;                       ///< encoder search class
    156 #if Q0048_CGS_3D_ASYMLUT
     156#if CGS_3D_ASYMLUT
    157157  TEnc3DAsymLUT           m_Enc3DAsymLUTPicUpdate;
    158158  TEnc3DAsymLUT           m_Enc3DAsymLUTPPS;
     
    286286  SEIOverlayInfo* xCreateSEIOverlayInfo();
    287287#endif
    288 #if Q0048_CGS_3D_ASYMLUT
     288#if CGS_3D_ASYMLUT
    289289  Void xDetermin3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS );
    290290  Void downScalePic( TComPicYuv* pcYuvSrc, TComPicYuv* pcYuvDest);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp

    r1207 r1212  
    235235
    236236Void TEncSbac::codePPS( TComPPS* pcPPS
    237 #if Q0048_CGS_3D_ASYMLUT
     237#if CGS_3D_ASYMLUT
    238238  , TEnc3DAsymLUT * pc3DAsymLUT
    239239#endif
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.h

    r1207 r1212  
    9090  Void  codeSPS                ( TComSPS* pcSPS     );
    9191  Void  codePPS                ( TComPPS* pcPPS     
    92 #if Q0048_CGS_3D_ASYMLUT
     92#if CGS_3D_ASYMLUT
    9393    , TEnc3DAsymLUT * pc3DAsymLUT
    9494#endif
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1209 r1212  
    635635            || !zeroPhase
    636636#endif
    637 #if Q0048_CGS_3D_ASYMLUT
     637#if CGS_3D_ASYMLUT
    638638            || m_cPPS.getCGSFlag() > 0
    639639#endif
     
    680680            || !equalOffsets
    681681            || !zeroPhase
    682 #if Q0048_CGS_3D_ASYMLUT
     682#if CGS_3D_ASYMLUT
    683683            || m_cPPS.getCGSFlag() > 0
    684684#endif
     
    10411041    m_cPPS.setPhaseVerChroma( m_refLocationOffsetLayerId[i], m_phaseVerChroma[i] );
    10421042  }
    1043 #if Q0048_CGS_3D_ASYMLUT
     1043#if CGS_3D_ASYMLUT
    10441044  m_cPPS.setCGSFlag( m_nCGSFlag );
    10451045#endif
Note: See TracChangeset for help on using the changeset viewer.