Changeset 498 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder
- Timestamp:
- 26 Jun 2013, 23:47:59 (12 years ago)
- Location:
- branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r495 r498 912 912 for( Int sIdx = 0; sIdx < pcVPS->getNumScalabilityTypes( ) - ( pcVPS->getSplittingFlag() ? 1 : 0 ); sIdx++ ) 913 913 { 914 READ_CODE( 3, uiCode, "dimension_id_len_minus1[j]" ); pcVPS->setDimensionIdLen( sIdx, uiCode + 1 ); 915 } 916 914 READ_CODE( 3, uiCode, "dimension_id_len_minus1[j]" ); pcVPS->setDimensionIdLen( sIdx, uiCode + 1 ); 915 } 916 917 if ( pcVPS->getSplittingFlag() ) 918 { 919 pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1, pcVPS->inferLastDimsionIdLen() ); 920 } 921 917 922 READ_FLAG( uiCode, "vps_nuh_layer_id_present_flag" ); pcVPS->setVpsNuhLayerIdPresentFlag( uiCode == 1 ? true : false ); 918 923 919 924 for( Int i = 0; i <= pcVPS->getMaxLayers() - 1; i++ ) 920 925 { 921 922 926 if ( pcVPS->getVpsNuhLayerIdPresentFlag() && ( i > 0 ) ) 923 927 { … … 928 932 pcVPS->setLayerIdInNuh( i, i );; 929 933 } 930 934 931 935 pcVPS->setLayerIdInVps( pcVPS->getLayerIdInNuh( i ), i ); 932 936 933 if ( !pcVPS->getSplittingFlag() )934 { 935 for( Int j = 0; j < pcVPS->getNumScalabilityTypes() ; j++ )936 { 937 for( Int j = 0; j < pcVPS->getNumScalabilityTypes() ; j++ ) 938 { 939 if ( !pcVPS->getSplittingFlag() ) 940 { 937 941 READ_CODE( pcVPS->getDimensionIdLen( j ), uiCode, "dimension_id[i][j]" ); pcVPS->setDimensionId( i, j, uiCode ); 938 942 } 939 } 940 } 943 else 944 { 945 pcVPS->setDimensionId( i, j, pcVPS->inferDimensionId( i, j) ); 946 } 947 } 948 } 949 941 950 942 951 for( Int i = 1; i <= pcVPS->getMaxLayers() - 1; i++ ) … … 979 988 { 980 989 READ_CODE( 10, uiCode, "num_add_output_layer_sets_minus1" ); pcVPS->setNumAddOutputLayerSetsMinus1( uiCode ); 981 numOutputLayerSets += pcVPS->getNumAddOutputLayerSetsMinus1();990 numOutputLayerSets += ( pcVPS->getNumAddOutputLayerSetsMinus1( ) + 1); 982 991 } 983 992 -
branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecSlice.cpp
r324 r498 123 123 DTRACE_CABAC_T( "\tPOC: " ); 124 124 DTRACE_CABAC_V( rpcPic->getPOC() ); 125 #if H_MV 126 DTRACE_CABAC_T( "\tLayer: " ); 127 DTRACE_CABAC_V( rpcPic->getLayerId() ); 128 #endif 129 125 130 DTRACE_CABAC_T( "\n" ); 126 131
Note: See TracChangeset for help on using the changeset viewer.