Changeset 918 in SHVCSoftware for branches/SHM-upgrade
- Timestamp:
- 12 Nov 2014, 20:27:23 (10 years ago)
- Location:
- branches/SHM-upgrade
- Files:
-
- 6 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/build/HM_vc10.sln
r345 r918 17 17 EndProject 18 18 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TAppDownConvert", "vc10\TAppDownConvert\TAppDownConvert.vcxproj", "{FB952E1B-681F-4461-9C8B-4F1F8B70E58B}" 19 EndProject 20 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TAppDecoderAnalyser", "vc10\TAppDecoderAnalyser_vc10.vcxproj", "{6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}" 21 EndProject 22 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibDecoderAnalyser", "vc10\TLibDecoderAnalyser_vc10.vcxproj", "{68C1251A-55D8-47C9-9052-62F785BD437A}" 19 23 EndProject 20 24 Global … … 90 94 {FB952E1B-681F-4461-9C8B-4F1F8B70E58B}.Release|x64.ActiveCfg = Release|x64 91 95 {FB952E1B-681F-4461-9C8B-4F1F8B70E58B}.Release|x64.Build.0 = Release|x64 96 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Debug|Win32.ActiveCfg = Debug|Win32 97 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Debug|Win32.Build.0 = Debug|Win32 98 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Debug|x64.ActiveCfg = Debug|x64 99 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Debug|x64.Build.0 = Debug|x64 100 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Release|Win32.ActiveCfg = Release|Win32 101 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Release|Win32.Build.0 = Release|Win32 102 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Release|x64.ActiveCfg = Release|x64 103 {6BB4C8D8-449D-4CC1-A5E1-E98AAF94012F}.Release|x64.Build.0 = Release|x64 104 {68C1251A-55D8-47C9-9052-62F785BD437A}.Debug|Win32.ActiveCfg = Debug|Win32 105 {68C1251A-55D8-47C9-9052-62F785BD437A}.Debug|Win32.Build.0 = Debug|Win32 106 {68C1251A-55D8-47C9-9052-62F785BD437A}.Debug|x64.ActiveCfg = Debug|x64 107 {68C1251A-55D8-47C9-9052-62F785BD437A}.Debug|x64.Build.0 = Debug|x64 108 {68C1251A-55D8-47C9-9052-62F785BD437A}.Release|Win32.ActiveCfg = Release|Win32 109 {68C1251A-55D8-47C9-9052-62F785BD437A}.Release|Win32.Build.0 = Release|Win32 110 {68C1251A-55D8-47C9-9052-62F785BD437A}.Release|x64.ActiveCfg = Release|x64 111 {68C1251A-55D8-47C9-9052-62F785BD437A}.Release|x64.Build.0 = Release|x64 92 112 EndGlobalSection 93 113 GlobalSection(SolutionProperties) = preSolution -
branches/SHM-upgrade/build/linux/app/TAppDecoder/makefile
r125 r918 16 16 USER_LIB_DIRS = 17 17 18 ifeq ($(HIGHBITDEPTH), 1) 19 HBD=HighBitDepth 20 else 21 HBD= 22 endif 23 18 24 # intermediate directory for object files 19 OBJ_DIR = ./objects 25 OBJ_DIR = ./objects$(HBD) 20 26 21 27 # set executable name 22 PRJ_NAME = TAppDecoder 28 PRJ_NAME = TAppDecoder$(HBD) 23 29 24 30 # defines to set … … 41 47 42 48 43 DYN_DEBUG_LIBS = -lTLibDecoder d -lTLibCommond -lTLibVideoIOd -lTAppCommond44 DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibDecoder d.a $(LIB_DIR)/libTLibCommond.a $(LIB_DIR)/libTLibVideoIOd.a $(LIB_DIR)/libTAppCommond.a45 STAT_DEBUG_LIBS = -lTLibDecoder Staticd -lTLibCommonStaticd -lTLibVideoIOStaticd -lTAppCommonStaticd46 STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibDecoder Staticd.a $(LIB_DIR)/libTLibCommonStaticd.a $(LIB_DIR)/libTLibVideoIOStaticd.a $(LIB_DIR)/libTAppCommonStaticd.a49 DYN_DEBUG_LIBS = -lTLibDecoder$(HBD)d -lTLibCommon$(HBD)d -lTLibVideoIO$(HBD)d -lTAppCommon$(HBD)d 50 DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibDecoder$(HBD)d.a $(LIB_DIR)/libTLibCommon$(HBD)d.a $(LIB_DIR)/libTLibVideoIO$(HBD)d.a $(LIB_DIR)/libTAppCommon$(HBD)d.a 51 STAT_DEBUG_LIBS = -lTLibDecoder$(HBD)Staticd -lTLibCommon$(HBD)Staticd -lTLibVideoIO$(HBD)Staticd -lTAppCommon$(HBD)Staticd 52 STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibDecoder$(HBD)Staticd.a $(LIB_DIR)/libTLibCommon$(HBD)Staticd.a $(LIB_DIR)/libTLibVideoIO$(HBD)Staticd.a $(LIB_DIR)/libTAppCommon$(HBD)Staticd.a 47 53 48 DYN_RELEASE_LIBS = -lTLibDecoder -lTLibCommon -lTLibVideoIO -lTAppCommon49 DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibDecoder .a $(LIB_DIR)/libTLibCommon.a $(LIB_DIR)/libTLibVideoIO.a $(LIB_DIR)/libTAppCommon.a50 STAT_RELEASE_LIBS = -lTLibDecoder Static -lTLibCommonStatic -lTLibVideoIOStatic -lTAppCommonStatic51 STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibDecoder Static.a $(LIB_DIR)/libTLibCommonStatic.a $(LIB_DIR)/libTLibVideoIOStatic.a $(LIB_DIR)/libTAppCommonStatic.a54 DYN_RELEASE_LIBS = -lTLibDecoder$(HBD) -lTLibCommon$(HBD) -lTLibVideoIO$(HBD) -lTAppCommon$(HBD) 55 DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibDecoder$(HBD).a $(LIB_DIR)/libTLibCommon$(HBD).a $(LIB_DIR)/libTLibVideoIO$(HBD).a $(LIB_DIR)/libTAppCommon$(HBD).a 56 STAT_RELEASE_LIBS = -lTLibDecoder$(HBD)Static -lTLibCommon$(HBD)Static -lTLibVideoIO$(HBD)Static -lTAppCommon$(HBD)Static 57 STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibDecoder$(HBD)Static.a $(LIB_DIR)/libTLibCommon$(HBD)Static.a $(LIB_DIR)/libTLibVideoIO$(HBD)Static.a $(LIB_DIR)/libTAppCommon$(HBD)Static.a 52 58 53 59 -
branches/SHM-upgrade/build/linux/app/TAppEncoder/makefile
r125 r918 16 16 USER_LIB_DIRS = 17 17 18 ifeq ($(HIGHBITDEPTH), 1) 19 HBD=HighBitDepth 20 else 21 HBD= 22 endif 23 18 24 # intermediate directory for object files 19 OBJ_DIR = ./objects 25 OBJ_DIR = ./objects$(HBD) 20 26 21 27 # set executable name 22 PRJ_NAME = TAppEncoder 28 PRJ_NAME = TAppEncoder$(HBD) 23 29 24 30 # defines to set … … 42 48 43 49 44 DYN_DEBUG_LIBS = -lTLibEncoder d -lTLibCommond -lTLibVideoIOd -lTAppCommond45 DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoder d.a $(LIB_DIR)/libTLibCommond.a $(LIB_DIR)/libTLibVideoIOd.a $(LIB_DIR)/libTAppCommond.a46 STAT_DEBUG_LIBS = -lTLibEncoder Staticd -lTLibCommonStaticd -lTLibVideoIOStaticd -lTAppCommonStaticd47 STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoder Staticd.a $(LIB_DIR)/libTLibCommonStaticd.a $(LIB_DIR)/libTLibVideoIOStaticd.a $(LIB_DIR)/libTAppCommonStaticd.a50 DYN_DEBUG_LIBS = -lTLibEncoder$(HBD)d -lTLibCommon$(HBD)d -lTLibVideoIO$(HBD)d -lTAppCommon$(HBD)d 51 DYN_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD)d.a $(LIB_DIR)/libTLibCommon$(HBD)d.a $(LIB_DIR)/libTLibVideoIO$(HBD)d.a $(LIB_DIR)/libTAppCommon$(HBD)d.a 52 STAT_DEBUG_LIBS = -lTLibEncoder$(HBD)Staticd -lTLibCommon$(HBD)Staticd -lTLibVideoIO$(HBD)Staticd -lTAppCommon$(HBD)Staticd 53 STAT_DEBUG_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD)Staticd.a $(LIB_DIR)/libTLibCommon$(HBD)Staticd.a $(LIB_DIR)/libTLibVideoIO$(HBD)Staticd.a $(LIB_DIR)/libTAppCommon$(HBD)Staticd.a 48 54 49 DYN_RELEASE_LIBS = -lTLibEncoder -lTLibCommon -lTLibVideoIO -lTAppCommon50 DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder .a $(LIB_DIR)/libTLibCommon.a $(LIB_DIR)/libTLibVideoIO.a $(LIB_DIR)/libTAppCommon.a51 STAT_RELEASE_LIBS = -lTLibEncoder Static -lTLibCommonStatic -lTLibVideoIOStatic -lTAppCommonStatic52 STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder Static.a $(LIB_DIR)/libTLibCommonStatic.a $(LIB_DIR)/libTLibVideoIOStatic.a $(LIB_DIR)/libTAppCommonStatic.a55 DYN_RELEASE_LIBS = -lTLibEncoder$(HBD) -lTLibCommon$(HBD) -lTLibVideoIO$(HBD) -lTAppCommon$(HBD) 56 DYN_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD).a $(LIB_DIR)/libTLibCommon$(HBD).a $(LIB_DIR)/libTLibVideoIO$(HBD).a $(LIB_DIR)/libTAppCommon$(HBD).a 57 STAT_RELEASE_LIBS = -lTLibEncoder$(HBD)Static -lTLibCommon$(HBD)Static -lTLibVideoIO$(HBD)Static -lTAppCommon$(HBD)Static 58 STAT_RELEASE_PREREQS = $(LIB_DIR)/libTLibEncoder$(HBD)Static.a $(LIB_DIR)/libTLibCommon$(HBD)Static.a $(LIB_DIR)/libTLibVideoIO$(HBD)Static.a $(LIB_DIR)/libTAppCommon$(HBD)Static.a 53 59 54 60 -
branches/SHM-upgrade/build/linux/common/makefile.base
r125 r918 13 13 ######################################################### 14 14 15 CPP = g++ 15 CPP = g++ 16 CC = gcc 16 17 AR = ar 17 18 LD = $(CPP) … … 58 59 ########## 59 60 61 ifeq ($(HIGHBITDEPTH), 1) 62 CPPFLAGS+="-DRExt__HIGH_BIT_DEPTH_SUPPORT=1" 63 endif 64 60 65 # 61 66 # debug cpp flags … … 63 68 # 64 69 # release cpp 65 RELEASE_CPPFLAGS = -O3 - ffloat-store -Wuninitialized70 RELEASE_CPPFLAGS = -O3 -Wuninitialized 66 71 67 72 … … 208 213 rm -f $(OBJ_DIR)/$*.d.d 209 214 endef 215 define COMPILE_AND_DEPEND_RELEASE_C 216 $(CC) -c -MMD -MF $(OBJ_DIR)/$*.r.d -MT $(OBJ_DIR)/$*.r.o $(CPPFLAGS) $(RELEASE_CPPFLAGS) -o $@ $(CURDIR)/$< 217 @cp $(OBJ_DIR)/$*.r.d $(OBJ_DIR)/$*.r.P; \ 218 sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ 219 -e '/^$$/ d' -e 's/$$/ :/' < $(OBJ_DIR)/$*.r.d >> $(OBJ_DIR)/$*.r.P; \ 220 rm -f $(OBJ_DIR)/$*.r.d 221 endef 222 define COMPILE_AND_DEPEND_DEBUG_C 223 $(CC) -c -MMD -MF $(OBJ_DIR)/$*.d.d -MT $(OBJ_DIR)/$*.d.o $(CPPFLAGS) $(DEBUG_CPPFLAGS) -o $@ $(CURDIR)/$< 224 @cp $(OBJ_DIR)/$*.d.d $(OBJ_DIR)/$*.d.P; \ 225 sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \ 226 -e '/^$$/ d' -e 's/$$/ :/' < $(OBJ_DIR)/$*.d.d >> $(OBJ_DIR)/$*.d.P; \ 227 rm -f $(OBJ_DIR)/$*.d.d 228 endef 210 229 211 230 # create release objects … … 251 270 # create release objects 252 271 $(OBJ_DIR)/%.r.o: $(SRC_DIR)/%.c 253 $(COMPILE_AND_DEPEND_RELEASE )272 $(COMPILE_AND_DEPEND_RELEASE_C) 254 273 255 274 # create debug objects 256 275 $(OBJ_DIR)/%.d.o: $(SRC_DIR)/%.c 257 $(COMPILE_AND_DEPEND_DEBUG )276 $(COMPILE_AND_DEPEND_DEBUG_C) 258 277 259 278 # create release objects 260 279 $(OBJ_DIR)/%.r.o: $(SRC_DIR1)/%.c 261 $(COMPILE_AND_DEPEND_RELEASE )280 $(COMPILE_AND_DEPEND_RELEASE_C) 262 281 263 282 # create debug objects 264 283 $(OBJ_DIR)/%.d.o: $(SRC_DIR1)/%.c 265 $(COMPILE_AND_DEPEND_DEBUG )284 $(COMPILE_AND_DEPEND_DEBUG_C) 266 285 267 286 # create release objects 268 287 $(OBJ_DIR)/%.r.o: $(SRC_DIR2)/%.c 269 $(COMPILE_AND_DEPEND_RELEASE )288 $(COMPILE_AND_DEPEND_RELEASE_C) 270 289 271 290 # create debug objects 272 291 $(OBJ_DIR)/%.d.o: $(SRC_DIR2)/%.c 273 $(COMPILE_AND_DEPEND_DEBUG )292 $(COMPILE_AND_DEPEND_DEBUG_C) 274 293 275 294 # create release objects 276 295 $(OBJ_DIR)/%.r.o: $(SRC_DIR3)/%.c 277 $(COMPILE_AND_DEPEND_RELEASE )296 $(COMPILE_AND_DEPEND_RELEASE_C) 278 297 279 298 # create debug objects 280 299 $(OBJ_DIR)/%.d.o: $(SRC_DIR3)/%.c 281 $(COMPILE_AND_DEPEND_DEBUG )300 $(COMPILE_AND_DEPEND_DEBUG_C) 282 301 283 302 # create release objects 284 303 $(OBJ_DIR)/%.r.o: $(SRC_DIR4)/%.c 285 $(COMPILE_AND_DEPEND_RELEASE )304 $(COMPILE_AND_DEPEND_RELEASE_C) 286 305 287 306 # create debug objects 288 307 $(OBJ_DIR)/%.d.o: $(SRC_DIR4)/%.c 289 $(COMPILE_AND_DEPEND_DEBUG )308 $(COMPILE_AND_DEPEND_DEBUG_C) 290 309 291 310 -
branches/SHM-upgrade/build/linux/lib/TAppCommon/makefile
r125 r918 17 17 USER_LIB_DIRS = 18 18 19 ifeq ($(HIGHBITDEPTH), 1) 20 HBD=HighBitDepth 21 else 22 HBD= 23 endif 24 19 25 # intermediate directory for object files 20 OBJ_DIR = ./objects 26 OBJ_DIR = ./objects$(HBD) 21 27 22 28 # the library name 23 PRJ_NAME = TAppCommon 29 PRJ_NAME = TAppCommon$(HBD) 24 30 25 31 # version information -
branches/SHM-upgrade/build/linux/lib/TLibCommon/makefile
r713 r918 17 17 USER_LIB_DIRS = 18 18 19 ifeq ($(HIGHBITDEPTH), 1) 20 HBD=HighBitDepth 21 else 22 HBD= 23 endif 24 19 25 # intermediate directory for object files 20 OBJ_DIR = ./objects 26 OBJ_DIR = ./objects$(HBD) 21 27 22 28 # the library name 23 PRJ_NAME = TLibCommon 29 PRJ_NAME = TLibCommon$(HBD) 24 30 25 31 # version information … … 33 39 # set objects 34 40 OBJS = \ 41 $(OBJ_DIR)/Debug.o \ 42 $(OBJ_DIR)/TComPicYuv.o \ 43 $(OBJ_DIR)/TComYuv.o \ 35 44 $(OBJ_DIR)/ContextModel.o \ 36 45 $(OBJ_DIR)/ContextModel3DBuffer.o \ … … 39 48 $(OBJ_DIR)/TComSampleAdaptiveOffset.o \ 40 49 $(OBJ_DIR)/TComBitStream.o \ 50 $(OBJ_DIR)/TComChromaFormat.o \ 41 51 $(OBJ_DIR)/TComDataCU.o \ 42 52 $(OBJ_DIR)/TComLoopFilter.o \ … … 45 55 $(OBJ_DIR)/TComPic.o \ 46 56 $(OBJ_DIR)/TComPicSym.o \ 47 $(OBJ_DIR)/TComPicYuv.o \48 57 $(OBJ_DIR)/TComPicYuvMD5.o \ 49 58 $(OBJ_DIR)/TComPrediction.o \ … … 52 61 $(OBJ_DIR)/TComSlice.o \ 53 62 $(OBJ_DIR)/TComTrQuant.o \ 54 $(OBJ_DIR)/TCom Yuv.o \63 $(OBJ_DIR)/TComTU.o \ 55 64 $(OBJ_DIR)/TComInterpolationFilter.o \ 56 65 $(OBJ_DIR)/libmd5.o \ -
branches/SHM-upgrade/build/linux/lib/TLibDecoder/makefile
r125 r918 17 17 USER_LIB_DIRS = 18 18 19 ifeq ($(HIGHBITDEPTH), 1) 20 HBD=HighBitDepth 21 else 22 HBD= 23 endif 24 19 25 # intermediate directory for object files 20 OBJ_DIR = ./objects 26 OBJ_DIR = ./objects$(HBD) 21 27 22 28 # the library name 23 PRJ_NAME = TLibDecoder 29 PRJ_NAME = TLibDecoder$(HBD) 24 30 25 31 # version information -
branches/SHM-upgrade/build/linux/lib/TLibEncoder/makefile
r713 r918 17 17 USER_LIB_DIRS = 18 18 19 ifeq ($(HIGHBITDEPTH), 1) 20 HBD=HighBitDepth 21 else 22 HBD= 23 endif 24 19 25 # intermediate directory for object files 20 OBJ_DIR = ./objects 26 OBJ_DIR = ./objects$(HBD) 21 27 22 28 # the library name 23 PRJ_NAME = TLibEncoder 29 PRJ_NAME = TLibEncoder$(HBD) 24 30 25 31 # version information -
branches/SHM-upgrade/build/linux/lib/TLibVideoIO/makefile
r125 r918 17 17 USER_LIB_DIRS = 18 18 19 ifeq ($(HIGHBITDEPTH), 1) 20 HBD=HighBitDepth 21 else 22 HBD= 23 endif 24 19 25 # intermediate directory for object files 20 OBJ_DIR = ./objects 26 OBJ_DIR = ./objects$(HBD) 21 27 22 28 # the library name 23 PRJ_NAME = TLibVideoIO 29 PRJ_NAME = TLibVideoIO$(HBD) 24 30 25 31 # version information -
branches/SHM-upgrade/build/linux/makefile
r349 r918 15 15 $(MAKE) -C utils/annexBbytecount MM32=$(M32) 16 16 $(MAKE) -C utils/convert_NtoMbit_YCbCr MM32=$(M32) 17 $(MAKE) -C lib/TLibDecoderAnalyser MM32=$(M32) 18 $(MAKE) -C app/TAppDecoderAnalyser MM32=$(M32) 17 19 18 20 debug: … … 27 29 $(MAKE) -C utils/annexBbytecount debug MM32=$(M32) 28 30 $(MAKE) -C utils/convert_NtoMbit_YCbCr debug MM32=$(M32) 31 $(MAKE) -C lib/TLibDecoderAnalyser debug MM32=$(M32) 32 $(MAKE) -C app/TAppDecoderAnalyser debug MM32=$(M32) 29 33 30 34 release: … … 36 40 $(MAKE) -C app/TAppDecoder release MM32=$(M32) 37 41 $(MAKE) -C app/TAppEncoder release MM32=$(M32) 38 $(MAKE) -C app/TAppDownConvert 42 $(MAKE) -C app/TAppDownConvert release MM32=$(M32) 39 43 $(MAKE) -C utils/annexBbytecount release MM32=$(M32) 40 44 $(MAKE) -C utils/convert_NtoMbit_YCbCr release MM32=$(M32) 45 $(MAKE) -C lib/TLibDecoderAnalyser release MM32=$(M32) 46 $(MAKE) -C app/TAppDecoderAnalyser release MM32=$(M32) 41 47 42 clean: 48 clean: clean_highbitdepth 43 49 $(MAKE) -C lib/TLibVideoIO clean MM32=$(M32) 44 50 $(MAKE) -C lib/TLibCommon clean MM32=$(M32) … … 51 57 $(MAKE) -C utils/annexBbytecount clean MM32=$(M32) 52 58 $(MAKE) -C utils/convert_NtoMbit_YCbCr clean MM32=$(M32) 59 $(MAKE) -C lib/TLibDecoderAnalyser clean MM32=$(M32) 60 $(MAKE) -C app/TAppDecoderAnalyser clean MM32=$(M32) 61 62 all_highbitdepth: 63 $(MAKE) -C lib/TLibVideoIO MM32=$(M32) HIGHBITDEPTH=1 64 $(MAKE) -C lib/TLibCommon MM32=$(M32) HIGHBITDEPTH=1 65 $(MAKE) -C lib/TLibDecoder MM32=$(M32) HIGHBITDEPTH=1 66 $(MAKE) -C lib/TLibEncoder MM32=$(M32) HIGHBITDEPTH=1 67 $(MAKE) -C app/TAppDownConvert MM32=$(M32) HIGHBITDEPTH=1 68 $(MAKE) -C lib/TAppCommon MM32=$(M32) HIGHBITDEPTH=1 69 $(MAKE) -C app/TAppDecoder MM32=$(M32) HIGHBITDEPTH=1 70 $(MAKE) -C app/TAppEncoder MM32=$(M32) HIGHBITDEPTH=1 71 $(MAKE) -C lib/TLibDecoderAnalyser MM32=$(M32) HIGHBITDEPTH=1 72 $(MAKE) -C app/TAppDecoderAnalyser MM32=$(M32) HIGHBITDEPTH=1 73 74 debug_highbitdepth: 75 $(MAKE) -C lib/TLibVideoIO debug MM32=$(M32) HIGHBITDEPTH=1 76 $(MAKE) -C lib/TLibCommon debug MM32=$(M32) HIGHBITDEPTH=1 77 $(MAKE) -C lib/TLibDecoder debug MM32=$(M32) HIGHBITDEPTH=1 78 $(MAKE) -C lib/TLibEncoder debug MM32=$(M32) HIGHBITDEPTH=1 79 $(MAKE) -C app/TAppDownConvert debug MM32=$(M32) HIGHBITDEPTH=1 80 $(MAKE) -C lib/TAppCommon debug MM32=$(M32) HIGHBITDEPTH=1 81 $(MAKE) -C app/TAppDecoder debug MM32=$(M32) HIGHBITDEPTH=1 82 $(MAKE) -C app/TAppEncoder debug MM32=$(M32) HIGHBITDEPTH=1 83 $(MAKE) -C lib/TLibDecoderAnalyser debug MM32=$(M32) HIGHBITDEPTH=1 84 $(MAKE) -C app/TAppDecoderAnalyser debug MM32=$(M32) HIGHBITDEPTH=1 85 86 release_highbitdepth: 87 $(MAKE) -C lib/TLibVideoIO release MM32=$(M32) HIGHBITDEPTH=1 88 $(MAKE) -C lib/TLibCommon release MM32=$(M32) HIGHBITDEPTH=1 89 $(MAKE) -C lib/TLibDecoder release MM32=$(M32) HIGHBITDEPTH=1 90 $(MAKE) -C lib/TLibEncoder release MM32=$(M32) HIGHBITDEPTH=1 91 $(MAKE) -C app/TAppDownConvert release MM32=$(M32) HIGHBITDEPTH=1 92 $(MAKE) -C lib/TAppCommon release MM32=$(M32) HIGHBITDEPTH=1 93 $(MAKE) -C app/TAppDecoder release MM32=$(M32) HIGHBITDEPTH=1 94 $(MAKE) -C app/TAppEncoder release MM32=$(M32) HIGHBITDEPTH=1 95 $(MAKE) -C lib/TLibDecoderAnalyser release MM32=$(M32) HIGHBITDEPTH=1 96 $(MAKE) -C app/TAppDecoderAnalyser release MM32=$(M32) HIGHBITDEPTH=1 97 98 clean_highbitdepth: 99 $(MAKE) -C lib/TLibVideoIO clean MM32=$(M32) HIGHBITDEPTH=1 100 $(MAKE) -C lib/TLibCommon clean MM32=$(M32) HIGHBITDEPTH=1 101 $(MAKE) -C lib/TLibDecoder clean MM32=$(M32) HIGHBITDEPTH=1 102 $(MAKE) -C lib/TLibEncoder clean MM32=$(M32) HIGHBITDEPTH=1 103 $(MAKE) -C app/TAppDownConvert clean MM32=$(M32) HIGHBITDEPTH=1 104 $(MAKE) -C lib/TAppCommon clean MM32=$(M32) HIGHBITDEPTH=1 105 $(MAKE) -C app/TAppDecoder clean MM32=$(M32) HIGHBITDEPTH=1 106 $(MAKE) -C app/TAppEncoder clean MM32=$(M32) HIGHBITDEPTH=1 107 $(MAKE) -C lib/TLibDecoderAnalyser clean MM32=$(M32) HIGHBITDEPTH=1 108 $(MAKE) -C app/TAppDecoderAnalyser clean MM32=$(M32) HIGHBITDEPTH=1 109 110 everything: all all_highbitdepth -
branches/SHM-upgrade/build/vc10/TAppEncoder_vc10.vcxproj
r125 r918 102 102 <SubSystem>Console</SubSystem> 103 103 <TargetMachine>MachineX86</TargetMachine> 104 <StackReserveSize>8000000</StackReserveSize> 104 105 </Link> 105 106 </ItemDefinitionGroup> … … 142 143 <SubSystem>Console</SubSystem> 143 144 <TargetMachine>MachineX86</TargetMachine> 145 <StackReserveSize>8000000</StackReserveSize> 144 146 </Link> 145 147 </ItemDefinitionGroup> -
branches/SHM-upgrade/build/vc10/TAppEncoder_vc10.vcxproj.user
r125 r918 2 2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 3 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 4 <LocalDebuggerCommandArguments>-c cfg/per-sequence-svc/Bus-2x.cfg -c cfg/encoder_lowdelay_ main.cfg -q0 30 -q1 30 -g 4 -f 5 -b str/Bus.bin -c option.cfg -ibl rec/BusBL-2x_rec.yuv -ibs rec/BusBL-2x_syntax.bin</LocalDebuggerCommandArguments>4 <LocalDebuggerCommandArguments>-c cfg/per-sequence-svc/Bus-2x.cfg -c cfg/encoder_lowdelay_scalable.cfg -c cfg/layers.cfg -q0 30 -q1 30 -g 4 -f 5 -b str/Bus.bin -c option.cfg </LocalDebuggerCommandArguments> 5 5 </PropertyGroup> 6 6 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> -
branches/SHM-upgrade/build/vc10/TLibCommon_vc10.vcxproj
r713 r918 147 147 <ClCompile Include="..\..\source\Lib\TLibCommon\ContextModel3DBuffer.cpp" /> 148 148 <ClCompile Include="..\..\source\Lib\libmd5\libmd5.c" /> 149 <ClCompile Include="..\..\source\Lib\TLibCommon\Debug.cpp" /> 149 150 <ClCompile Include="..\..\source\Lib\TLibCommon\SEI.cpp" /> 150 151 <ClCompile Include="..\..\source\Lib\TLibCommon\TCom3DAsymLUT.cpp" /> 151 152 <ClCompile Include="..\..\source\Lib\TLibCommon\TComBitStream.cpp" /> 152 153 <ClCompile Include="..\..\source\Lib\TLibCommon\TComCABACTables.cpp" /> 154 <ClCompile Include="..\..\source\Lib\TLibCommon\TComChromaFormat.cpp" /> 153 155 <ClCompile Include="..\..\source\Lib\TLibCommon\TComDataCU.cpp" /> 154 156 <ClCompile Include="..\..\source\Lib\TLibCommon\TComInterpolationFilter.cpp" /> … … 167 169 <ClCompile Include="..\..\source\Lib\TLibCommon\TComSlice.cpp" /> 168 170 <ClCompile Include="..\..\source\Lib\TLibCommon\TComTrQuant.cpp" /> 171 <ClCompile Include="..\..\source\Lib\TLibCommon\TComTU.cpp" /> 169 172 <ClCompile Include="..\..\source\Lib\TLibCommon\TComUpsampleFilter.cpp" /> 170 173 <ClCompile Include="..\..\source\Lib\TLibCommon\TComWeightPrediction.cpp" /> … … 179 182 <ClInclude Include="..\..\source\Lib\libmd5\libmd5.h" /> 180 183 <ClInclude Include="..\..\source\Lib\libmd5\MD5.h" /> 184 <ClInclude Include="..\..\source\Lib\TLibCommon\Debug.h" /> 181 185 <ClInclude Include="..\..\source\Lib\TLibCommon\NAL.h" /> 182 186 <ClInclude Include="..\..\source\Lib\TLibCommon\SEI.h" /> … … 185 189 <ClInclude Include="..\..\source\Lib\TLibCommon\TComBitStream.h" /> 186 190 <ClInclude Include="..\..\source\Lib\TLibCommon\TComCABACTables.h" /> 191 <ClInclude Include="..\..\source\Lib\TLibCommon\TComChromaFormat.h" /> 192 <ClInclude Include="..\..\source\Lib\TLibCommon\TComCodingStatistics.h" /> 187 193 <ClInclude Include="..\..\source\Lib\TLibCommon\TComDataCU.h" /> 188 194 <ClInclude Include="..\..\source\Lib\TLibCommon\TComInterpolationFilter.h" /> … … 198 204 <ClInclude Include="..\..\source\Lib\TLibCommon\TComRdCost.h" /> 199 205 <ClInclude Include="..\..\source\Lib\TLibCommon\TComRdCostWeightPrediction.h" /> 206 <ClInclude Include="..\..\source\Lib\TLibCommon\TComRectangle.h" /> 200 207 <ClInclude Include="..\..\source\Lib\TLibCommon\TComRom.h" /> 201 208 <ClInclude Include="..\..\source\Lib\TLibCommon\TComSampleAdaptiveOffset.h" /> 202 209 <ClInclude Include="..\..\source\Lib\TLibCommon\TComSlice.h" /> 203 210 <ClInclude Include="..\..\source\Lib\TLibCommon\TComTrQuant.h" /> 211 <ClInclude Include="..\..\source\Lib\TLibCommon\TComTU.h" /> 204 212 <ClInclude Include="..\..\source\Lib\TLibCommon\TComUpsampleFilter.h" /> 205 213 <ClInclude Include="..\..\source\Lib\TLibCommon\TComWeightPrediction.h" /> -
branches/SHM-upgrade/build/vc10/TLibCommon_vc10.vcxproj.filters
r125 r918 87 87 <Filter>Source Files</Filter> 88 88 </ClCompile> 89 <ClCompile Include="..\..\source\Lib\TLibCommon\TCom3DAsymLUT.cpp"> 90 <Filter>Source Files</Filter> 91 </ClCompile> 92 <ClCompile Include="..\..\source\Lib\TLibCommon\TComChromaFormat.cpp"> 93 <Filter>Source Files</Filter> 94 </ClCompile> 95 <ClCompile Include="..\..\source\Lib\TLibCommon\Debug.cpp"> 96 <Filter>Source Files</Filter> 97 </ClCompile> 98 <ClCompile Include="..\..\source\Lib\TLibCommon\TComTU.cpp"> 99 <Filter>Source Files</Filter> 100 </ClCompile> 89 101 </ItemGroup> 90 102 <ItemGroup> … … 188 200 <Filter>Header Files</Filter> 189 201 </ClInclude> 202 <ClInclude Include="..\..\source\Lib\TLibCommon\TCom3DAsymLUT.h"> 203 <Filter>Header Files</Filter> 204 </ClInclude> 205 <ClInclude Include="..\..\source\Lib\TLibCommon\TComChromaFormat.h"> 206 <Filter>Header Files</Filter> 207 </ClInclude> 208 <ClInclude Include="..\..\source\Lib\TLibCommon\TComCodingStatistics.h"> 209 <Filter>Header Files</Filter> 210 </ClInclude> 211 <ClInclude Include="..\..\source\Lib\TLibCommon\TComRectangle.h"> 212 <Filter>Header Files</Filter> 213 </ClInclude> 214 <ClInclude Include="..\..\source\Lib\TLibCommon\Debug.h"> 215 <Filter>Header Files</Filter> 216 </ClInclude> 217 <ClInclude Include="..\..\source\Lib\TLibCommon\TComTU.h"> 218 <Filter>Header Files</Filter> 219 </ClInclude> 190 220 </ItemGroup> 191 221 </Project> -
branches/SHM-upgrade/source/App/TAppDecoder/TAppDecTop.cpp
r916 r918 254 254 255 255 #if POC_RESET_IDC_DECODER 256 if ( ( bNewPicture && m_acTDecTop[nalu.m_layerId].getParseIdc() == 3) || (m_acTDecTop[nalu.m_layerId].getParseIdc() == 0) || !bitstreamFile || nalu.m_nalUnitType == NAL_UNIT_EOS &&256 if ( ( (bNewPicture && m_acTDecTop[nalu.m_layerId].getParseIdc() == 3) || m_acTDecTop[nalu.m_layerId].getParseIdc() == 0 || !bitstreamFile || nalu.m_nalUnitType == NAL_UNIT_EOS ) && 257 257 !m_acTDecTop[nalu.m_layerId].getFirstSliceInSequence() ) 258 258 #else 259 if ( bNewPicture || !bitstreamFile || nalu.m_nalUnitType == NAL_UNIT_EOS&&259 if ( (bNewPicture || !bitstreamFile || nalu.m_nalUnitType == NAL_UNIT_EOS) && 260 260 !m_acTDecTop[nalu.m_layerId].getFirstSliceInSequence() ) 261 261 #endif -
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncCfg.cpp
r917 r918 3835 3835 for(UInt layer=0; layer<m_numLayers; layer++) 3836 3836 { 3837 Int m_iIntraPeriod = m_acLayerCfg[layer].m_iIntraPeriod; 3838 if ( (m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent && (!m_bLoopFilterDisable) ) 3837 if ( (m_acLayerCfg[layer].m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent && (!m_bLoopFilterDisable) ) 3839 3838 { 3840 3839 for(Int i=0; i<m_iGOPSize; i++) -
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncTop.cpp
r917 r918 1122 1122 #if O0194_DIFFERENT_BITDEPTH_EL_BL 1123 1123 //2 1124 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)1124 for( UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) 1125 1125 { 1126 1126 g_bitDepth[channelTypeIndex] = m_acLayerCfg[layer].m_internalBitDepth[channelTypeIndex]; … … 1206 1206 #if O0194_DIFFERENT_BITDEPTH_EL_BL 1207 1207 //3 1208 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)1208 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) 1209 1209 { 1210 1210 g_bitDepth[channelTypeIndex] = m_acLayerCfg[layer].m_internalBitDepth[channelTypeIndex]; … … 2070 2070 #if O0194_DIFFERENT_BITDEPTH_EL_BL 2071 2071 //6 2072 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)2072 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) 2073 2073 { 2074 2074 g_bitDepth[channelTypeIndex] = m_acLayerCfg[layer].m_internalBitDepth[channelTypeIndex]; … … 2164 2164 #if O0194_DIFFERENT_BITDEPTH_EL_BL 2165 2165 //7 2166 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)2166 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) 2167 2167 { 2168 2168 g_bitDepth[channelTypeIndex] = m_acLayerCfg[layer].m_internalBitDepth[channelTypeIndex]; … … 2229 2229 #if O0194_DIFFERENT_BITDEPTH_EL_BL 2230 2230 //8 2231 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++)2232 { 2233 g_bitDepth[channelTypeIndex] 2231 for (UInt channelTypeIndex = 0; channelTypeIndex < MAX_NUM_CHANNEL_TYPE; channelTypeIndex++) 2232 { 2233 g_bitDepth[channelTypeIndex] = m_acLayerCfg[layer].m_internalBitDepth[channelTypeIndex]; 2234 2234 g_PCMBitDepth[channelTypeIndex] = m_bPCMInputBitDepthFlag ? m_acLayerCfg[layer].m_inputBitDepth[channelTypeIndex] : m_acLayerCfg[layer].m_internalBitDepth[channelTypeIndex]; 2235 2235 } -
branches/SHM-upgrade/source/Lib/TLibDecoder/SyntaxElementParser.cpp
r916 r918 43 43 #include "TLibCommon/TComBitStream.h" 44 44 #include "SyntaxElementParser.h" 45 #if RExt__DECODER_DEBUG_BIT_STATISTICS 46 #include "TLibCommon/TComCodingStatistics.h" 47 #endif 45 48 46 49 #if ENC_DEC_TRACE … … 219 222 220 223 #if Q0096_OVERLAY_SEI 221 Void SyntaxElementParser::xReadString (UInt bufSize, UChar *pVal, UInt& rLength) 224 #if RExt__DECODER_DEBUG_BIT_STATISTICS 225 Void SyntaxElementParser::xReadString (UInt bufSize, UChar *pVal, UInt& rLength, const Char *pSymbolName) 226 #else 227 Void SyntaxElementParser::xReadString (UInt bufSize, UChar *pVal, UInt& rLength) 228 #endif 222 229 { 223 230 assert( m_pcBitstream->getNumBitsRead() % 8 == 0 ); //always start reading at a byte-aligned position -
branches/SHM-upgrade/source/Lib/TLibDecoder/SyntaxElementParser.h
r916 r918 64 64 #define READ_FLAG( code, name) xReadFlag ( code, name ) 65 65 #if Q0096_OVERLAY_SEI 66 #define READ_STRING(bufSize, code, length, name) xReadString Tr( bufSize, code, length, name )66 #define READ_STRING(bufSize, code, length, name) xReadString ( bufSize, code, length, name ) 67 67 #endif 68 68 … … 103 103 Void xReadFlag ( UInt& val, const Char *pSymbolName ); 104 104 #if Q0096_OVERLAY_SEI 105 Void xReadString Tr(UInt bufSize, UChar *pValue, UInt& rLength, const Char *pSymbolName);105 Void xReadString (UInt bufSize, UChar *pValue, UInt& rLength, const Char *pSymbolName); 106 106 #endif 107 107 #else -
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp
r916 r918 183 183 184 184 #if Q0048_CGS_3D_ASYMLUT 185 Void TDecCavlc::parsePPS(TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT 185 Void TDecCavlc::parsePPS(TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT, Int nLayerID) 186 186 #else 187 187 Void TDecCavlc::parsePPS(TComPPS* pcPPS) … … 413 413 #if REF_REGION_OFFSET 414 414 READ_UVLC( uiCode, "num_ref_loc_offsets" ); pcPPS->setNumScaledRefLayerOffsets(uiCode); 415 for(Int i = 0; i < pcPPS->getNumScaledRefLayerOffsets(); i++)415 for(Int k = 0; k < pcPPS->getNumScaledRefLayerOffsets(); k++) 416 416 { 417 READ_CODE( 6, uiCode, "ref_loc_offset_layer_id" ); pcPPS->setScaledRefLayerId( i, uiCode );418 READ_FLAG( uiCode, "scaled_ref_layer_offset_present_flag" ); pcPPS->setScaledRefLayerOffsetPresentFlag( i, uiCode );417 READ_CODE( 6, uiCode, "ref_loc_offset_layer_id" ); pcPPS->setScaledRefLayerId( k, uiCode ); 418 READ_FLAG( uiCode, "scaled_ref_layer_offset_present_flag" ); pcPPS->setScaledRefLayerOffsetPresentFlag( k, uiCode ); 419 419 if (uiCode) 420 420 { 421 Window& scaledWindow = pcPPS->getScaledRefLayerWindow( i);421 Window& scaledWindow = pcPPS->getScaledRefLayerWindow(k); 422 422 READ_SVLC( iCode, "scaled_ref_layer_left_offset" ); scaledWindow.setWindowLeftOffset (iCode << 1); 423 423 READ_SVLC( iCode, "scaled_ref_layer_top_offset" ); scaledWindow.setWindowTopOffset (iCode << 1); … … 428 428 #endif 429 429 } 430 READ_FLAG( uiCode, "ref_region_offset_present_flag" ); pcPPS->setRefRegionOffsetPresentFlag( i, uiCode );430 READ_FLAG( uiCode, "ref_region_offset_present_flag" ); pcPPS->setRefRegionOffsetPresentFlag( k, uiCode ); 431 431 if (uiCode) 432 432 { 433 Window& refWindow = pcPPS->getRefLayerWindow( i);433 Window& refWindow = pcPPS->getRefLayerWindow(k); 434 434 READ_SVLC( iCode, "ref_region_left_offset" ); refWindow.setWindowLeftOffset (iCode << 1); 435 435 READ_SVLC( iCode, "ref_region_top_offset" ); refWindow.setWindowTopOffset (iCode << 1); … … 438 438 } 439 439 #if R0209_GENERIC_PHASE 440 READ_FLAG( uiCode, "resample_phase_set_present_flag" ); pcPPS->setResamplePhaseSetPresentFlag( i, uiCode );440 READ_FLAG( uiCode, "resample_phase_set_present_flag" ); pcPPS->setResamplePhaseSetPresentFlag( k, uiCode ); 441 441 if (uiCode) 442 442 { 443 READ_UVLC( uiCode, "phase_hor_luma" ); pcPPS->setPhaseHorLuma ( i, uiCode );444 READ_UVLC( uiCode, "phase_ver_luma" ); pcPPS->setPhaseVerLuma ( i, uiCode );445 READ_UVLC( uiCode, "phase_hor_chroma_plus8" ); pcPPS->setPhaseHorChroma ( i, uiCode - 8);446 READ_UVLC( uiCode, "phase_ver_chroma_plus8" ); pcPPS->setPhaseVerChroma ( i, uiCode - 8);443 READ_UVLC( uiCode, "phase_hor_luma" ); pcPPS->setPhaseHorLuma ( k, uiCode ); 444 READ_UVLC( uiCode, "phase_ver_luma" ); pcPPS->setPhaseVerLuma ( k, uiCode ); 445 READ_UVLC( uiCode, "phase_hor_chroma_plus8" ); pcPPS->setPhaseHorChroma (k, uiCode - 8); 446 READ_UVLC( uiCode, "phase_ver_chroma_plus8" ); pcPPS->setPhaseVerChroma (k, uiCode - 8); 447 447 } 448 448 #endif … … 451 451 #if MOVE_SCALED_OFFSET_TO_PPS 452 452 READ_UVLC( uiCode, "num_scaled_ref_layer_offsets" ); pcPPS->setNumScaledRefLayerOffsets(uiCode); 453 for(Int i = 0; i < pcPPS->getNumScaledRefLayerOffsets(); i++)453 for(Int k = 0; k < pcPPS->getNumScaledRefLayerOffsets(); k++) 454 454 { 455 Window& scaledWindow = pcPPS->getScaledRefLayerWindow( i);455 Window& scaledWindow = pcPPS->getScaledRefLayerWindow(k); 456 456 #if O0098_SCALED_REF_LAYER_ID 457 READ_CODE( 6, uiCode, "scaled_ref_layer_id" ); pcPPS->setScaledRefLayerId( i, uiCode );457 READ_CODE( 6, uiCode, "scaled_ref_layer_id" ); pcPPS->setScaledRefLayerId( k, uiCode ); 458 458 #endif 459 459 READ_SVLC( iCode, "scaled_ref_layer_left_offset" ); scaledWindow.setWindowLeftOffset (iCode << 1); … … 462 462 READ_SVLC( iCode, "scaled_ref_layer_bottom_offset" ); scaledWindow.setWindowBottomOffset(iCode << 1); 463 463 #if P0312_VERT_PHASE_ADJ 464 READ_FLAG( uiCode, "vert_phase_position_enable_flag" ); scaledWindow.setVertPhasePositionEnableFlag(uiCode); pcPPS->setVertPhasePositionEnableFlag( pcPPS->getScaledRefLayerId( i), uiCode);464 READ_FLAG( uiCode, "vert_phase_position_enable_flag" ); scaledWindow.setVertPhasePositionEnableFlag(uiCode); pcPPS->setVertPhasePositionEnableFlag( pcPPS->getScaledRefLayerId(k), uiCode); 465 465 #endif 466 466 } -
branches/SHM-upgrade/source/Lib/TLibEncoder/TEncCavlc.cpp
r916 r918 318 318 #if REF_REGION_OFFSET 319 319 WRITE_UVLC( pcPPS->getNumScaledRefLayerOffsets(), "num_ref_loc_offsets" ); 320 for(Int num = 0; num < pcPPS->getNumScaledRefLayerOffsets(); num++)320 for(Int k = 0; k < pcPPS->getNumScaledRefLayerOffsets(); k++) 321 321 { 322 WRITE_CODE( pcPPS->getScaledRefLayerId( num), 6, "ref_loc_offset_layer_id" );323 WRITE_FLAG( pcPPS->getScaledRefLayerOffsetPresentFlag( num) ? 1 : 0, "scaled_ref_layer_offset_prsent_flag" );324 if (pcPPS->getScaledRefLayerOffsetPresentFlag( num))322 WRITE_CODE( pcPPS->getScaledRefLayerId(k), 6, "ref_loc_offset_layer_id" ); 323 WRITE_FLAG( pcPPS->getScaledRefLayerOffsetPresentFlag(k) ? 1 : 0, "scaled_ref_layer_offset_prsent_flag" ); 324 if (pcPPS->getScaledRefLayerOffsetPresentFlag(k)) 325 325 { 326 Window scaledWindow = pcPPS->getScaledRefLayerWindow( num);326 Window scaledWindow = pcPPS->getScaledRefLayerWindow(k); 327 327 WRITE_SVLC( scaledWindow.getWindowLeftOffset() >> 1, "scaled_ref_layer_left_offset" ); 328 328 WRITE_SVLC( scaledWindow.getWindowTopOffset() >> 1, "scaled_ref_layer_top_offset" ); … … 330 330 WRITE_SVLC( scaledWindow.getWindowBottomOffset() >> 1, "scaled_ref_layer_bottom_offset" ); 331 331 } 332 WRITE_FLAG( pcPPS->getRefRegionOffsetPresentFlag( num) ? 1 : 0, "ref_region_offset_prsent_flag" );333 if (pcPPS->getRefRegionOffsetPresentFlag( num))332 WRITE_FLAG( pcPPS->getRefRegionOffsetPresentFlag(k) ? 1 : 0, "ref_region_offset_prsent_flag" ); 333 if (pcPPS->getRefRegionOffsetPresentFlag(k)) 334 334 { 335 Window refWindow = pcPPS->getRefLayerWindow( num);335 Window refWindow = pcPPS->getRefLayerWindow(k); 336 336 WRITE_SVLC( refWindow.getWindowLeftOffset() >> 1, "ref_region_left_offset" ); 337 337 WRITE_SVLC( refWindow.getWindowTopOffset() >> 1, "ref_region_top_offset" ); … … 340 340 } 341 341 #if R0209_GENERIC_PHASE 342 WRITE_FLAG( pcPPS->getResamplePhaseSetPresentFlag( num) ? 1 : 0, "resample_phase_set_present_flag" );343 if (pcPPS->getResamplePhaseSetPresentFlag( num))342 WRITE_FLAG( pcPPS->getResamplePhaseSetPresentFlag(k) ? 1 : 0, "resample_phase_set_present_flag" ); 343 if (pcPPS->getResamplePhaseSetPresentFlag(k)) 344 344 { 345 WRITE_UVLC( pcPPS->getPhaseHorLuma( num), "phase_hor_luma" );346 WRITE_UVLC( pcPPS->getPhaseVerLuma( num), "phase_ver_luma" );347 WRITE_UVLC( pcPPS->getPhaseHorChroma( num) + 8, "phase_hor_chroma_plus8" );348 WRITE_UVLC( pcPPS->getPhaseVerChroma( num) + 8, "phase_ver_chroma_plus8" );345 WRITE_UVLC( pcPPS->getPhaseHorLuma(k), "phase_hor_luma" ); 346 WRITE_UVLC( pcPPS->getPhaseVerLuma(k), "phase_ver_luma" ); 347 WRITE_UVLC( pcPPS->getPhaseHorChroma(k) + 8, "phase_hor_chroma_plus8" ); 348 WRITE_UVLC( pcPPS->getPhaseVerChroma(k) + 8, "phase_ver_chroma_plus8" ); 349 349 } 350 350 #endif … … 353 353 #if MOVE_SCALED_OFFSET_TO_PPS 354 354 WRITE_UVLC( pcPPS->getNumScaledRefLayerOffsets(), "num_scaled_ref_layer_offsets" ); 355 for(Int num = 0; num < pcPPS->getNumScaledRefLayerOffsets(); num++)355 for(Int k = 0; k < pcPPS->getNumScaledRefLayerOffsets(); k++) 356 356 { 357 Window scaledWindow = pcPPS->getScaledRefLayerWindow( num);357 Window scaledWindow = pcPPS->getScaledRefLayerWindow(k); 358 358 #if O0098_SCALED_REF_LAYER_ID 359 WRITE_CODE( pcPPS->getScaledRefLayerId( num), 6, "scaled_ref_layer_id" );359 WRITE_CODE( pcPPS->getScaledRefLayerId(k), 6, "scaled_ref_layer_id" ); 360 360 #endif 361 361 WRITE_SVLC( scaledWindow.getWindowLeftOffset() >> 1, "scaled_ref_layer_left_offset" );
Note: See TracChangeset for help on using the changeset viewer.