Changeset 965 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibEncoder


Ignore:
Timestamp:
6 Jan 2015, 18:33:36 (10 years ago)
Author:
seregin
Message:

update for PTL, provided by Hendry <fhendry@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/Lib/TLibEncoder/TEncCavlc.cpp

    r963 r965  
    14961496  WRITE_CODE( ptl->getProfileSpace(), 2 ,     "XXX_profile_space[]");
    14971497  WRITE_FLAG( ptl->getTierFlag()==Level::HIGH, "XXX_tier_flag[]"    );
     1498#if MULTIPLE_PTL_SUPPORT
     1499  WRITE_CODE( (ptl->getProfileIdc() == Profile::SCALABLEMAIN || ptl->getProfileIdc() == Profile::SCALABLEMAIN10) ? 7 : Int(ptl->getProfileIdc()), 5 ,  "XXX_profile_idc[]"  );
     1500#else
    14981501  WRITE_CODE( Int(ptl->getProfileIdc()), 5 ,  "XXX_profile_idc[]"  );
     1502#endif
    14991503  for(Int j = 0; j < 32; j++)
    15001504  {
     
    15241528    WRITE_CODE(0 ,  3, "XXX_reserved_zero_35bits[32..34]");
    15251529  }
     1530#if MULTIPLE_PTL_SUPPORT
     1531  else if (ptl->getProfileIdc() == Profile::SCALABLEMAIN || ptl->getProfileIdc() == Profile::SCALABLEMAIN10)
     1532  {
     1533    WRITE_FLAG(true, "general_max_12bit_constraint_flag");
     1534    WRITE_FLAG(true, "general_max_10bit_constraint_flag");
     1535    WRITE_FLAG((ptl->getProfileIdc() == Profile::SCALABLEMAIN) ? true : false, "general_max_8bit_constraint_flag");
     1536    WRITE_FLAG(true, "general_max_422chroma_constraint_flag");
     1537    WRITE_FLAG(true, "general_max_420chroma_constraint_flag");
     1538    WRITE_FLAG(false, "general_max_monochrome_constraint_flag");
     1539    WRITE_FLAG(false, "general_intra_constraint_flag");
     1540    WRITE_FLAG(false, "general_one_picture_only_constraint_flag");
     1541    WRITE_FLAG(true, "general_lower_bit_rate_constraint_flag");
     1542    WRITE_CODE(0 , 16, "XXX_reserved_zero_35bits[0..15]");
     1543    WRITE_CODE(0 , 16, "XXX_reserved_zero_35bits[16..31]");
     1544    WRITE_CODE(0 ,  3, "XXX_reserved_zero_35bits[32..34]");
     1545  }
     1546#endif
    15261547  else
    15271548  {
Note: See TracChangeset for help on using the changeset viewer.