Changeset 1325 in 3DVCSoftware for branches/HTM-15.1-MV-draft-4/source/App/TAppDecoder/TAppDecTop.cpp
- 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/App/TAppDecoder/TAppDecTop.cpp
r1321 r1325 93 93 m_cvsStartFound = false; 94 94 #endif 95 #if NH_3D96 m_pScaleOffsetFile = 0;97 #endif98 95 } 99 96 … … 139 136 m_pchReconFile = NULL; 140 137 } 141 #if NH_3D142 if (m_pchScaleOffsetFile)143 {144 free (m_pchScaleOffsetFile);145 m_pchScaleOffsetFile = NULL;146 }147 #endif148 138 } 149 139 … … 401 391 // initialize global variables 402 392 initROM(); 403 #if NH_3D_DMM404 initWedgeLists();405 #endif406 393 #else 407 394 // create decoder class … … 444 431 m_cTDecTop.destroy(); 445 432 #endif 446 #if NH_3D447 m_cCamParsCollector.uninit();448 if( m_pScaleOffsetFile )449 {450 ::fclose( m_pScaleOffsetFile );451 }452 #endif453 433 } 454 434 … … 456 436 { 457 437 458 #if NH_3D459 m_cCamParsCollector.setCodeScaleOffsetFile( m_pScaleOffsetFile );460 #endif461 438 #if NH_MV 462 439 m_dpb.setPrintPicOutput(m_printPicOutput); … … 1035 1012 xFinalizeAU ( ); 1036 1013 1037 #if NH_3D1038 if( m_cCamParsCollector.isInitialized() )1039 {1040 m_cCamParsCollector.setSlice( 0 );1041 }1042 #endif1043 1014 xFlushOutput(); 1044 1015 m_dpb.emptyAllSubDpbs(); … … 1068 1039 m_newVpsActivatedbyCurAu = true; //TBD 1069 1040 m_newVpsActivatedbyCurPic = true; 1070 #if NH_3D1071 m_dpb.setVPS( m_vps );1072 #endif1073 1041 } 1074 1042 … … 1192 1160 Void TAppDecTop::xFinalizeAU() 1193 1161 { 1194 #if NH_3D1195 if ( !m_curAu.empty())1196 {1197 for (TComList<TComPic*>::iterator it = m_curAu.begin(); it != m_curAu.end(); it++)1198 {1199 TComPic* pic = (*it);1200 if ( !pic->getHasGeneratedRefPics() )1201 {1202 pic->compressMotion(1);1203 }1204 }1205 }1206 #endif1207 1162 } 1208 1163 … … 2664 2619 m_tDecTop[ decIdx ]->setDecodedSEIMessageOutputStream(&os); 2665 2620 } 2666 #if NH_3D2667 m_tDecTop[ decIdx ]->setCamParsCollector( &m_cCamParsCollector );2668 #endif2669 2621 2670 2622 // append pic list of new decoder to PicLists … … 2888 2840 } 2889 2841 2890 #if NH_3D2891 if( m_pchScaleOffsetFile )2892 {2893 m_pScaleOffsetFile = ::fopen( m_pchScaleOffsetFile, "wt" );2894 if (!m_pScaleOffsetFile)2895 {2896 fprintf(stderr, "\nUnable to open file `%s' for writing decoded Camera Parameters messages\n", m_pchScaleOffsetFile);2897 exit(EXIT_FAILURE);2898 }2899 }2900 #endif2901 2842 } 2902 2843 … … 2987 2928 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 2988 2929 conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset(), 2989 #if NH_3D2990 m_depth420OutputFlag && curPic->getIsDepth() ? CHROMA_420 : NUM_CHROMA_FORMAT2991 #else2992 2930 NUM_CHROMA_FORMAT 2993 #endif2994 2931 , m_bClipOutputVideoToRec709Range); 2995 2932 }
Note: See TracChangeset for help on using the changeset viewer.