Changeset 529 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 25 Dec 2013, 05:53:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r528 r529 661 661 #endif 662 662 663 #if IL_SL_SIGNALLING_N0371664 m_pcEncTop->getScalingList()->setLayerId( m_layerId );665 #endif666 667 663 pcSlice->setLastIDR(m_iLastIDR); 668 664 pcSlice->setSliceIdx(0); … … 672 668 if(m_pcEncTop->getUseScalingListId() == SCALING_LIST_OFF) 673 669 { 674 #if IL_SL_SIGNALLING_N0371675 m_pcEncTop->getTrQuant()->setFlatScalingList( m_layerId );676 #else677 670 m_pcEncTop->getTrQuant()->setFlatScalingList(); 678 #endif679 671 m_pcEncTop->getTrQuant()->setUseScalingList(false); 680 672 m_pcEncTop->getSPS()->setScalingListPresentFlag(false); … … 700 692 { 701 693 #endif 702 #if IL_SL_SIGNALLING_N0371703 pcSlice->getScalingList()->setLayerId( m_layerId );704 #endif705 706 #if IL_SL_SIGNALLING_N0371707 pcSlice->setDefaultScalingList ( m_layerId );708 #else709 694 pcSlice->setDefaultScalingList (); 710 #endif711 712 695 m_pcEncTop->getSPS()->setScalingListPresentFlag(false); 713 696 m_pcEncTop->getPPS()->setScalingListPresentFlag(false); … … 722 705 else if(m_pcEncTop->getUseScalingListId() == SCALING_LIST_FILE_READ) 723 706 { 724 #if IL_SL_SIGNALLING_N0371725 pcSlice->getScalingList()->setLayerId( m_layerId );726 #endif727 728 707 #if SCALINGLIST_INFERRING 729 708 // inferring of the scaling list can be moved to the config file … … 746 725 if(pcSlice->getScalingList()->xParseScalingList(m_pcCfg->getScalingListFile())) 747 726 { 748 #if IL_SL_SIGNALLING_N0371749 pcSlice->setDefaultScalingList ( m_layerId );750 #else751 727 pcSlice->setDefaultScalingList (); 752 #endif 753 } 754 #if IL_SL_SIGNALLING_N0371 755 pcSlice->getScalingList()->checkDcOfMatrix( m_layerId ); 756 #else 728 } 729 757 730 pcSlice->getScalingList()->checkDcOfMatrix(); 758 #endif759 731 m_pcEncTop->getSPS()->setScalingListPresentFlag(pcSlice->checkDefaultScalingList()); 760 761 #if IL_SL_SIGNALLING_N0371762 if( m_layerId > 0 )763 {764 m_pcEncTop->getSPS()->setPredScalingListFlag (true);765 m_pcEncTop->getSPS()->setScalingListRefLayerId( 0 );766 }767 #endif768 769 732 m_pcEncTop->getPPS()->setScalingListPresentFlag(false); 770 771 #if IL_SL_SIGNALLING_N0371772 if( m_layerId > 0 )773 {774 m_pcEncTop->getPPS()->setPredScalingListFlag (false);775 m_pcEncTop->getPPS()->setScalingListRefLayerId( 0 );776 }777 #endif778 733 779 734 #if SCALINGLIST_INFERRING … … 1778 1733 #if SVC_EXTENSION 1779 1734 nalu = NALUnit(NAL_UNIT_SPS, 0, m_layerId); 1780 #if IL_SL_SIGNALLING_N03711781 pcSlice->getSPS()->setVPS( pcSlice->getVPS() );1782 #endif1783 1735 #else 1784 1736 nalu = NALUnit(NAL_UNIT_SPS);
Note: See TracChangeset for help on using the changeset viewer.