Changeset 509 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 4 Dec 2013, 07:44:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r508 r509 1907 1907 else 1908 1908 { 1909 #if O0225_TID_BASED_IL_RPS_DERIV 1910 if(rpcSlice->getVPS()->getMaxTidIlRefPicsPlus1(0,rpcSlice->getLayerId()) > rpcSlice->getTLayer()) 1911 { 1912 #endif 1909 1913 rpcSlice->setActiveNumILRRefIdx(1); 1910 1914 rpcSlice->setInterLayerPredLayerIdc(0,0); 1915 #if O0225_TID_BASED_IL_RPS_DERIV 1916 } 1917 #endif 1911 1918 } 1912 1919 } … … 1914 1921 #if ILP_SSH_SIG 1915 1922 #if ILP_SSH_SIG_FIX 1916 else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == true )1923 else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == true && (rpcSlice->getLayerId() > 0 )) 1917 1924 #else 1918 1925 else if( rpcSlice->getVPS()->getIlpSshSignalingEnabledFlag() == false ) … … 1920 1927 { 1921 1928 rpcSlice->setInterLayerPredEnabledFlag(true); 1929 1930 #if O0225_TID_BASED_IL_RPS_DERIV 1931 Int numRefLayerPics = 0; 1932 Int i = 0; 1933 Int refLayerPicIdc [MAX_VPS_LAYER_ID_PLUS1]; 1934 for(i = 0, numRefLayerPics = 0; i < rpcSlice->getNumILRRefIdx(); i++ ) 1935 { 1936 if(rpcSlice->getVPS()->getMaxTidIlRefPicsPlus1(rpcSlice->getVPS()->getLayerIdInVps(i),rpcSlice->getLayerId()) > rpcSlice->getTLayer()) 1937 { 1938 refLayerPicIdc[ numRefLayerPics++ ] = i; 1939 } 1940 } 1941 rpcSlice->setActiveNumILRRefIdx(numRefLayerPics); 1942 for( i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) 1943 { 1944 rpcSlice->setInterLayerPredLayerIdc(refLayerPicIdc[i],i); 1945 } 1946 #else 1922 1947 rpcSlice->setActiveNumILRRefIdx(rpcSlice->getNumILRRefIdx()); 1923 1948 for( Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ ) … … 1925 1950 rpcSlice->setInterLayerPredLayerIdc(i,i); 1926 1951 } 1952 #endif 1927 1953 } 1928 1954 #endif
Note: See TracChangeset for help on using the changeset viewer.