- Timestamp:
- 15 Nov 2013, 23:50:28 (11 years ago)
- Location:
- branches/SHM-4.0-dev/source/App/TAppEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncLayerCfg.h
r475 r481 6 6 #define __TAPPENCLAYERCFG__ 7 7 8 #if SVC_EXTENSION 8 9 #include "TLibCommon/CommonDef.h" 9 10 #include "TLibEncoder/TEncCfg.h" … … 11 12 12 13 using namespace std; 13 #if SVC_EXTENSION14 14 class TAppEncCfg; 15 #endif16 15 //! \ingroup TAppEncoder 17 16 //! \{ … … 43 42 Int m_iIntraPeriod; ///< period of I-slice (random access period) 44 43 Double m_fQP; ///< QP value of key-picture (floating point) 45 #if SVC_EXTENSION46 44 #if AUXILIARY_PICTURES 47 45 ChromaFormat m_chromaFormatIDC; … … 91 89 #endif 92 90 Int m_iWaveFrontSubstreams; //< If iWaveFrontSynchro, this is the number of substreams per frame (dependent tiles) or per tile (independent tiles). 93 #endif //SVC_EXTENSION94 91 95 92 Int m_iQP; ///< QP value of key-picture (integer) … … 97 94 Int* m_aidQP; ///< array of slice QP values 98 95 TAppEncCfg* m_cAppEncCfg; ///< pointer to app encoder config 99 #if SVC_EXTENSION100 96 Int m_numScaledRefLayerOffsets ; 101 97 Int m_scaledRefLayerLeftOffset [MAX_LAYERS]; … … 114 110 Int m_repFormatIdx; 115 111 #endif 116 #endif //SVC_EXTENSION117 112 public: 118 113 TAppEncLayerCfg(); … … 154 149 Int getIntQP() {return m_iQP; } 155 150 Int* getdQPs() {return m_aidQP; } 156 #if SVC_EXTENSION157 151 #if VPS_EXTN_DIRECT_REF_LAYERS 158 152 #if M0457_PREDICTION_INDICATIONS … … 192 186 #endif 193 187 #if LAYER_CTB 194 UInt getMaxCUWidth() {return m_uiMaxCUWidth; }195 UInt getMaxCUHeight() {return m_uiMaxCUHeight; }196 UInt getMaxCUDepth() {return m_uiMaxCUDepth; }188 UInt getMaxCUWidth() {return m_uiMaxCUWidth; } 189 UInt getMaxCUHeight() {return m_uiMaxCUHeight; } 190 UInt getMaxCUDepth() {return m_uiMaxCUDepth; } 197 191 #endif 192 }; // END CLASS DEFINITION TAppEncLayerCfg 193 198 194 #endif //SVC_EXTENSION 199 }; // END CLASS DEFINITION TAppEncLayerCfg200 195 201 196 //! \} -
branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncTop.cpp
r479 r481 98 98 // Auto generation of the format index 99 99 if( m_acLayerCfg[layer].getRepFormatIdx() == -1 ) 100 { 101 // Currently only picture width and height are considred. It has to be updated if different chroma format and bit-depth will are used. 100 { 102 101 Bool found = false; 103 102 for( UInt idx = 0; idx < layer; idx++ ) 104 103 { 104 if( m_acLayerCfg[layer].getSourceWidth() == m_acLayerCfg[idx].getSourceWidth() && m_acLayerCfg[layer].getSourceHeight() == m_acLayerCfg[idx].getSourceHeight() 105 105 #if AUXILIARY_PICTURES 106 if( m_acLayerCfg[layer].getSourceWidth() == m_acLayerCfg[idx].getSourceWidth() && m_acLayerCfg[layer].getSourceHeight() == m_acLayerCfg[idx].getSourceHeight() && 107 m_acLayerCfg[layer].getChromaFormatIDC() == m_acLayerCfg[idx].getChromaFormatIDC() ) 108 #else 109 if( m_acLayerCfg[layer].getSourceWidth() == m_acLayerCfg[idx].getSourceWidth() && m_acLayerCfg[layer].getSourceHeight() == m_acLayerCfg[idx].getSourceHeight() ) 110 #endif 106 && m_acLayerCfg[layer].getChromaFormatIDC() == m_acLayerCfg[idx].getChromaFormatIDC() 107 #endif 108 #if O0194_DIFFERENT_BITDEPTH_EL_BL_ 109 && m_acLayerCfg[layer].m_internalBitDepthY == m_acLayerCfg[idx].m_internalBitDepthY && m_acLayerCfg[layer].m_internalBitDepthC == m_acLayerCfg[idx].m_internalBitDepthC 110 #endif 111 ) 111 112 { 112 113 found = true;
Note: See TracChangeset for help on using the changeset viewer.