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


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/TLibDecoder/TDecCAVLC.cpp

    r963 r965  
    23132313    READ_CODE(3,  uiCode, "XXX_reserved_zero_35bits[32..34]");
    23142314  }
     2315#if MULTIPLE_PTL_SUPPORT
     2316  else if (ptl->getProfileIdc() == Profile::SCALABLEMAIN )
     2317  {
     2318    READ_FLAG(    uiCode, "general_max_12bit_constraint_flag" ); assert (uiCode == 1);
     2319    READ_FLAG(    uiCode, "general_max_10bit_constraint_flag" ); assert (uiCode == 1);
     2320    READ_FLAG(    uiCode, "general_max_8bit_constraint_flag"  ); ptl->setProfileIdc  ((uiCode) ? Profile::SCALABLEMAIN : Profile::SCALABLEMAIN10);
     2321    READ_FLAG(    uiCode, "general_max_422chroma_constraint_flag"  ); assert (uiCode == 1);
     2322    READ_FLAG(    uiCode, "general_max_420chroma_constraint_flag"  ); assert (uiCode == 1);
     2323    READ_FLAG(    uiCode, "general_max_monochrome_constraint_flag" ); assert (uiCode == 0);
     2324    READ_FLAG(    uiCode, "general_intra_constraint_flag"); assert (uiCode == 0);
     2325    READ_FLAG(    uiCode, "general_one_picture_only_constraint_flag"); assert (uiCode == 0);
     2326    READ_FLAG(    uiCode, "general_lower_bit_rate_constraint_flag"); assert (uiCode == 1);
     2327    READ_CODE(16, uiCode, "XXX_reserved_zero_35bits[0..15]");
     2328    READ_CODE(16, uiCode, "XXX_reserved_zero_35bits[16..31]");
     2329    READ_CODE(3,  uiCode, "XXX_reserved_zero_35bits[32..34]");
     2330  }
     2331#endif
    23152332  else
    23162333  {
Note: See TracChangeset for help on using the changeset viewer.