- Timestamp:
- 29 Mar 2012, 09:41:45 (13 years ago)
- Location:
- branches/0.3-poznan-univ
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.3-poznan-univ/build/HM_vc10.sln
r28 r46 28 28 EndProject 29 29 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibRenderer", "vc10\TLibRenderer_vc10.vcxproj", "{2B298BE6-DFF0-4BD2-8F26-395FFE7F9EB4}" 30 EndProject 31 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibExtractor", "vc10\TLibExtractor_vc10.vcxproj", "{27E2C758-E3CE-44CA-A226-83491EC7F798}" 32 EndProject 33 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TAppExtractor", "vc10\TAppExtractor_vc10.vcxproj", "{F46F95E9-7174-4328-90DD-092450E4DCF6}" 30 34 EndProject 31 35 Global … … 109 113 {2B298BE6-DFF0-4BD2-8F26-395FFE7F9EB4}.Release|x64.ActiveCfg = Release|x64 110 114 {2B298BE6-DFF0-4BD2-8F26-395FFE7F9EB4}.Release|x64.Build.0 = Release|x64 115 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|Win32.ActiveCfg = Debug|Win32 116 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|Win32.Build.0 = Debug|Win32 117 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|x64.ActiveCfg = Debug|x64 118 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|x64.Build.0 = Debug|x64 119 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|Win32.ActiveCfg = Release|Win32 120 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|Win32.Build.0 = Release|Win32 121 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|x64.ActiveCfg = Release|x64 122 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|x64.Build.0 = Release|x64 123 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|Win32.ActiveCfg = Debug|Win32 124 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|Win32.Build.0 = Debug|Win32 125 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|x64.ActiveCfg = Debug|x64 126 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|x64.Build.0 = Debug|x64 127 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|Win32.ActiveCfg = Release|Win32 128 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|Win32.Build.0 = Release|Win32 129 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|x64.ActiveCfg = Release|x64 130 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|x64.Build.0 = Release|x64 111 131 EndGlobalSection 112 132 GlobalSection(SolutionProperties) = preSolution -
branches/0.3-poznan-univ/build/HM_vc8.sln
r28 r46 9 9 {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} = {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} 10 10 {5280C25A-D316-4BE7-AE50-29D72108624F} = {5280C25A-D316-4BE7-AE50-29D72108624F} 11 {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} = {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} 12 {78018D78-F890-47E3-A0B7-09D273F0B11D} = {78018D78-F890-47E3-A0B7-09D273F0B11D} 11 13 EndProjectSection 12 14 EndProject … … 18 20 {5280C25A-D316-4BE7-AE50-29D72108624F} = {5280C25A-D316-4BE7-AE50-29D72108624F} 19 21 {5E87AD84-AC4F-4336-B4EE-549CA210EE4A} = {5E87AD84-AC4F-4336-B4EE-549CA210EE4A} 22 {5280C25A-D316-4BE7-AE50-29D72108624F} = {5280C25A-D316-4BE7-AE50-29D72108624F} 23 {47E90995-1FC5-4EE4-A94D-AD474169F0E1} = {47E90995-1FC5-4EE4-A94D-AD474169F0E1} 24 {78018D78-F890-47E3-A0B7-09D273F0B11D} = {78018D78-F890-47E3-A0B7-09D273F0B11D} 25 {8783AD3A-A5CA-42B7-AAC4-A07EB845A684} = {8783AD3A-A5CA-42B7-AAC4-A07EB845A684} 20 26 EndProjectSection 21 27 EndProject … … 36 42 {78018D78-F890-47E3-A0B7-09D273F0B11D} = {78018D78-F890-47E3-A0B7-09D273F0B11D} 37 43 {5E87AD84-AC4F-4336-B4EE-549CA210EE4A} = {5E87AD84-AC4F-4336-B4EE-549CA210EE4A} 44 {78018D78-F890-47E3-A0B7-09D273F0B11D} = {78018D78-F890-47E3-A0B7-09D273F0B11D} 45 {5280C25A-D316-4BE7-AE50-29D72108624F} = {5280C25A-D316-4BE7-AE50-29D72108624F} 46 {8783AD3A-A5CA-42B7-AAC4-A07EB845A684} = {8783AD3A-A5CA-42B7-AAC4-A07EB845A684} 38 47 EndProjectSection 39 48 EndProject 40 49 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibRenderer", "vc8\TLibRenderer_vc8.vcproj", "{5E87AD84-AC4F-4336-B4EE-549CA210EE4A}" 50 EndProject 51 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibExtractor", "vc8\TLibExtractor_vc8.vcproj", "{27E2C758-E3CE-44CA-A226-83491EC7F798}" 52 EndProject 53 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TAppExtractor", "vc8\TAppExtractor_vc8.vcproj", "{F46F95E9-7174-4328-90DD-092450E4DCF6}" 54 ProjectSection(ProjectDependencies) = postProject 55 {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} = {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} 56 {27E2C758-E3CE-44CA-A226-83491EC7F798} = {27E2C758-E3CE-44CA-A226-83491EC7F798} 57 {5280C25A-D316-4BE7-AE50-29D72108624F} = {5280C25A-D316-4BE7-AE50-29D72108624F} 58 {78018D78-F890-47E3-A0B7-09D273F0B11D} = {78018D78-F890-47E3-A0B7-09D273F0B11D} 59 {8783AD3A-A5CA-42B7-AAC4-A07EB845A684} = {8783AD3A-A5CA-42B7-AAC4-A07EB845A684} 60 EndProjectSection 41 61 EndProject 42 62 Global … … 120 140 {5E87AD84-AC4F-4336-B4EE-549CA210EE4A}.Release|x64.ActiveCfg = Release|x64 121 141 {5E87AD84-AC4F-4336-B4EE-549CA210EE4A}.Release|x64.Build.0 = Release|x64 142 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|Win32.ActiveCfg = Debug|Win32 143 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|Win32.Build.0 = Debug|Win32 144 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|x64.ActiveCfg = Debug|x64 145 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|x64.Build.0 = Debug|x64 146 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|Win32.ActiveCfg = Release|Win32 147 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|Win32.Build.0 = Release|Win32 148 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|x64.ActiveCfg = Release|x64 149 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|x64.Build.0 = Release|x64 150 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|Win32.ActiveCfg = Debug|Win32 151 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|Win32.Build.0 = Debug|Win32 152 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|x64.ActiveCfg = Debug|x64 153 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|x64.Build.0 = Debug|x64 154 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|Win32.ActiveCfg = Release|Win32 155 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|Win32.Build.0 = Release|Win32 156 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|x64.ActiveCfg = Release|x64 157 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|x64.Build.0 = Release|x64 122 158 EndGlobalSection 123 159 GlobalSection(SolutionProperties) = preSolution -
branches/0.3-poznan-univ/build/HM_vc9.sln
r28 r46 39 39 EndProject 40 40 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibRenderer", "vc9\TLibRenderer_vc9.vcproj", "{457993C6-AE2C-4B9B-B5F9-71033279A0B9}" 41 EndProject 42 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TLibExtractor", "vc9\TLibExtractor_vc9.vcproj", "{27E2C758-E3CE-44CA-A226-83491EC7F798}" 43 EndProject 44 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TAppExtractor", "vc9\TAppExtractor_vc9.vcproj", "{F46F95E9-7174-4328-90DD-092450E4DCF6}" 45 ProjectSection(ProjectDependencies) = postProject 46 {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} = {F8B77A48-AF6C-4746-A89F-B706ABA6AD94} 47 {27E2C758-E3CE-44CA-A226-83491EC7F798} = {27E2C758-E3CE-44CA-A226-83491EC7F798} 48 {5280C25A-D316-4BE7-AE50-29D72108624F} = {5280C25A-D316-4BE7-AE50-29D72108624F} 49 {78018D78-F890-47E3-A0B7-09D273F0B11D} = {78018D78-F890-47E3-A0B7-09D273F0B11D} 50 {D1E8A1C2-15DB-4C94-80E8-4F70CF0A2DC5} = {D1E8A1C2-15DB-4C94-80E8-4F70CF0A2DC5} 51 EndProjectSection 41 52 EndProject 42 53 Global … … 120 131 {457993C6-AE2C-4B9B-B5F9-71033279A0B9}.Release|x64.ActiveCfg = Release|x64 121 132 {457993C6-AE2C-4B9B-B5F9-71033279A0B9}.Release|x64.Build.0 = Release|x64 133 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|Win32.ActiveCfg = Debug|Win32 134 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|Win32.Build.0 = Debug|Win32 135 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|x64.ActiveCfg = Debug|x64 136 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Debug|x64.Build.0 = Debug|x64 137 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|Win32.ActiveCfg = Release|Win32 138 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|Win32.Build.0 = Release|Win32 139 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|x64.ActiveCfg = Release|x64 140 {27E2C758-E3CE-44CA-A226-83491EC7F798}.Release|x64.Build.0 = Release|x64 141 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|Win32.ActiveCfg = Debug|Win32 142 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|Win32.Build.0 = Debug|Win32 143 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|x64.ActiveCfg = Debug|x64 144 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Debug|x64.Build.0 = Debug|x64 145 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|Win32.ActiveCfg = Release|Win32 146 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|Win32.Build.0 = Release|Win32 147 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|x64.ActiveCfg = Release|x64 148 {F46F95E9-7174-4328-90DD-092450E4DCF6}.Release|x64.Build.0 = Release|x64 122 149 EndGlobalSection 123 150 GlobalSection(SolutionProperties) = preSolution -
branches/0.3-poznan-univ/build/linux/lib/TLibCommon/makefile
r28 r46 42 42 $(OBJ_DIR)/TComLoopFilter.o \ 43 43 $(OBJ_DIR)/TComMotionInfo.o \ 44 $(OBJ_DIR)/TComMP.o \44 $(OBJ_DIR)/TComMP.o \ 45 45 $(OBJ_DIR)/TComPattern.o \ 46 46 $(OBJ_DIR)/TComPic.o \ -
branches/0.3-poznan-univ/build/linux/makefile
r2 r46 8 8 $(MAKE) -C lib/TLibCommon MM32=$(M32) 9 9 $(MAKE) -C lib/TLibRenderer MM32=$(M32) 10 $(MAKE) -C lib/TLibExtractor MM32=$(M32) 10 11 $(MAKE) -C lib/TLibDecoder MM32=$(M32) 11 12 $(MAKE) -C lib/TLibEncoder MM32=$(M32) … … 14 15 $(MAKE) -C test/TAppEncoder MM32=$(M32) 15 16 $(MAKE) -C test/TAppRenderer MM32=$(M32) 17 $(MAKE) -C test/TAppExtractor MM32=$(M32) 16 18 17 19 debug: … … 19 21 $(MAKE) -C lib/TLibCommon debug MM32=$(M32) 20 22 $(MAKE) -C lib/TLibRenderer debug MM32=$(M32) 23 $(MAKE) -C lib/TLibExtractor debug MM32=$(M32) 21 24 $(MAKE) -C lib/TLibDecoder debug MM32=$(M32) 22 25 $(MAKE) -C lib/TLibEncoder debug MM32=$(M32) … … 25 28 $(MAKE) -C test/TAppEncoder debug MM32=$(M32) 26 29 $(MAKE) -C test/TAppRenderer debug MM32=$(M32) 30 $(MAKE) -C test/TAppExtractor debug MM32=$(M32) 27 31 28 32 release: … … 30 34 $(MAKE) -C lib/TLibCommon release MM32=$(M32) 31 35 $(MAKE) -C lib/TLibRenderer release MM32=$(M32) 36 $(MAKE) -C lib/TLibExtractor release MM32=$(M32) 32 37 $(MAKE) -C lib/TLibDecoder release MM32=$(M32) 33 38 $(MAKE) -C lib/TLibEncoder release MM32=$(M32) … … 36 41 $(MAKE) -C test/TAppEncoder release MM32=$(M32) 37 42 $(MAKE) -C test/TAppRenderer release MM32=$(M32) 43 $(MAKE) -C test/TAppExtractor release MM32=$(M32) 38 44 39 45 clean: … … 41 47 $(MAKE) -C lib/TLibCommon clean MM32=$(M32) 42 48 $(MAKE) -C lib/TLibRenderer clean MM32=$(M32) 49 $(MAKE) -C lib/TLibExtractor clean MM32=$(M32) 43 50 $(MAKE) -C lib/TLibDecoder clean MM32=$(M32) 44 51 $(MAKE) -C lib/TLibEncoder clean MM32=$(M32) … … 47 54 $(MAKE) -C test/TAppEncoder clean MM32=$(M32) 48 55 $(MAKE) -C test/TAppRenderer clean MM32=$(M32) 49 50 56 $(MAKE) -C test/TAppExtractor clean MM32=$(M32) -
branches/0.3-poznan-univ/cfg/encoder_mvd.cfg
r5 r46 17 17 18 18 BitstreamFile : BitStreamMV.bin 19 20 3DVFlexOrder : 0 21 3DVCodingOrder : T0D0D1D2T1T2 19 22 20 23 -
branches/0.3-poznan-univ/source/Lib/TLibCommon/TComBitStream.cpp
r5 r46 61 61 m_auiSliceByteLocation = NULL; 62 62 m_uiSliceCount = 0; 63 #if BITSTREAM_EXTRACTION 64 m_apulPacketPayloadBuffer = new UInt[uiSize]; 65 m_uiPacketPayloadSize = 0; 66 #endif 63 67 } 64 68 … … 66 70 { 67 71 delete [] m_apulStreamPacketBegin; m_apulStreamPacketBegin = NULL; 72 #if BITSTREAM_EXTRACTION 73 delete [] m_apulPacketPayloadBuffer; m_apulPacketPayloadBuffer = NULL; 74 #endif 68 75 } 69 76 … … 148 155 xReadNextWord(); 149 156 } 157 158 #if BITSTREAM_EXTRACTION 159 UInt TComBitstream::reinitParsing() 160 { 161 rewindStreamPacket(); 162 memcpy( m_apulStreamPacketBegin, m_apulPacketPayloadBuffer, m_uiPacketPayloadSize ); 163 initParsing( m_uiPacketPayloadSize ); 164 return m_uiPacketPayloadSize; 165 } 166 #endif 150 167 151 168 #if LCEC_INTRA_MODE || QC_LCEC_INTER_MODE … … 319 336 UChar* pucWrite = reinterpret_cast<UChar*> (getBuffer()); 320 337 338 #if BITSTREAM_EXTRACTION 339 memcpy( m_apulPacketPayloadBuffer, m_apulStreamPacketBegin, uiBytesRead ); 340 m_uiPacketPayloadSize = uiBytesRead; 341 #endif 342 321 343 for( ; uiReadOffset < uiBytesRead; uiReadOffset++ ) 322 344 { -
branches/0.3-poznan-univ/source/Lib/TLibCommon/TComBitStream.h
r5 r46 85 85 UInt m_uiSliceProcessed; 86 86 87 #if BITSTREAM_EXTRACTION 88 UInt* m_apulPacketPayloadBuffer; 89 UInt m_uiPacketPayloadSize; 90 #endif 91 87 92 UInt xSwap ( UInt ui ) 88 93 { … … 164 169 165 170 void insertAt(const TComBitstream& src, unsigned pos); 171 172 #if BITSTREAM_EXTRACTION 173 UInt reinitParsing(); 174 #endif 166 175 }; 167 176 -
branches/0.3-poznan-univ/source/Lib/TLibCommon/TComSlice.cpp
r41 r46 66 66 m_iViewIdx = 0 ; 67 67 68 #if BITSTREAM_EXTRACTION 69 m_uiLayerId = 0; 70 #endif 71 68 72 #if SONY_COLPIC_AVAILABILITY 69 73 m_iViewOrderIdx = 0; … … 669 673 #endif 670 674 675 #if BITSTREAM_EXTRACTION 676 m_uiLayerId = 0; 677 #endif 671 678 m_uiViewId = 0; 672 679 m_iViewOrderIdx = 0; … … 716 723 TComPPS::TComPPS() 717 724 { 725 #if BITSTREAM_EXTRACTION 726 m_uiLayerId = 0; 727 #endif 718 728 #if CONSTRAINED_INTRA_PRED 719 729 m_bConstrainedIntraPred = false; -
branches/0.3-poznan-univ/source/Lib/TLibCommon/TComSlice.h
r41 r46 81 81 UInt m_uiMaxTrDepth; 82 82 83 #if BITSTREAM_EXTRACTION 84 UInt m_uiLayerId; 85 #endif 83 86 UInt m_uiViewId; 84 87 Int m_iViewOrderIdx; … … 370 373 Bool getUseTexDqpAccordingToDepth () {return m_bUseTexDqpAccordingToDepth;} 371 374 #endif 375 #if BITSTREAM_EXTRACTION 376 Void setLayerId ( UInt u ) { m_uiLayerId = u; } 377 UInt getLayerId () { return m_uiLayerId; } 378 #endif 372 379 }; 373 380 … … 385 392 UInt m_uiPPSId; 386 393 UInt m_uiSPSId; 394 #if BITSTREAM_EXTRACTION 395 UInt m_uiLayerId; 396 #endif 387 397 388 398 public: … … 405 415 Void setUseWP ( Bool b ) { m_bUseWeightPred = b; } 406 416 Void setWPBiPredIdc ( UInt u ) { m_uiBiPredIdc = u; } 417 #endif 418 419 #if BITSTREAM_EXTRACTION 420 Void setLayerId ( UInt u ) { m_uiLayerId = u; } 421 UInt getLayerId () { return m_uiLayerId; } 407 422 #endif 408 423 }; … … 435 450 UInt m_uiPPSId; 436 451 Int m_iPOC; 452 #if BITSTREAM_EXTRACTION 453 UInt m_uiLayerId; 454 #endif 437 455 #if SONY_COLPIC_AVAILABILITY 438 456 Int m_iViewOrderIdx; … … 608 626 Void setLambda( Double d ) { m_dLambda = d; } 609 627 Double getLambda() { return m_dLambda; } 628 629 #if BITSTREAM_EXTRACTION 630 Void setLayerId( UInt u ) { m_uiLayerId = u; } 631 UInt getLayerId() { return m_uiLayerId; } 632 #endif 610 633 611 634 Void setViewIdx(Int i) { m_iViewIdx = i; } -
branches/0.3-poznan-univ/source/Lib/TLibCommon/TypeDef.h
r41 r46 40 40 41 41 42 #define BITSTREAM_EXTRACTION 1 43 42 44 #define FLEX_CODING_ORDER 1 43 45 -
branches/0.3-poznan-univ/source/Lib/TLibDecoder/TDecCAVLC.cpp
r41 r46 82 82 // ==================================================================================================================== 83 83 84 #if BITSTREAM_EXTRACTION 85 Void TDecCavlc::parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, UInt& uiLayerId ) 86 { 87 UInt uiCode; 88 89 xReadCode ( 1, uiCode ); assert( 0 == uiCode); // forbidden_zero_bit 90 xReadCode ( 1, uiCode ); // nal_ref_flag 91 xReadCode ( 6, uiCode ); // nal_unit_type 92 eNalUnitType = (NalUnitType) uiCode; 93 94 xReadCode(3, uiCode); // temporal_id 95 TemporalId = uiCode; 96 xReadCode(5, uiCode); // layer_id_plus1 97 assert( 1 <= uiCode ); 98 uiLayerId = uiCode - 1; 99 } 100 #else 84 101 Void TDecCavlc::parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, Bool& bOutputFlag ) 85 102 { … … 105 122 } 106 123 } 124 #endif 107 125 108 126 /** -
branches/0.3-poznan-univ/source/Lib/TLibDecoder/TDecCAVLC.h
r28 r46 182 182 #endif 183 183 184 #if BITSTREAM_EXTRACTION 185 Void parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, UInt& uiLayerId ); 186 #else 184 187 Void parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, Bool& bOutputFlag ); 188 #endif 189 185 190 186 191 Void parseSPS ( TComSPS* pcSPS ); -
branches/0.3-poznan-univ/source/Lib/TLibDecoder/TDecEntropy.h
r5 r46 67 67 virtual Void setBitstream ( TComBitstream* p ) = 0; 68 68 69 #if BITSTREAM_EXTRACTION 70 virtual Void parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, UInt& uiLayerId ) = 0; 71 #else 69 72 virtual Void parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, Bool& bOutputFlag ) = 0; 73 #endif 70 74 71 75 virtual Void parseSPS ( TComSPS* pcSPS ) = 0; … … 147 151 Void resetEntropy ( TComSlice* p) { m_pcEntropyDecoderIf->resetEntropy(p); } 148 152 153 #if BITSTREAM_EXTRACTION 154 Void decodeNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, UInt& uiLayerId ) 155 { m_pcEntropyDecoderIf->parseNalUnitHeader( eNalUnitType, TemporalId, uiLayerId ); } 156 #else 149 157 Void decodeNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, Bool& bOutputFlag ) 150 158 { m_pcEntropyDecoderIf->parseNalUnitHeader(eNalUnitType, TemporalId, bOutputFlag ); } 151 159 #endif 152 160 153 161 Void decodeSPS ( TComSPS* pcSPS ) { m_pcEntropyDecoderIf->parseSPS(pcSPS); } -
branches/0.3-poznan-univ/source/Lib/TLibDecoder/TDecSbac.h
r28 r46 75 75 Void setMaxAlfCtrlDepth ( UInt uiMaxAlfCtrlDepth ) { m_uiMaxAlfCtrlDepth = uiMaxAlfCtrlDepth; } 76 76 77 #if BITSTREAM_EXTRACTION 78 Void parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, UInt& uiLayerId ) {} 79 #else 77 80 Void parseNalUnitHeader ( NalUnitType& eNalUnitType, UInt& TemporalId, Bool& bOutputFlag ) {} 81 #endif 78 82 79 83 Void parseSPS ( TComSPS* pcSPS ) {} -
branches/0.3-poznan-univ/source/Lib/TLibDecoder/TDecTop.cpp
r41 r46 709 709 NalUnitType eNalUnitType; 710 710 UInt TemporalId; 711 712 #if BITSTREAM_EXTRACTION 713 UInt uiLayerId; 714 715 m_cEntropyDecoder.decodeNalUnitHeader(eNalUnitType, TemporalId, uiLayerId); 716 #else 711 717 Bool OutputFlag; 712 718 713 719 m_cEntropyDecoder.decodeNalUnitHeader(eNalUnitType, TemporalId, OutputFlag); 720 #endif 721 714 722 reNalUnitType = eNalUnitType; 715 723
Note: See TracChangeset for help on using the changeset viewer.