Ignore:
Timestamp:
21 Oct 2013, 17:52:23 (12 years ago)
Author:
tech
Message:

Update to HM 12.0.

Location:
branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/CommonDef.h

    r648 r651  
    6161#if H_MV
    6262#define NV_VERSION        "8.1"                 ///< Current software version
    63 #define HM_VERSION        "11.0"                ///<
     63#define HM_VERSION        "12.0"                ///<
    6464#else
    65 #define NV_VERSION        "11.0"                 ///< Current software version
     65#define NV_VERSION        "12.0"                 ///< Current software version
    6666#endif
    6767
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComMv.h

    r622 r651  
    4040
    4141#include "CommonDef.h"
     42#include <cstdlib>
    4243
    4344//! \ingroup TLibCommon
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComPic.cpp

    r647 r651  
    5050, m_bUsedByCurr                           (false)
    5151, m_bIsLongTerm                           (false)
    52 , m_bIsUsedAsLongTerm                     (false)
    5352, m_apcPicSym                             (NULL)
    5453, m_pcPicYuvPred                          (NULL)
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComPic.h

    r647 r651  
    6161  Bool                  m_bUsedByCurr;            //  Used by current picture
    6262  Bool                  m_bIsLongTerm;            //  IS long term picture
    63   Bool                  m_bIsUsedAsLongTerm;      //  long term picture is used as reference before
    6463  TComPicSym*           m_apcPicSym;              //  Symbol
    6564 
     
    8382  Window                m_defaultDisplayWindow;
    8483
     84  bool                  m_isTop;
     85  bool                  m_isField;
     86 
    8587  std::vector<std::vector<TComDataCU*> > m_vSliceCUDataLink;
    8688
     
    208210  TComPicYuv*   getYuvPicBufferForIndependentBoundaryProcessing()             {return m_pNDBFilterYuvTmp;}
    209211  std::vector<TComDataCU*>& getOneSliceCUDataForNDBFilter      (Int sliceID) { return m_vSliceCUDataLink[sliceID];}
     212
     213
     214  /* field coding parameters*/
     215
     216   Void              setTopField(bool b)                  {m_isTop = b;}
     217   bool              isTopField()                         {return m_isTop;}
     218   Void              setField(bool b)                     {m_isField = b;}
     219   bool              isField()                            {return m_isField;}
    210220
    211221#if H_MV
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComPicSym.cpp

    r608 r651  
    6161,m_uiNumAllocatedSlice (0)
    6262,m_apcTComDataCU (NULL)
    63 ,m_iTileBoundaryIndependenceIdr (0)
    6463,m_iNumColumnsMinus1 (0)
    6564,m_iNumRowsMinus1(0)
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComPicSym.h

    r608 r651  
    9999  UInt          m_uiNumAllocatedSlice;
    100100  TComDataCU**  m_apcTComDataCU;        ///< array of CU data
    101  
    102   Int           m_iTileBoundaryIndependenceIdr;
     101   
    103102  Int           m_iNumColumnsMinus1;
    104103  Int           m_iNumRowsMinus1;
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComPrediction.cpp

    r647 r651  
    12611261  Int k, l, bottomLeft, topRight;
    12621262  Int horPred;
    1263   Int leftColumn[MAX_CU_SIZE], topRow[MAX_CU_SIZE], bottomRow[MAX_CU_SIZE], rightColumn[MAX_CU_SIZE];
     1263  Int leftColumn[MAX_CU_SIZE+1], topRow[MAX_CU_SIZE+1], bottomRow[MAX_CU_SIZE], rightColumn[MAX_CU_SIZE];
    12641264  UInt blkSize = width;
    12651265  UInt offset2D = width;
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComRdCost.h

    r647 r651  
    148148private:
    149149  // for distortion
    150   Int                     m_iBlkWidth;
    151   Int                     m_iBlkHeight;
    152150 
    153151#if AMP_SAD
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComRom.cpp

    r647 r651  
    5555  ::memset( g_aucConvertToBit,   -1, sizeof( g_aucConvertToBit ) );
    5656  c=0;
    57   for ( i=4; i<MAX_CU_SIZE; i*=2 )
     57  for ( i=4; i<=MAX_CU_SIZE; i*=2 )
    5858  {
    5959    g_aucConvertToBit[ i ] = c;
    6060    c++;
    6161  }
    62   g_aucConvertToBit[ i ] = c;
    6362 
    6463  c=2;
     
    292291
    293292#if FAST_UDI_USE_MPM
    294 const UChar g_aucIntraModeNumFast[7] =
     293const UChar g_aucIntraModeNumFast[MAX_CU_DEPTH] =
    295294{
    296295  3,  //   2x2
     
    299298  3,  //  16x16   
    300299  3,  //  32x32   
    301   3,  //  64x64   
    302   3   // 128x128 
     300  3   //  64x64   
    303301};
    304302#else // FAST_UDI_USE_MPM
    305 const UChar g_aucIntraModeNumFast[7] =
     303const UChar g_aucIntraModeNumFast[MAX_CU_DEPTH] =
    306304{
    307305  3,  //   2x2
     
    310308  4,  //  16x16   33
    311309  4,  //  32x32   33
    312   5,  //  64x64   33
    313   4   // 128x128  33
     310  5   //  64x64   33
    314311};
    315312#endif // FAST_UDI_USE_MPM
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComRom.h

    r647 r651  
    5656// ====================================================================================================================
    5757
    58 #define     MAX_CU_DEPTH            7                           // log2(LCUSize)
     58#define     MAX_CU_DEPTH            6                           // log2(LCUSize)
    5959#define     MAX_CU_SIZE             (1<<(MAX_CU_DEPTH))         // maximum allowable size of CU
    6060#define     MIN_PU_SIZE             4
     
    136136// ====================================================================================================================
    137137
    138 extern const UChar  g_aucIntraModeNumFast[7];
     138extern const UChar  g_aucIntraModeNumFast[ MAX_CU_DEPTH ];
    139139
    140140// ====================================================================================================================
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComSlice.cpp

    r648 r651  
    302302  if (!pocHasMsb)
    303303  {
    304     poc = poc % pocCycle;
     304    poc = poc & (pocCycle - 1);
    305305  }
    306306 
     
    313313      if (!pocHasMsb)
    314314      {
    315         picPoc = picPoc % pocCycle;
     315        picPoc = picPoc & (pocCycle - 1);
    316316      }
    317317     
     
    806806}
    807807
    808 Void TComSlice::checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, Bool& prevRAPisBLA, TComList<TComPic *>& rcListPic)
     808Void TComSlice::checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, NalUnitType& associatedIRAPType, TComList<TComPic *>& rcListPic)
    809809{
    810810  for(Int i = 0; i < pReferencePictureSet->getNumberOfNegativePictures()+pReferencePictureSet->getNumberOfPositivePictures(); i++)
     
    832832  {
    833833    pocCRA = getPOC();
    834     prevRAPisBLA = false;
    835834  }
    836835  else if ( getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA ) // CRA picture found
    837836  {
    838837    pocCRA = getPOC();
    839     prevRAPisBLA = false;
     838    associatedIRAPType = getNalUnitType();
    840839  }
    841840  else if ( getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_W_LP
     
    844843  {
    845844    pocCRA = getPOC();
    846     prevRAPisBLA = true;
     845    associatedIRAPType = getNalUnitType();
    847846  }
    848847}
     
    869868{
    870869  TComPic*                 rpcPic;
     870  setAssociatedIRAPPOC(pocCRA);
    871871  Int pocCurr = getPOC();
    872872
     
    10541054}
    10551055
    1056 Int TComSlice::m_prevPOC = 0;
     1056Int TComSlice::m_prevTid0POC = 0;
    10571057
    10581058/** Function for setting the slice's temporal layer ID and corresponding temporal_layer_switching_point_flag.
     
    11091109}
    11101110
     1111
     1112Void TComSlice::checkLeadingPictureRestrictions(TComList<TComPic*>& rcListPic)
     1113{
     1114  TComPic* rpcPic;
     1115
     1116  Int nalUnitType = this->getNalUnitType();
     1117
     1118  // When a picture is a leading picture, it shall be a RADL or RASL picture.
     1119  if(this->getAssociatedIRAPPOC() > this->getPOC())
     1120  {
     1121    // Do not check IRAP pictures since they may get a POC lower than their associated IRAP
     1122    if(nalUnitType < NAL_UNIT_CODED_SLICE_BLA_W_LP ||
     1123       nalUnitType > NAL_UNIT_RESERVED_IRAP_VCL23)
     1124    {
     1125      assert(nalUnitType == NAL_UNIT_CODED_SLICE_RASL_N ||
     1126             nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R ||
     1127             nalUnitType == NAL_UNIT_CODED_SLICE_RADL_N ||
     1128             nalUnitType == NAL_UNIT_CODED_SLICE_RADL_R);
     1129    }
     1130  }
     1131
     1132  // When a picture is a trailing picture, it shall not be a RADL or RASL picture.
     1133  if(this->getAssociatedIRAPPOC() < this->getPOC())
     1134  {
     1135    assert(nalUnitType != NAL_UNIT_CODED_SLICE_RASL_N &&
     1136           nalUnitType != NAL_UNIT_CODED_SLICE_RASL_R &&
     1137           nalUnitType != NAL_UNIT_CODED_SLICE_RADL_N &&
     1138           nalUnitType != NAL_UNIT_CODED_SLICE_RADL_R);
     1139  }
     1140
     1141  // No RASL pictures shall be present in the bitstream that are associated
     1142  // with a BLA picture having nal_unit_type equal to BLA_W_RADL or BLA_N_LP.
     1143  if(nalUnitType == NAL_UNIT_CODED_SLICE_RASL_N ||
     1144     nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R)
     1145  {
     1146    assert(this->getAssociatedIRAPType() != NAL_UNIT_CODED_SLICE_BLA_W_RADL &&
     1147           this->getAssociatedIRAPType() != NAL_UNIT_CODED_SLICE_BLA_N_LP);
     1148  }
     1149
     1150  // No RASL pictures shall be present in the bitstream that are associated with
     1151  // an IDR picture.
     1152  if(nalUnitType == NAL_UNIT_CODED_SLICE_RASL_N ||
     1153     nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R)
     1154  {
     1155    assert(this->getAssociatedIRAPType() != NAL_UNIT_CODED_SLICE_IDR_N_LP   &&
     1156           this->getAssociatedIRAPType() != NAL_UNIT_CODED_SLICE_IDR_W_RADL);
     1157  }
     1158
     1159  // No RADL pictures shall be present in the bitstream that are associated with
     1160  // a BLA picture having nal_unit_type equal to BLA_N_LP or that are associated
     1161  // with an IDR picture having nal_unit_type equal to IDR_N_LP.
     1162  if(nalUnitType == NAL_UNIT_CODED_SLICE_RADL_N ||
     1163     nalUnitType == NAL_UNIT_CODED_SLICE_RADL_R)
     1164  {
     1165    assert(this->getAssociatedIRAPType() != NAL_UNIT_CODED_SLICE_BLA_N_LP   &&
     1166           this->getAssociatedIRAPType() != NAL_UNIT_CODED_SLICE_IDR_N_LP);
     1167  }
     1168
     1169  // loop through all pictures in the reference picture buffer
     1170  TComList<TComPic*>::iterator iterPic = rcListPic.begin();
     1171  while ( iterPic != rcListPic.end())
     1172  {
     1173    rpcPic = *(iterPic++);
     1174    if (rpcPic->getPOC() == this->getPOC())
     1175    {
     1176      continue;
     1177    }
     1178
     1179    // Any picture that has PicOutputFlag equal to 1 that precedes an IRAP picture
     1180    // in decoding order shall precede the IRAP picture in output order.
     1181    // (Note that any picture following in output order would be present in the DPB)
     1182    if(rpcPic->getSlice(0)->getPicOutputFlag() == 1)
     1183    {
     1184      if(nalUnitType == NAL_UNIT_CODED_SLICE_BLA_N_LP    ||
     1185         nalUnitType == NAL_UNIT_CODED_SLICE_BLA_W_LP    ||
     1186         nalUnitType == NAL_UNIT_CODED_SLICE_BLA_W_RADL  ||
     1187         nalUnitType == NAL_UNIT_CODED_SLICE_CRA         ||
     1188         nalUnitType == NAL_UNIT_CODED_SLICE_IDR_N_LP    ||
     1189         nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL)
     1190      {
     1191        assert(rpcPic->getPOC() < this->getPOC());
     1192      }
     1193    }
     1194
     1195    // Any picture that has PicOutputFlag equal to 1 that precedes an IRAP picture
     1196    // in decoding order shall precede any RADL picture associated with the IRAP
     1197    // picture in output order.
     1198    if(rpcPic->getSlice(0)->getPicOutputFlag() == 1)
     1199    {
     1200      if((nalUnitType == NAL_UNIT_CODED_SLICE_RADL_N ||
     1201          nalUnitType == NAL_UNIT_CODED_SLICE_RADL_R))
     1202      {
     1203        // rpcPic precedes the IRAP in decoding order
     1204        if(this->getAssociatedIRAPPOC() > rpcPic->getSlice(0)->getAssociatedIRAPPOC())
     1205        {
     1206          // rpcPic must not be the IRAP picture
     1207          if(this->getAssociatedIRAPPOC() != rpcPic->getPOC())
     1208          {
     1209            assert(rpcPic->getPOC() < this->getPOC());
     1210          }
     1211        }
     1212      }
     1213    }
     1214
     1215    // When a picture is a leading picture, it shall precede, in decoding order,
     1216    // all trailing pictures that are associated with the same IRAP picture.
     1217    if(nalUnitType == NAL_UNIT_CODED_SLICE_RASL_N ||
     1218       nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R ||
     1219       nalUnitType == NAL_UNIT_CODED_SLICE_RADL_N ||
     1220       nalUnitType == NAL_UNIT_CODED_SLICE_RADL_R)
     1221    {
     1222      if(rpcPic->getSlice(0)->getAssociatedIRAPPOC() == this->getAssociatedIRAPPOC())
     1223      {
     1224        // rpcPic is a picture that preceded the leading in decoding order since it exist in the DPB
     1225        // rpcPic would violate the constraint if it was a trailing picture
     1226        assert(rpcPic->getPOC() <= this->getAssociatedIRAPPOC());
     1227      }
     1228    }
     1229
     1230    // Any RASL picture associated with a CRA or BLA picture shall precede any
     1231    // RADL picture associated with the CRA or BLA picture in output order
     1232    if(nalUnitType == NAL_UNIT_CODED_SLICE_RASL_N ||
     1233       nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R)
     1234    {
     1235      if((this->getAssociatedIRAPType() == NAL_UNIT_CODED_SLICE_BLA_N_LP   ||
     1236          this->getAssociatedIRAPType() == NAL_UNIT_CODED_SLICE_BLA_W_LP   ||
     1237          this->getAssociatedIRAPType() == NAL_UNIT_CODED_SLICE_BLA_W_RADL ||
     1238          this->getAssociatedIRAPType() == NAL_UNIT_CODED_SLICE_CRA)       &&
     1239          this->getAssociatedIRAPPOC() == rpcPic->getSlice(0)->getAssociatedIRAPPOC())
     1240      {
     1241        if(rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_N ||
     1242           rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_RADL_R)
     1243        {
     1244          assert(rpcPic->getPOC() > this->getPOC());
     1245        }
     1246      }
     1247    }
     1248
     1249    // Any RASL picture associated with a CRA picture shall follow, in output
     1250    // order, any IRAP picture that precedes the CRA picture in decoding order.
     1251    if(nalUnitType == NAL_UNIT_CODED_SLICE_RASL_N ||
     1252       nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R)
     1253    {
     1254      if(this->getAssociatedIRAPType() == NAL_UNIT_CODED_SLICE_CRA)
     1255      {
     1256        if(rpcPic->getSlice(0)->getPOC() < this->getAssociatedIRAPPOC() &&
     1257           (rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_N_LP   ||
     1258            rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_W_LP   ||
     1259            rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_BLA_W_RADL ||
     1260            rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP   ||
     1261            rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL ||
     1262            rpcPic->getSlice(0)->getNalUnitType() == NAL_UNIT_CODED_SLICE_CRA))
     1263        {
     1264          assert(this->getPOC() > rpcPic->getSlice(0)->getPOC());
     1265        }
     1266      }
     1267    }
     1268  }
     1269}
     1270
     1271
     1272
    11111273/** Function for applying picture marking based on the Reference Picture Set in pReferencePictureSet.
    11121274*/
     
    11151277  TComPic* rpcPic;
    11161278  Int i, isReference;
     1279
     1280  checkLeadingPictureRestrictions(rcListPic);
    11171281
    11181282  // loop through all pictures in the reference picture buffer
     
    11511315      else
    11521316      {
    1153         if(rpcPic->getIsLongTerm() && (rpcPic->getPicSym()->getSlice(0)->getPOC()%(1<<rpcPic->getPicSym()->getSlice(0)->getSPS()->getBitsForPOC())) == pReferencePictureSet->getPOC(i)%(1<<rpcPic->getPicSym()->getSlice(0)->getSPS()->getBitsForPOC()))
    11541317        {
    11551318          isReference = 1;
     
    12111374      else
    12121375      {
    1213         if(rpcPic->getIsLongTerm() && (rpcPic->getPicSym()->getSlice(0)->getPOC()%(1<<rpcPic->getPicSym()->getSlice(0)->getSPS()->getBitsForPOC())) == pReferencePictureSet->getPOC(i)%(1<<rpcPic->getPicSym()->getSlice(0)->getSPS()->getBitsForPOC()) && rpcPic->getSlice(0)->isReferenced())
    12141376        {
    12151377          isAvailable = 1;
     
    12301392        if (!pReferencePictureSet->getCheckLTMSBPresent(i))
    12311393        {
    1232           curPoc = curPoc % pocCycle;
    1233           refPoc = refPoc % pocCycle;
     1394          curPoc = curPoc & (pocCycle - 1);
     1395          refPoc = refPoc & (pocCycle - 1);
    12341396        }
    12351397       
     
    24372599TComScalingList::TComScalingList()
    24382600{
    2439   m_useTransformSkip = false;
    24402601  init();
    24412602}
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComSlice.h

    r648 r651  
    155155  Void     setScalingListPresentFlag    (Bool b)                               { m_scalingListPresentFlag = b;    }
    156156  Bool     getScalingListPresentFlag    ()                                     { return m_scalingListPresentFlag; }
    157   Bool     getUseTransformSkip    ()                                     { return m_useTransformSkip; }     
    158   Void     setUseTransformSkip    (Bool b)                               { m_useTransformSkip = b;    }
    159157  Int*     getScalingListAddress          (UInt sizeId, UInt listId)           { return m_scalingListCoef[sizeId][listId]; } //!< get matrix coefficient
    160158  Bool     checkPredMode                  (UInt sizeId, UInt listId);
     
    182180  UInt     m_predMatrixId                [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< reference list index
    183181  Int      *m_scalingListCoef            [SCALING_LIST_SIZE_NUM][SCALING_LIST_NUM]; //!< quantization matrix
    184   Bool     m_useTransformSkip;                                                      //!< transform skipping flag for setting default scaling matrix for 4x4
    185182};
    186183
     
    16171614#endif
    16181615  Int         m_iLastIDR;
    1619   static Int  m_prevPOC;
     1616  Int         m_iAssociatedIRAP;
     1617  NalUnitType m_iAssociatedIRAPType;
     1618  static Int  m_prevTid0POC;
    16201619  TComReferencePictureSet *m_pcRPS;
    16211620  TComReferencePictureSet m_LocalRPS;
     
    17761775  Void      setRPSidx          ( Int iBDidx ) { m_iBDidx = iBDidx; }
    17771776  Int       getRPSidx          () { return m_iBDidx; }
    1778   Int       getPrevPOC      ()                          { return  m_prevPOC;       }
     1777  Int       getPrevTid0POC      ()                        { return  m_prevTid0POC;       }
    17791778  TComRefPicListModification* getRefPicListModification() { return &m_RefPicListModification; }
    17801779  Void      setLastIDR(Int iIDRPOC)                       { m_iLastIDR = iIDRPOC; }
    17811780  Int       getLastIDR()                                  { return m_iLastIDR; }
     1781  Void      setAssociatedIRAPPOC(Int iAssociatedIRAPPOC)             { m_iAssociatedIRAP = iAssociatedIRAPPOC; }
     1782  Int       getAssociatedIRAPPOC()                        { return m_iAssociatedIRAP; }
     1783  Void      setAssociatedIRAPType(NalUnitType associatedIRAPType)    { m_iAssociatedIRAPType = associatedIRAPType; }
     1784  NalUnitType getAssociatedIRAPType()                        { return m_iAssociatedIRAPType; }
    17821785  SliceType getSliceType    ()                          { return  m_eSliceType;         }
    17831786  Int       getPOC          ()                          { return  m_iPOC;           }
     
    18241827  Void      checkColRefIdx      (UInt curSliceIdx, TComPic* pic);
    18251828  Bool      getIsUsedAsLongTerm (Int i, Int j)                  { return m_bIsUsedAsLongTerm[i][j]; }
     1829  Void      setIsUsedAsLongTerm (Int i, Int j, Bool value)      { m_bIsUsedAsLongTerm[i][j] = value; }
    18261830  Bool      getCheckLDC     ()                                  { return m_bCheckLDC; }
    18271831  Bool      getMvdL1ZeroFlag ()                                  { return m_bLMvdL1Zero;    }
     
    18301834  Void      setReferenced(Bool b)                               { m_bRefenced = b; }
    18311835  Bool      isReferenced()                                      { return m_bRefenced; }
    1832   Void      setPOC              ( Int i )                       { m_iPOC              = i; if(getTLayer()==0) m_prevPOC=i; }
     1836  Bool      isReferenceNalu()                                   { return ((getNalUnitType() <= NAL_UNIT_RESERVED_VCL_R15) && (getNalUnitType()%2 != 0)) || ((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_RESERVED_IRAP_VCL23) ); }
     1837  Void      setPOC              ( Int i )                       { m_iPOC              = i; if ((getTLayer()==0) && (isReferenceNalu() && (getNalUnitType()!=NAL_UNIT_CODED_SLICE_RASL_R)&& (getNalUnitType()!=NAL_UNIT_CODED_SLICE_RADL_R))) {m_prevTid0POC=i;} }
    18331838  Void      setNalUnitType      ( NalUnitType e )               { m_eNalUnitType      = e;      }
    18341839  NalUnitType getNalUnitType    () const                        { return m_eNalUnitType;        }
     
    18361841  Bool      getIdrPicFlag       ()                              { return getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP; }
    18371842  Bool      isIRAP              () const                        { return (getNalUnitType() >= 16) && (getNalUnitType() <= 23); } 
    1838   Void      checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, Bool& prevRAPisBLA, TComList<TComPic *>& rcListPic);
     1843  Void      checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, NalUnitType& associatedIRAPType, TComList<TComPic *>& rcListPic);
    18391844  Void      decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic);
    18401845  Void      setSliceType        ( SliceType e )                 { m_eSliceType        = e;      }
     
    19121917  Void setTLayerInfo( UInt uiTLayer );
    19131918  Void decodingMarking( TComList<TComPic*>& rcListPic, Int iGOPSIze, Int& iMaxRefPicNum );
     1919  Void checkLeadingPictureRestrictions( TComList<TComPic*>& rcListPic );
    19141920  Void applyReferencePictureSet( TComList<TComPic*>& rcListPic, TComReferencePictureSet *RPSList);
    19151921#if H_MV
  • branches/HTM-8.2-dev0-Cleanup/source/Lib/TLibCommon/TComWeightPrediction.h

    r608 r651  
    5353class TComWeightPrediction
    5454{
    55   wpScalingParam  m_wp0[3], m_wp1[3];
    56 
    5755public:
    5856  TComWeightPrediction();
Note: See TracChangeset for help on using the changeset viewer.