Changeset 964 in SHVCSoftware
- Timestamp:
- 6 Jan 2015, 06:46:15 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r953 r964 812 812 MULTIVIEWMAIN = 6, 813 813 SCALABLEMAIN = 7, 814 SCALABLEMAIN10 = 7,814 SCALABLEMAIN10 = 8, 815 815 #endif 816 816 }; -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r954 r964 4174 4174 ptl->setFrameOnlyConstraintFlag(uiCode ? true : false); 4175 4175 4176 #if MULTIPLE_PTL_SUPPORT 4177 READ_FLAG( uiCode, "general_max_12bit_constraint_flag" ); assert (uiCode == 1); 4178 READ_FLAG( uiCode, "general_max_10bit_constraint_flag" ); assert (uiCode == 1); 4179 READ_FLAG( uiCode, "general_max_8bit_constraint_flag" ); ptl->setProfileIdc ((uiCode) ? Profile::SCALABLEMAIN : Profile::SCALABLEMAIN10); 4180 READ_FLAG( uiCode, "general_max_422chroma_constraint_flag" ); assert (uiCode == 1); 4181 READ_FLAG( uiCode, "general_max_420chroma_constraint_flag" ); assert (uiCode == 1); 4182 READ_FLAG( uiCode, "general_max_monochrome_constraint_flag" ); assert (uiCode == 0); 4183 READ_FLAG( uiCode, "general_intra_constraint_flag"); assert (uiCode == 0); 4184 READ_FLAG( uiCode, "general_one_picture_only_constraint_flag"); assert (uiCode == 0); 4185 READ_FLAG( uiCode, "general_lower_bit_rate_constraint_flag"); assert (uiCode == 1); 4186 READ_CODE(16, uiCode, "XXX_reserved_zero_35bits[0..15]"); 4187 READ_CODE(16, uiCode, "XXX_reserved_zero_35bits[16..31]"); 4188 READ_CODE(3, uiCode, "XXX_reserved_zero_35bits[32..34]"); 4189 #else 4176 4190 READ_CODE(16, uiCode, "XXX_reserved_zero_44bits[0..15]"); 4177 4191 READ_CODE(16, uiCode, "XXX_reserved_zero_44bits[16..31]"); 4178 4192 READ_CODE(12, uiCode, "XXX_reserved_zero_44bits[32..43]"); 4193 #endif 4179 4194 } 4180 4195 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r954 r964 2627 2627 WRITE_CODE( ptl->getProfileSpace(), 2 , "XXX_profile_space[]"); 2628 2628 WRITE_FLAG( ptl->getTierFlag (), "XXX_tier_flag[]" ); 2629 #if MULTIPLE_PTL_SUPPORT 2630 WRITE_CODE( (ptl->getProfileIdc() == Profile::SCALABLEMAIN || ptl->getProfileIdc() == Profile::SCALABLEMAIN10) ? 7 : Int(ptl->getProfileIdc()), 5 , "XXX_profile_idc[]" ); 2631 #else 2629 2632 WRITE_CODE( ptl->getProfileIdc (), 5 , "XXX_profile_idc[]" ); 2633 #endif 2630 2634 for(Int j = 0; j < 32; j++) 2631 2635 { … … 2637 2641 WRITE_FLAG(ptl->getNonPackedConstraintFlag(), "general_non_packed_constraint_flag"); 2638 2642 WRITE_FLAG(ptl->getFrameOnlyConstraintFlag(), "general_frame_only_constraint_flag"); 2639 2643 2644 #if MULTIPLE_PTL_SUPPORT 2645 WRITE_FLAG(true, "general_max_12bit_constraint_flag"); 2646 WRITE_FLAG(true, "general_max_10bit_constraint_flag"); 2647 WRITE_FLAG((ptl->getProfileIdc() == Profile::SCALABLEMAIN) ? true : false, "general_max_8bit_constraint_flag"); 2648 WRITE_FLAG(true, "general_max_422chroma_constraint_flag"); 2649 WRITE_FLAG(true, "general_max_420chroma_constraint_flag"); 2650 WRITE_FLAG(false, "general_max_monochrome_constraint_flag"); 2651 WRITE_FLAG(false, "general_intra_constraint_flag"); 2652 WRITE_FLAG(false, "general_one_picture_only_constraint_flag"); 2653 WRITE_FLAG(true, "general_lower_bit_rate_constraint_flag"); 2654 WRITE_CODE(0 , 16, "XXX_reserved_zero_35bits[0..15]"); 2655 WRITE_CODE(0 , 16, "XXX_reserved_zero_35bits[16..31]"); 2656 WRITE_CODE(0 , 3, "XXX_reserved_zero_35bits[32..34]"); 2657 #else 2640 2658 WRITE_CODE(0 , 16, "XXX_reserved_zero_44bits[0..15]"); 2641 2659 WRITE_CODE(0 , 16, "XXX_reserved_zero_44bits[16..31]"); 2642 2660 WRITE_CODE(0 , 12, "XXX_reserved_zero_44bits[32..43]"); 2661 #endif 2643 2662 } 2644 2663
Note: See TracChangeset for help on using the changeset viewer.