Changeset 50 in 3DVCSoftware for branches/0.3-nokia/source/App


Ignore:
Timestamp:
4 Apr 2012, 16:55:35 (13 years ago)
Author:
nokia
Message:

FCO bug-fix to 3DV-HTM version 0.4: decoder crushed with texture-only coding.

Location:
branches/0.3-nokia/source/App
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/0.3-nokia/source/App/TAppDecoder/TAppDecTop.cpp

    r34 r50  
    272272
    273273      }
    274       if (bCountDepthViewIdx == false )
     274      if (m_bUsingDepth && bCountDepthViewIdx == false )
    275275      {
    276276        bCountDepthViewIdx = true;
     
    298298        }
    299299
    300         if (iViewIdx >= m_acTDecTopList.size() || iDepthViewIdx >= m_acTDecDepthTopList.size())
     300        if (iViewIdx >= m_acTDecTopList.size() || (m_bUsingDepth && iDepthViewIdx >= m_acTDecDepthTopList.size()))
    301301        {
    302302          bFirstDepth = false;
  • branches/0.3-nokia/source/App/TAppEncoder/TAppEncCfg.cpp

    r34 r50  
    203203
    204204#if FLEX_CODING_ORDER
    205   ("3DVFlexOrder",          m_b3DVFlexOrder,   false, "flexible coding order flag" )
    206   ("3DVCodingOrder",            cfg_JointCodingOrdering,  string(""), "The coding order for joint texture-depth coding")
    207 
    208 #endif
     205  ("FCO",               m_b3DVFlexOrder,   false, "flexible coding order flag" )
     206  ("CodingOrder",               cfg_JointCodingOrdering,  string(""), "The coding order for joint texture-depth coding")
     207#endif
     208
    209209  /* Unit definition parameters */
    210210  ("MaxCUWidth",          m_uiMaxCUWidth,  64u)
     
    394394  m_pchdQPFile = cfg_dQPFile.empty() ? NULL : strdup(cfg_dQPFile.c_str());
    395395
    396 #if FLEX_CODING_ORDER && HHI_VSO
     396
     397#if FLEX_CODING_ORDER
    397398  m_pchMVCJointCodingOrder      = cfg_JointCodingOrdering.empty()?NULL:strdup(cfg_JointCodingOrdering.c_str());
    398399  // If flexible order is enabled and if depth comes before the texture for a view, disable VSO
     400
     401#if HHI_VSO && DISABLE_FCO_FOR_VSO
    399402  Bool depthComesFirst = false;
    400403  if ( m_b3DVFlexOrder )
     
    425428  }
    426429#endif
    427 
     430#endif
    428431
    429432// GT FIX
  • branches/0.3-nokia/source/App/TAppEncoder/TAppEncTop.cpp

    r34 r50  
    145145#endif
    146146
     147#if BITSTREAM_EXTRACTION
     148    m_acTEncTopList[iViewIdx]->setLayerId                      ( ( (UInt)iViewIdx ) << 1 );
     149#endif
    147150    m_acTEncTopList[iViewIdx]->setViewId                       ( (UInt)iViewIdx );
    148151    m_acTEncTopList[iViewIdx]->setViewOrderIdx                 ( m_cCameraData.getViewOrderIndex()[ iViewIdx ] );
     
    337340#endif
    338341
     342#if BITSTREAM_EXTRACTION
     343      m_acTEncDepthTopList[iViewIdx]->setLayerId                      ( ( ( (UInt)iViewIdx ) << 1 ) + 1 );
     344#endif
    339345      m_acTEncDepthTopList[iViewIdx]->setViewId                       ( (UInt)iViewIdx );
    340346      m_acTEncDepthTopList[iViewIdx]->setViewOrderIdx                 ( m_cCameraData.getViewOrderIndex()[ iViewIdx ] );
Note: See TracChangeset for help on using the changeset viewer.