Changeset 1325 in 3DVCSoftware for branches/HTM-15.1-MV-draft-4/source/Lib/TLibCommon/TComRom.h
- Timestamp:
- 7 Sep 2015, 18:40:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.1-MV-draft-4/source/Lib/TLibCommon/TComRom.h
r1321 r1325 39 39 #include<stdio.h> 40 40 #include<iostream> 41 #if NH_3D_DMM42 #include "TComWedgelet.h"43 #endif44 41 //! \ingroup TLibCommon 45 42 //! \{ … … 91 88 extern const UChar g_aucIntraModeNumFast_NotUseMPM[MAX_CU_DEPTH]; 92 89 extern const UChar g_chroma422IntraAngleMappingTable[NUM_INTRA_MODE]; 93 #if NH_3D_DMM94 // ====================================================================================================================95 // Depth coding modes96 // ====================================================================================================================97 extern const WedgeResolution g_dmmWedgeResolution [6];98 extern const UChar g_dmm1TabIdxBits [6];99 extern Bool g_wedgePattern[32*32];100 extern std::vector< std::vector<TComWedgelet> > g_dmmWedgeLists;101 extern std::vector< std::vector<TComWedgeNode> > g_dmmWedgeNodeLists;102 Void initWedgeLists( Bool initNodeList = false );103 Void createWedgeList( UInt uiWidth, UInt uiHeight, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList, WedgeResolution eWedgeRes );104 Void addWedgeletToList( TComWedgelet cWedgelet, std::vector<TComWedgelet> &racWedgeList, std::vector<TComWedgeRef> &racWedgeRefList );105 WedgeList* getWedgeListScaled ( UInt blkSize );106 WedgeNodeList* getWedgeNodeListScaled( UInt blkSize );107 __inline Void mapDmmToIntraDir( UInt& intraMode ) { if( isDmmMode( intraMode ) ) intraMode = DC_IDX; }108 __inline Void mapDmmToIntraDir( Int& intraMode ) { if( isDmmMode( intraMode ) ) intraMode = DC_IDX; }109 #endif110 90 // ==================================================================================================================== 111 91 // Mode-Dependent DST Matrices … … 203 183 #define DTRACE_PU_S(x) writeToTraceFile( x, g_tracePU ); 204 184 #define DTRACE_TU_S(x) writeToTraceFile( x, g_traceTU ); 185 205 186 #define D_DEC_INDENT( b ) decIndent ( b ); 206 187 #define D_PRINT_INC_INDENT( b, str ) prinStrIncIndent( b, str ); 207 188 #define D_PRINT_INDENT( b, str ) printStrIndent ( b, str); 189 208 190 Void tracePSHeader ( const Char* psName, Int layerId ); 209 191 Void writeToTraceFile( const Char* symbolName, Int val, Bool doIt ); … … 211 193 UInt64 incSymbolCounter(); 212 194 Void stopAtPos ( Int poc, Int layerId, Int cuPelX, Int cuPelY, Int cuWidth, Int cuHeight ); 195 213 196 Void printStr ( std::string str ); 214 197 Void printStrIndent ( Bool b, std::string str ); 215 198 Void prinStrIncIndent ( Bool b, std::string str ); 216 199 Void decIndent ( Bool b ); 200 217 201 template <typename T> 218 202 std::string n2s ( T Number ) … … 222 206 return ss.str(); 223 207 }; 208 224 209 #endif 225 210 #else … … 238 223 #define DTRACE_PU_S(x) ; 239 224 #define DTRACE_TU_S(x) ; 225 240 226 #define D_DEC_INDENT( b ) ; 241 227 #define D_PRINT_INC_INDENT( b, str );
Note: See TracChangeset for help on using the changeset viewer.