Changeset 964 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 6 Jan 2015, 06:46:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.