Changeset 118 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder
- Timestamp:
- 11 Apr 2013, 00:34:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecCAVLC.cpp
r116 r118 934 934 } 935 935 #endif 936 // ... More syntax elements to be parsed here 936 #if VPS_EXTN_DIRECT_REF_LAYERS 937 // For layer 0 938 vps->setNumDirectRefLayers(0, 0); 939 // For other layers 940 for( Int layerCtr = 1; layerCtr <= vps->getMaxLayers() - 1; layerCtr++) 941 { 942 UInt numDirectRefLayers = 0; 943 for( Int refLayerCtr = 0; refLayerCtr < layerCtr; refLayerCtr++) 944 { 945 READ_FLAG(uiCode, "direct_dependency_flag[i][j]" ); vps->setDirectDependencyFlag(layerCtr, refLayerCtr, uiCode? true : false); 946 if(uiCode) 947 { 948 vps->setRefLayerId(layerCtr, numDirectRefLayers, refLayerCtr); 949 numDirectRefLayers++; 950 } 951 } 952 vps->setNumDirectRefLayers(layerCtr, numDirectRefLayers); 953 } 954 #endif 937 955 } 938 956 #endif
Note: See TracChangeset for help on using the changeset viewer.