Changeset 784 in SHVCSoftware


Ignore:
Timestamp:
6 Jun 2014, 19:17:05 (11 years ago)
Author:
seregin
Message:

remove ILP_NUM_REF_CHK

Location:
branches/SHM-6-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h

    r783 r784  
    132132#define POC_RESET_RPS                    1      ///< JCTVC-O0117 Modification to the decoding process for rps
    133133#endif
    134 
    135 #define ILP_NUM_REF_CHK                  1      ///< JCTVC-N0195 proposal 1, JCTVC-N0081, JCTVC-N0154, JCTVC-N0217: a condition on signaling inter_layer_pred_layer_idc[ i ], to avoid sending when NumDirectRefLayers equals NumActiveRefLayerPics, and instead infer values
    136134
    137135#define VPS_RENAME                       1      ///< Rename variables max_layer_id and num_layer_sets_minus1 in VPS
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r783 r784  
    28612861#endif
    28622862          }
    2863 #if ILP_NUM_REF_CHK
     2863
    28642864          if( rpcSlice->getActiveNumILRRefIdx() == rpcSlice->getNumILRRefIdx() )
    28652865          {
     
    28712871          else
    28722872          {
    2873 #endif
    2874           for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ )
    2875           {
    2876             READ_CODE( numBits,uiCode,"inter_layer_pred_layer_idc[i]" );
    2877             rpcSlice->setInterLayerPredLayerIdc(uiCode,i);
     2873            for(Int i = 0; i < rpcSlice->getActiveNumILRRefIdx(); i++ )
     2874            {
     2875              READ_CODE( numBits,uiCode,"inter_layer_pred_layer_idc[i]" );
     2876              rpcSlice->setInterLayerPredLayerIdc(uiCode,i);
     2877            }
    28782878          }
    2879 #if ILP_NUM_REF_CHK
    2880           }
    2881 #endif
    28822879        }
    28832880        else
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r783 r784  
    19821982            WRITE_CODE(pcSlice->getActiveNumILRRefIdx() - 1, numBits,"num_inter_layer_ref_pics_minus1");
    19831983          }       
    1984 #if ILP_NUM_REF_CHK
     1984
    19851985          if( pcSlice->getNumILRRefIdx() != pcSlice->getActiveNumILRRefIdx() )
    19861986          {
    1987 #endif
    1988           for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
    1989           {
    1990             WRITE_CODE(pcSlice->getInterLayerPredLayerIdc(i),numBits,"inter_layer_pred_layer_idc[i]");   
     1987            for(Int i = 0; i < pcSlice->getActiveNumILRRefIdx(); i++ )
     1988            {
     1989              WRITE_CODE(pcSlice->getInterLayerPredLayerIdc(i),numBits,"inter_layer_pred_layer_idc[i]");   
     1990            }
    19911991          }
    1992 #if ILP_NUM_REF_CHK
    1993           }
    1994 #endif
    19951992        }
    19961993      }
Note: See TracChangeset for help on using the changeset viewer.