Changeset 289 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 17 Jun 2013, 03:02:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r288 r289 726 726 } 727 727 728 #if VPS_SPLIT_FLAG 729 for(j = 0; j < vps->getNumScalabilityTypes() - vps->getSplittingFlag(); j++) 730 #else 728 731 for(j = 0; j < vps->getNumScalabilityTypes(); j++) 732 #endif 729 733 { 730 734 WRITE_CODE( vps->getDimensionIdLen(j) - 1, 3, "dimension_id_len_minus1[j]" ); … … 738 742 WRITE_CODE( vps->getLayerIdInNuh(i), 6, "layer_id_in_nuh[i]" ); 739 743 } 744 #if VPS_SPLIT_FLAG 745 if(!vps->getSplittingFlag()) 746 #endif 740 747 for(j = 0; j < vps->getNumScalabilityTypes(); j++) 741 748 { … … 904 911 if ( !pcSlice->getDependentSliceSegmentFlag() ) 905 912 { 906 for (Int i = 0; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++) 913 914 #if SH_DISCARDABLE_FLAG 915 if (pcSlice->getPPS()->getNumExtraSliceHeaderBits()>0) 916 { 917 assert(!!"discardable_flag"); 918 WRITE_FLAG(pcSlice->getDiscardableFlag(), "discardable_flag"); 919 } 920 for (Int i = 1; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++) 907 921 { 908 922 assert(!!"slice_reserved_undetermined_flag[]"); 909 923 WRITE_FLAG(0, "slice_reserved_undetermined_flag[]"); 910 924 } 925 #else 926 for (Int i = 0; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++) 927 { 928 assert(!!"slice_reserved_undetermined_flag[]"); 929 WRITE_FLAG(0, "slice_reserved_undetermined_flag[]"); 930 } 931 #endif 911 932 912 933 WRITE_UVLC( pcSlice->getSliceType(), "slice_type" );
Note: See TracChangeset for help on using the changeset viewer.