Changeset 677 in SHVCSoftware for branches/SHM-6-dev/source/App
- Timestamp:
- 15 Apr 2014, 05:23:37 (11 years ago)
- 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 960 960 #if O0149_CROSS_LAYER_BLA_FLAG 961 961 ("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") 962 968 #endif 963 969 ; … … 2301 2307 } 2302 2308 #endif 2309 #if Q0048_CGS_3D_ASYMLUT 2310 xConfirmPara( m_nCGSFlag < 0 || m_nCGSFlag > 1 , "0<=CGS<=1" ); 2311 #endif 2303 2312 #undef xConfirmPara 2304 2313 if (check_failed) … … 2560 2569 printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 ); 2561 2570 #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 2562 2574 printf("\n\n"); 2563 2575 -
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncCfg.h
r652 r677 395 395 Bool m_useInterLayerWeightedPred; 396 396 #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 397 403 public: 398 404 TAppEncCfg(); -
branches/SHM-6-dev/source/App/TAppEncoder/TAppEncTop.cpp
r674 r677 604 604 #if O0149_CROSS_LAYER_BLA_FLAG 605 605 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 ); 606 612 #endif 607 613 }
Note: See TracChangeset for help on using the changeset viewer.