Changeset 677 in SHVCSoftware for branches/SHM-6-dev/source/App


Ignore:
Timestamp:
15 Apr 2014, 05:23:37 (11 years ago)
Author:
qualcomm
Message:

Integration of JCTVC-Q0048 Asymmetric 3D LUT based CGS

Location:
branches/SHM-6-dev/source/App/TAppEncoder
Files:
3 edited

Legend:

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

    r652 r677  
    960960#if O0149_CROSS_LAYER_BLA_FLAG
    961961  ("CrossLayerBLAFlag",                m_crossLayerBLAFlag,                       false, "Specifies the value of cross_layer_bla_flag in VPS")
     962#endif
     963#if Q0048_CGS_3D_ASYMLUT
     964  ("CGS",     m_nCGSFlag , 0, "whether CGS is enabled")
     965  ("CGSMaxOctantDepth", m_nCGSMaxOctantDepth , 1, "max octant depth")
     966  ("CGSMaxYPartNumLog",  m_nCGSMaxYPartNumLog2 , 2, "max Y part number ")
     967  ("CGSLUTBit",     m_nCGSLUTBit , 12, "bit depth of CGS LUT")
    962968#endif
    963969  ;
     
    23012307  }
    23022308#endif
     2309#if Q0048_CGS_3D_ASYMLUT
     2310  xConfirmPara( m_nCGSFlag < 0 || m_nCGSFlag > 1 , "0<=CGS<=1" );
     2311#endif
    23032312#undef xConfirmPara
    23042313  if (check_failed)
     
    25602569  printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 );
    25612570#endif
     2571#if Q0048_CGS_3D_ASYMLUT
     2572  printf("CGS: %d CGSMaxOctantDepth: %d CGSMaxYPartNumLog2: %d CGSLUTBit:%d " , m_nCGSFlag , m_nCGSMaxOctantDepth , m_nCGSMaxYPartNumLog2 , m_nCGSLUTBit );
     2573#endif
    25622574  printf("\n\n");
    25632575 
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.h

    r652 r677  
    395395  Bool      m_useInterLayerWeightedPred;
    396396#endif
     397#if Q0048_CGS_3D_ASYMLUT
     398  Int  m_nCGSFlag;
     399  Int  m_nCGSMaxOctantDepth;
     400  Int  m_nCGSMaxYPartNumLog2;
     401  Int  m_nCGSLUTBit;
     402#endif
    397403public:
    398404  TAppEncCfg();
  • branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r674 r677  
    604604#if O0149_CROSS_LAYER_BLA_FLAG
    605605    m_acTEncTop[layer].setCrossLayerBLAFlag( m_crossLayerBLAFlag );
     606#endif
     607#if Q0048_CGS_3D_ASYMLUT
     608    m_acTEncTop[layer].setCGSFlag( layer == 0 ? 0 : m_nCGSFlag );
     609    m_acTEncTop[layer].setCGSMaxOctantDepth( m_nCGSMaxOctantDepth );
     610    m_acTEncTop[layer].setCGSMaxYPartNumLog2( m_nCGSMaxYPartNumLog2 );
     611    m_acTEncTop[layer].setCGSLUTBit( m_nCGSLUTBit );
    606612#endif
    607613  }
Note: See TracChangeset for help on using the changeset viewer.