Ticket #1028: HM-10.0-DependentSlicesAndTileEntryPoints.cpp.patch

File HM-10.0-DependentSlicesAndTileEntryPoints.cpp.patch, 1.1 KB (added by kiranmisra, 9 years ago)

HM-10.0 Dependent Slices And Tile Entry Points encoder patch

  • Lib/TLibEncoder/TEncGOP.cpp

     
    12401240          m_pcSbacCoder->load( &pcSbacCoders[0] );
    12411241
    12421242          pcSlice->setTileOffstForMultES( uiOneBitstreamPerSliceLength );
    1243           if (!sliceSegment)
    1244           {
    1245             pcSlice->setTileLocationCount ( 0 );
    1246             m_pcSliceEncoder->encodeSlice(pcPic, pcBitstreamRedirect, pcSubstreamsOut); // redirect is only used for CAVLC tile position info.
    1247           }
    1248           else
    1249           {
    1250             m_pcSliceEncoder->encodeSlice(pcPic, &nalu.m_Bitstream, pcSubstreamsOut); // nalu.m_Bitstream is only used for CAVLC tile position info.
    1251           }
     1243          pcSlice->setTileLocationCount ( 0 );
     1244          m_pcSliceEncoder->encodeSlice(pcPic, pcBitstreamRedirect, pcSubstreamsOut); // redirect is only used for CAVLC tile position info.
    12521245
    12531246          {
    12541247            // Construct the final bitstream by flushing and concatenating substreams.