Changeset 427 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
10 Oct 2013, 08:21:30 (11 years ago)
Author:
qualcomm
Message:

N0147 : setting based on intraPeriod of dependent layers

File:
1 edited

Legend:

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

    r426 r427  
    10831083  }
    10841084
    1085   for( Int i = 0; i < vps->getNumViews(); i++ )
     1085  for( i = 0; i < vps->getNumViews(); i++ )
    10861086  {
    10871087    READ_CODE( vps->getViewIdLenMinus1( ) + 1, uiCode, "view_id_val[i]" ); vps->setViewIdVal( i, uiCode );
     
    15531553  {
    15541554#if POC_RESET_FLAG
    1555     Int i = 0;
    1556     if(rpcSlice->getPPS()->getNumExtraSliceHeaderBits() > i)
     1555    Int iBits = 0;
     1556    if(rpcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    15571557    {
    15581558      READ_FLAG(uiCode, "poc_reset_flag");      rpcSlice->setPocResetFlag( uiCode ? true : false );
    1559       i++;
    1560     }
    1561     if(rpcSlice->getPPS()->getNumExtraSliceHeaderBits() > i)
     1559      iBits++;
     1560    }
     1561    if(rpcSlice->getPPS()->getNumExtraSliceHeaderBits() > iBits)
    15621562    {
    15631563      READ_FLAG(uiCode, "discardable_flag"); // ignored
    1564       i++;
    1565     }
    1566     for (; i < rpcSlice->getPPS()->getNumExtraSliceHeaderBits(); i++)
     1564      iBits++;
     1565    }
     1566    for (; iBits < rpcSlice->getPPS()->getNumExtraSliceHeaderBits(); iBits++)
    15671567    {
    15681568      READ_FLAG(uiCode, "slice_reserved_undetermined_flag[]"); // ignored
Note: See TracChangeset for help on using the changeset viewer.