Changeset 157 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 May 2013, 01:28:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r156 r157 903 903 } 904 904 #endif 905 905 #if VPS_MOVE_DIR_DEPENDENCY_FLAG 906 #if VPS_EXTN_DIRECT_REF_LAYERS 907 // For layer 0 908 vps->setNumDirectRefLayers(0, 0); 909 // For other layers 910 for( Int layerCtr = 1; layerCtr <= vps->getMaxLayers() - 1; layerCtr++) 911 { 912 UInt numDirectRefLayers = 0; 913 for( Int refLayerCtr = 0; refLayerCtr < layerCtr; refLayerCtr++) 914 { 915 READ_FLAG(uiCode, "direct_dependency_flag[i][j]" ); vps->setDirectDependencyFlag(layerCtr, refLayerCtr, uiCode? true : false); 916 if(uiCode) 917 { 918 vps->setRefLayerId(layerCtr, numDirectRefLayers, refLayerCtr); 919 numDirectRefLayers++; 920 } 921 } 922 vps->setNumDirectRefLayers(layerCtr, numDirectRefLayers); 923 } 924 #endif 925 #endif 906 926 #if VPS_EXTN_PROFILE_INFO 907 927 // Profile-tier-level signalling … … 941 961 } 942 962 #endif 963 #if !VPS_MOVE_DIR_DEPENDENCY_FLAG 943 964 #if VPS_EXTN_DIRECT_REF_LAYERS 944 965 // For layer 0 … … 959 980 vps->setNumDirectRefLayers(layerCtr, numDirectRefLayers); 960 981 } 982 #endif 961 983 #endif 962 984 }
Note: See TracChangeset for help on using the changeset viewer.