Changeset 887 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 17 Sep 2014, 01:08:52 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r886 r887 1947 1947 } 1948 1948 #else 1949 #if CROSS_LAYER_BLA_FLAG_FIX 1950 Int iBits = 0; 1951 if(pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits) 1952 #else 1949 1953 if (pcSlice->getPPS()->getNumExtraSliceHeaderBits()>0) 1954 #endif 1950 1955 { 1951 1956 assert(!!"discardable_flag"); … … 1961 1966 #endif 1962 1967 WRITE_FLAG(pcSlice->getDiscardableFlag(), "discardable_flag"); 1963 } 1968 #if CROSS_LAYER_BLA_FLAG_FIX 1969 iBits++; 1970 #endif 1971 } 1972 #if CROSS_LAYER_BLA_FLAG_FIX 1973 if( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits ) 1974 { 1975 assert(!!"cross_layer_bla_flag"); 1976 WRITE_FLAG(pcSlice->getCrossLayerBLAFlag(), "cross_layer_bla_flag"); 1977 iBits++; 1978 } 1979 for (; iBits < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++) 1980 #else 1964 1981 for (Int i = 1; i < pcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++) 1982 #endif 1965 1983 { 1966 1984 assert(!!"slice_reserved_undetermined_flag[]");
Note: See TracChangeset for help on using the changeset viewer.