Changeset 1565 in SHVCSoftware for branches


Ignore:
Timestamp:
20 Jun 2016, 17:37:28 (9 years ago)
Author:
seregin
Message:

port rev 4742

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1556 r1565  
    300300      }
    301301    }
    302 
    303     if ((tileColumnsMinus1 + tileRowsMinus1) != 0)
    304     {
    305       READ_FLAG ( uiCode, "loop_filter_across_tiles_enabled_flag" );   pcPPS->setLoopFilterAcrossTilesEnabledFlag( uiCode ? true : false );
    306     }
     302    assert ((tileColumnsMinus1 + tileRowsMinus1) != 0);
     303    READ_FLAG ( uiCode, "loop_filter_across_tiles_enabled_flag" );     pcPPS->setLoopFilterAcrossTilesEnabledFlag( uiCode ? true : false );
    307304  }
    308305  READ_FLAG( uiCode, "pps_loop_filter_across_slices_enabled_flag" );   pcPPS->setLoopFilterAcrossSlicesEnabledFlag( uiCode ? true : false );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1554 r1565  
    219219      }
    220220    }
    221     if(pcPPS->getNumTileColumnsMinus1() !=0 || pcPPS->getNumTileRowsMinus1() !=0)
    222     {
    223       WRITE_FLAG( pcPPS->getLoopFilterAcrossTilesEnabledFlag()?1 : 0,          "loop_filter_across_tiles_enabled_flag");
    224     }
     221    assert ((pcPPS->getNumTileColumnsMinus1() + pcPPS->getNumTileRowsMinus1()) != 0);
     222    WRITE_FLAG( pcPPS->getLoopFilterAcrossTilesEnabledFlag()?1 : 0,       "loop_filter_across_tiles_enabled_flag");
    225223  }
    226224  WRITE_FLAG( pcPPS->getLoopFilterAcrossSlicesEnabledFlag()?1 : 0,        "pps_loop_filter_across_slices_enabled_flag");
Note: See TracChangeset for help on using the changeset viewer.