Changeset 290 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibEncoder
- Timestamp:
- 18 Jun 2013, 13:57:03 (12 years ago)
- Location:
- branches/SHM-2.1-dev/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r289 r290 864 864 #endif 865 865 #endif 866 #if VPS_EXTN_DIRECT_REF_LAYERS && M0457_PREDICTION_INDICATIONS 867 WRITE_UVLC( vps->getDirectDepTypeLen()-2, "direct_dep_type_len_minus2"); 868 for(i = 1; i < vps->getMaxLayers(); i++) 869 { 870 for(j = 0; j < i; j++) 871 { 872 if (vps->getDirectDependencyFlag(i, j)) 873 { 874 WRITE_CODE( vps->getDirectDependencyType(i, j), vps->getDirectDepTypeLen(), "direct_dependency_type[i][j]" ); 875 } 876 } 877 } 878 #endif 866 879 } 867 880 #endif -
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCfg.h
r282 r290 148 148 Int m_numActiveRefLayers; 149 149 Int m_predLayerId[MAX_VPS_LAYER_ID_PLUS1]; 150 #if M0457_PREDICTION_INDICATIONS 151 Int m_numSamplePredRefLayers; 152 Int m_samplePredRefLayerId[MAX_VPS_LAYER_ID_PLUS1]; 153 Int m_numMotionPredRefLayers; 154 Int m_motionPredRefLayerId[MAX_VPS_LAYER_ID_PLUS1]; 155 Bool m_samplePredEnabledFlag[MAX_VPS_LAYER_ID_PLUS1]; 156 Bool m_motionPredEnabledFlag[MAX_VPS_LAYER_ID_PLUS1]; 157 #endif 150 158 #endif 151 159 //======= Transform ============= … … 414 422 Int getPredLayerId (Int i) { return m_predLayerId[i]; } 415 423 Void setPredLayerId (Int i, Int refLayerId) { m_predLayerId[i] = refLayerId; } 424 425 #if M0457_PREDICTION_INDICATIONS 426 Int getNumSamplePredRefLayers () { return m_numSamplePredRefLayers; } 427 Void setNumSamplePredRefLayers (Int num) { m_numSamplePredRefLayers = num; } 428 429 Int getSamplePredRefLayerId (Int i) { return m_samplePredRefLayerId[i]; } 430 Void setSamplePredRefLayerId (Int i, Int refLayerId) { m_samplePredRefLayerId[i] = refLayerId; } 431 432 Int getNumMotionPredRefLayers () { return m_numMotionPredRefLayers; } 433 Void setNumMotionPredRefLayers (Int num) { m_numMotionPredRefLayers = num; } 434 435 Int getMotionPredRefLayerId (Int i) { return m_motionPredRefLayerId[i]; } 436 Void setMotionPredRefLayerId (Int i, Int refLayerId) { m_motionPredRefLayerId[i] = refLayerId; } 437 438 Bool getSamplePredEnabledFlag (Int i) { return m_samplePredEnabledFlag[i]; } 439 Void setSamplePredEnabledFlag (Int i,Bool flag) { m_samplePredEnabledFlag[i] = flag; } 440 441 Bool getMotionPredEnabledFlag (Int i) { return m_motionPredEnabledFlag[i]; } 442 Void setMotionPredEnabledFlag (Int i,Bool flag) { m_motionPredEnabledFlag[i] = flag; } 443 #endif 416 444 #endif 417 445 //======== Transform =============
Note: See TracChangeset for help on using the changeset viewer.