Changeset 577 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 29 Jan 2014, 01:55:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r576 r577 965 965 if( numOutputLayerSets > 1 ) 966 966 { 967 #if P0295_DEFAULT_OUT_LAYER_IDC 968 WRITE_CODE( vps->getDefaultTargetOutputLayerIdc(), 2, "default_target_output_layer_idc" ); 969 #else 967 970 #if O0109_DEFAULT_ONE_OUT_LAYER_IDC 968 971 WRITE_CODE( vps->getDefaultOneTargetOutputLayerIdc(), 2, "default_one_target_output_layer_idc" ); … … 970 973 WRITE_FLAG( vps->getDefaultOneTargetOutputLayerFlag(), "default_one_target_output_layer_flag" ); 971 974 #endif 975 #endif 972 976 } 973 977 … … 981 985 numBits++; 982 986 } 983 WRITE_CODE( vps->getOutputLayerSetIdx(i) - 1, numBits, "output_layer_set_idx_minus1"); 987 WRITE_CODE( vps->getOutputLayerSetIdx(i) - 1, numBits, "output_layer_set_idx_minus1"); 988 #if P0295_DEFAULT_OUT_LAYER_IDC 989 } 990 if ( i > (vps->getNumLayerSets() - 1) || vps->getDefaultTargetOutputLayerIdc() >= 2 ) //Instead of == 2, >= 2 is used to follow the agreement that value 3 should be interpreted as 2 991 { 992 #endif 984 993 Int lsIdx = vps->getOutputLayerSetIdx(i); 985 994 for(j = 0; j < vps->getNumLayersInIdList(lsIdx) - 1; j++)
Note: See TracChangeset for help on using the changeset viewer.