Changeset 1229 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
9 Jul 2015, 00:39:18 (9 years ago)
Author:
seregin
Message:

port rev 4168

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1226 r1229  
    14451445
    14461446    Bool isField = false;
    1447     Bool isTff = false;
     1447    Bool isTopField = false;
    14481448   
    14491449    if(!m_SEIs.empty())
     
    14541454      {
    14551455        SEIPictureTiming* pictureTiming = (SEIPictureTiming*) *(pictureTimingSEIs.begin());
    1456         isField = (pictureTiming->m_picStruct == 1) || (pictureTiming->m_picStruct == 2);
    1457         isTff =  (pictureTiming->m_picStruct == 1);
    1458       }
    1459 
     1456        isField    = (pictureTiming->m_picStruct == 1) || (pictureTiming->m_picStruct == 2) || (pictureTiming->m_picStruct == 9) || (pictureTiming->m_picStruct == 10) || (pictureTiming->m_picStruct == 11) || (pictureTiming->m_picStruct == 12);
     1457        isTopField = (pictureTiming->m_picStruct == 1) || (pictureTiming->m_picStruct == 9) || (pictureTiming->m_picStruct == 11);
     1458      }
     1459
     1460#if Q0189_TMVP_CONSTRAINTS
    14601461      // Check if any new temporal motion vector prediction constraints SEI has arrived
    14611462      SEIMessages seiTMVPConstrainsList = extractSeisByType (m_SEIs, SEI::TMVP_CONSTRAINTS);
     
    14831484        }
    14841485      }
     1486#endif
    14851487    }
    14861488   
    14871489    //Set Field/Frame coding mode
    14881490    m_pcPic->setField(isField);
    1489     m_pcPic->setTopField(isTff);
     1491    m_pcPic->setTopField(isTopField);
    14901492
    14911493    // transfer any SEI messages that have been received to the picture
Note: See TracChangeset for help on using the changeset viewer.