Changeset 105 in 3DVCSoftware for trunk


Ignore:
Timestamp:
14 Aug 2012, 20:24:45 (12 years ago)
Author:
tech
Message:

Fixes and update of xcode project

  • FIX_DECODING_WO_WRITING
  • FIX_INIT_ROM
  • FIX_VIRT_DESTRUCTOR
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/HTM.xcodeproj/project.pbxproj

    r77 r105  
    15031503                                GCC_WARN_UNUSED_VARIABLE = YES;
    15041504                                HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/source/Lib/";
     1505                                MACOSX_DEPLOYMENT_TARGET = 10.7;
    15051506                                ONLY_ACTIVE_ARCH = YES;
    15061507                                SDKROOT = macosx;
     
    15181519                                GCC_WARN_UNUSED_VARIABLE = YES;
    15191520                                HEADER_SEARCH_PATHS = "$(PROJECT_DIR)/source/Lib/";
     1521                                MACOSX_DEPLOYMENT_TARGET = 10.7;
    15201522                                SDKROOT = macosx;
    15211523                        };
  • trunk/source/App/TAppDecoder/TAppDecTop.cpp

    r81 r105  
    435435  if( isDepth )
    436436    m_useDepth = true;
    437   while( m_tVideoIOYuvReconFile.size() < newNumberOfViewDepth)
    438   {
    439     m_tVideoIOYuvReconFile.push_back(new TVideoIOYuv);
    440     Char buffer[4];
    441 #if VIDYO_VPS_INTEGRATION
    442     sprintf(buffer,"_%i", viewId );
    443 #else
    444     sprintf(buffer,"_%i", (Int)(m_tVideoIOYuvReconFile.size()-1) / 2 );
    445 #endif
    446     Char* nextFilename = NULL;
    447 #if VIDYO_VPS_INTEGRATION
    448     if( isDepth)
    449 #else
    450     if( (m_tVideoIOYuvReconFile.size() % 2) == 0 )
    451 #endif
    452     {
    453       Char* pchTempFilename = NULL;
    454       xAppendToFileNameEnd( m_pchReconFile, "_depth", pchTempFilename);
    455       xAppendToFileNameEnd( pchTempFilename, buffer, nextFilename);
    456       free ( pchTempFilename );
    457     }
    458     else
    459     {
    460       xAppendToFileNameEnd( m_pchReconFile, buffer, nextFilename);
    461     }
     437
     438#if FIX_DECODING_WO_WRITING
     439  if ( m_pchReconFile )
     440  {
     441#endif
     442    while( m_tVideoIOYuvReconFile.size() < newNumberOfViewDepth)
     443    {
     444      m_tVideoIOYuvReconFile.push_back(new TVideoIOYuv);
     445      Char buffer[4];
     446#if VIDYO_VPS_INTEGRATION
     447      sprintf(buffer,"_%i", viewId );
     448#else
     449      sprintf(buffer,"_%i", (Int)(m_tVideoIOYuvReconFile.size()-1) / 2 );
     450#endif
     451      Char* nextFilename = NULL;
     452#if VIDYO_VPS_INTEGRATION
     453      if( isDepth)
     454#else
     455      if( (m_tVideoIOYuvReconFile.size() % 2) == 0 )
     456#endif
     457      {
     458        Char* pchTempFilename = NULL;
     459        xAppendToFileNameEnd( m_pchReconFile, "_depth", pchTempFilename);
     460        xAppendToFileNameEnd( pchTempFilename, buffer, nextFilename);
     461        free ( pchTempFilename );
     462      }
     463      else
     464      {
     465        xAppendToFileNameEnd( m_pchReconFile, buffer, nextFilename);
     466      }
    462467#if !VIDYO_VPS_INTEGRATION
    463     if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) )
    464 #endif
    465     {
    466       m_tVideoIOYuvReconFile.back()->open( nextFilename, true, m_outputBitDepth, g_uiBitDepth + g_uiBitIncrement );
    467     }
     468      if( isDepth || ( !isDepth && (m_tVideoIOYuvReconFile.size() % 2) == 1 ) )
     469#endif
     470      {
     471        m_tVideoIOYuvReconFile.back()->open( nextFilename, true, m_outputBitDepth, g_uiBitDepth + g_uiBitIncrement );
     472      }
    468473      free ( nextFilename );
    469   }
     474    }
     475#if FIX_DECODING_WO_WRITING
     476  }
     477#endif
     478
    470479  while( m_pocLastDisplay.size() < newNumberOfViewDepth )
    471480  {
  • trunk/source/Lib/TLibCommon/CommonDef.h

    r100 r105  
    5858
    5959#define HM_VERSION        "6.1"
    60 #define NV_VERSION        "4.0rc1"                 ///< Current software version
     60#define NV_VERSION        "4.0"                  ///< Current software version
    6161
    6262// ====================================================================================================================
  • trunk/source/Lib/TLibCommon/TypeDef.h

    r101 r105  
    4444#define FIXES                             1
    4545#define POZNAN_CABAC_INIT_FLAG_FIX        1
     46#define FIX_DECODING_WO_WRITING           1
     47#define FIX_INIT_ROM                      1
     48#define FIX_VIRT_DESTRUCTOR               1
    4649
    4750
  • trunk/source/Lib/TLibEncoder/TEncTop.cpp

    r100 r105  
    9191{
    9292  // initialize global variables
    93   initROM();
    94  
     93#if FIX_INIT_ROM
     94  if( m_viewId == 0 && m_isDepth == false )
     95  {
     96#endif
     97    initROM();
     98#if FIX_INIT_ROM
     99  }
     100#endif
     101
     102
    95103  // create processing unit classes
    96104  m_cGOPEncoder.        create( getSourceWidth(), getSourceHeight(), g_uiMaxCUWidth, g_uiMaxCUHeight );
  • trunk/source/Lib/TLibRenderer/TRenSingleModel.h

    r100 r105  
    6868{
    6969public:
     70
     71#if FIX_VIRT_DESTRUCTOR
     72  virtual ~TRenSingleModel() { } 
     73#endif
    7074#if LGE_VSO_EARLY_SKIP_A0093
    7175  virtual Void   create    ( Int iMode, Int iWidth, Int iHeight, Int iShiftPrec, Int*** aaaiSubPelShiftTable, Int iHoleMargin, Bool bUseOrgRef, Int iBlendMode, Bool bEarlySkip ) = 0;
Note: See TracChangeset for help on using the changeset viewer.