Changeset 1567 in SHVCSoftware


Ignore:
Timestamp:
20 Jun 2016, 18:05:58 (8 years ago)
Author:
seregin
Message:

port rev 4744

Location:
branches/SHM-dev/source
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r1563 r1567  
    799799
    800800#if PER_LAYER_LOSSLESS
    801   Bool*     cfg_TransquantBypassEnableFlag[MAX_LAYERS];
     801  Bool*     cfg_TransquantBypassEnabledFlag[MAX_LAYERS];
    802802  Bool*     cfg_CUTransquantBypassFlagForce[MAX_LAYERS];
    803803  CostMode* cfg_costMode[MAX_LAYERS]; 
     
    910910
    911911#if PER_LAYER_LOSSLESS
    912     cfg_TransquantBypassEnableFlag[layer]   = &m_apcLayerCfg[layer]->m_TransquantBypassEnableFlag;
     912    cfg_TransquantBypassEnabledFlag[layer]  = &m_apcLayerCfg[layer]->m_TransquantBypassEnabledFlag;
    913913    cfg_CUTransquantBypassFlagForce[layer]  = &m_apcLayerCfg[layer]->m_CUTransquantBypassFlagForce;
    914914    cfg_costMode[layer]                     = &m_apcLayerCfg[layer]->m_costMode; 
     
    14611461
    14621462#if PER_LAYER_LOSSLESS
    1463   ("TransquantBypassEnableFlag%d",                    cfg_TransquantBypassEnableFlag,        false, m_numLayers, "transquant_bypass_enable_flag indicator in PPS")
    1464   ("CUTransquantBypassFlagForce%d",                   cfg_CUTransquantBypassFlagForce,       false, m_numLayers, "Force transquant bypass mode, when transquant_bypass_enable_flag is enabled")
    1465   ("CostMode%d",                                      cfg_costMode,            COST_STANDARD_LOSSY, m_numLayers, "Use alternative cost functions: choose between 'lossy', 'sequence_level_lossless', 'lossless' (which forces QP to " MACRO_TO_STRING(LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP) ") and 'mixed_lossless_lossy' (which used QP'=" MACRO_TO_STRING(LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP_PRIME) " for pre-estimates of transquant-bypass blocks).")
     1463  ("TransquantBypassEnable%d",                        cfg_TransquantBypassEnabledFlag,     false, m_numLayers, "transquant_bypass_enabled_flag indicator in PPS")
     1464  ("TransquantBypassEnableFlag%d",                    cfg_TransquantBypassEnabledFlag,     false, m_numLayers, "deprecated alias for TransquantBypassEnable")
     1465  ("CUTransquantBypassFlagForce%d",                   cfg_CUTransquantBypassFlagForce,     false, m_numLayers, "Force transquant bypass mode, when transquant_bypass_enabled_flag is enabled")
     1466  ("CostMode%d",                                      cfg_costMode,          COST_STANDARD_LOSSY, m_numLayers, "Use alternative cost functions: choose between 'lossy', 'sequence_level_lossless', 'lossless' (which forces QP to " MACRO_TO_STRING(LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP) ") and 'mixed_lossless_lossy' (which used QP'=" MACRO_TO_STRING(LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP_PRIME) " for pre-estimates of transquant-bypass blocks).")
    14661467#else
    1467   ("TransquantBypassEnableFlag",                      m_TransquantBypassEnableFlag,                     false, "transquant_bypass_enable_flag indicator in PPS")
    1468   ("CUTransquantBypassFlagForce",                     m_CUTransquantBypassFlagForce,                    false, "Force transquant bypass mode, when transquant_bypass_enable_flag is enabled")
     1468  ("TransquantBypassEnable",                          m_TransquantBypassEnabledFlag,                    false, "transquant_bypass_enabled_flag indicator in PPS")
     1469  ("TransquantBypassEnableFlag",                      m_TransquantBypassEnabledFlag,                    false, "deprecated alias for TransquantBypassEnable")
     1470  ("CUTransquantBypassFlagForce",                     m_CUTransquantBypassFlagForce,                    false, "Force transquant bypass mode, when transquant_bypass_enabled_flag is enabled")
    14691471  ("CostMode",                                        m_costMode,                         COST_STANDARD_LOSSY, "Use alternative cost functions: choose between 'lossy', 'sequence_level_lossless', 'lossless' (which forces QP to " MACRO_TO_STRING(LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP) ") and 'mixed_lossless_lossy' (which used QP'=" MACRO_TO_STRING(LOSSLESS_AND_MIXED_LOSSLESS_RD_COST_TEST_QP_PRIME) " for pre-estimates of transquant-bypass blocks).")
    14701472#endif
     
    40764078 
    40774079#if PER_LAYER_LOSSLESS
    4078   xConfirmPara(!m_apcLayerCfg[layerIdx]->m_TransquantBypassEnableFlag && m_apcLayerCfg[layerIdx]->m_CUTransquantBypassFlagForce, "CUTransquantBypassFlagForce cannot be 1 when TransquantBypassEnableFlag is 0");
     4080  xConfirmPara(!m_apcLayerCfg[layerIdx]->m_TransquantBypassEnabledFlag && m_apcLayerCfg[layerIdx]->m_CUTransquantBypassFlagForce, "CUTransquantBypassFlagForce cannot be 1 when TransquantBypassEnableFlag is 0");
    40794081#else
    4080   xConfirmPara(!m_TransquantBypassEnableFlag && m_CUTransquantBypassFlagForce, "CUTransquantBypassFlagForce cannot be 1 when TransquantBypassEnableFlag is 0");
     4082  xConfirmPara(!m_TransquantBypassEnabledFlag && m_CUTransquantBypassFlagForce, "CUTransquantBypassFlagForce cannot be 1 when TransquantBypassEnableFlag is 0");
    40814083#endif
    40824084
     
    46064608
    46074609#if PER_LAYER_LOSSLESS
    4608   if (m_apcLayerCfg[layer]->m_TransquantBypassEnableFlag && m_apcLayerCfg[layer]->m_CUTransquantBypassFlagForce)
     4610  if (m_apcLayerCfg[layer]->m_TransquantBypassEnabledFlag && m_apcLayerCfg[layer]->m_CUTransquantBypassFlagForce)
    46094611  {
    46104612    printf("TransQuantBypassEnabled: =1");
     
    46124614  else
    46134615  {
    4614     printf("TransQuantBypassEnabled:%d ", (m_apcLayerCfg[layer]->m_TransquantBypassEnableFlag)? 1:0 );
     4616    printf("TransQuantBypassEnabled:%d ", (m_apcLayerCfg[layer]->m_TransquantBypassEnabledFlag)? 1:0 );
    46154617  }
    46164618#else
    4617   if (m_TransquantBypassEnableFlag && m_CUTransquantBypassFlagForce)
     4619  if (m_TransquantBypassEnabledFlag && m_CUTransquantBypassFlagForce)
    46184620  {
    46194621    printf("TransQuantBypassEnabled: =1");
     
    46214623  else
    46224624  {
    4623     printf("TransQuantBypassEnabled:%d ", (m_TransquantBypassEnableFlag)? 1:0 );
     4625    printf("TransQuantBypassEnabled:%d ", (m_TransquantBypassEnabledFlag)? 1:0 );
    46244626  }
    46254627#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h

    r1549 r1567  
    485485
    486486#if !PER_LAYER_LOSSLESS
    487   Bool      m_TransquantBypassEnableFlag;                     ///< transquant_bypass_enable_flag setting in PPS.
    488   Bool      m_CUTransquantBypassFlagForce;                    ///< if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true.
     487  Bool      m_TransquantBypassEnabledFlag;                    ///< transquant_bypass_enabled_flag setting in PPS.
     488  Bool      m_CUTransquantBypassFlagForce;                    ///< if transquant_bypass_enabled_flag, then, if true, all CU transquant bypass flags will be set to true.
    489489  CostMode  m_costMode;                                       ///< Cost mode to use
    490490#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncLayerCfg.h

    r1534 r1567  
    105105
    106106#if PER_LAYER_LOSSLESS
    107   Bool      m_TransquantBypassEnableFlag;
    108   Bool      m_CUTransquantBypassFlagForce;
     107  Bool      m_TransquantBypassEnabledFlag;                    ///< transquant_bypass_enable_flag setting in PPS.
     108  Bool      m_CUTransquantBypassFlagForce;                    ///< if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true.
    109109  CostMode  m_costMode;
    110110#endif
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1554 r1567  
    538538    string&        m_colourRemapSEIFileRoot                     = m_apcLayerCfg[layer]->m_colourRemapSEIFileRoot;
    539539#if PER_LAYER_LOSSLESS
    540     Bool&          m_TransquantBypassEnableFlag                 = m_apcLayerCfg[layer]->m_TransquantBypassEnableFlag;
     540    Bool&          m_TransquantBypassEnabledFlag                = m_apcLayerCfg[layer]->m_TransquantBypassEnabledFlag;
    541541    Bool&          m_CUTransquantBypassFlagForce                = m_apcLayerCfg[layer]->m_CUTransquantBypassFlagForce;
    542542    CostMode&      m_costMode                                   = m_apcLayerCfg[layer]->m_costMode;
     
    845845  m_cTEncTop.setInitialCpbFullness                                ( m_RCInitialCpbFullness );
    846846#endif
    847   m_cTEncTop.setTransquantBypassEnableFlag                        ( m_TransquantBypassEnableFlag );
     847  m_cTEncTop.setTransquantBypassEnabledFlag                       ( m_TransquantBypassEnabledFlag );
    848848  m_cTEncTop.setCUTransquantBypassFlagForceValue                  ( m_CUTransquantBypassFlagForce );
    849849  m_cTEncTop.setCostMode                                          ( m_costMode );
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r1550 r1567  
    13641364Bool TComDataCU::isLosslessCoded(UInt absPartIdx) const
    13651365{
    1366   return (getSlice()->getPPS()->getTransquantBypassEnableFlag() && getCUTransquantBypass (absPartIdx));
     1366  return (getSlice()->getPPS()->getTransquantBypassEnabledFlag() && getCUTransquantBypass (absPartIdx));
    13671367}
    13681368
  • branches/SHM-dev/source/Lib/TLibCommon/TComLoopFilter.cpp

    r1550 r1567  
    557557Void TComLoopFilter::xEdgeFilterLuma( TComDataCU* const pcCU, const UInt uiAbsZorderIdx, const UInt uiDepth, const DeblockEdgeDir edgeDir, const Int iEdge  )
    558558{
    559         TComPicYuv *pcPicYuvRec                   = pcCU->getPic()->getPicYuvRec();
    560         Pel        *piSrc                         = pcPicYuvRec->getAddr(COMPONENT_Y, pcCU->getCtuRsAddr(), uiAbsZorderIdx );
    561         Pel        *piTmpSrc                      = piSrc;
    562   const TComSPS    &sps                           = *(pcCU->getSlice()->getSPS());
    563   const Bool        ppsTransquantBypassEnableFlag = pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag();
    564   const Int         bitDepthLuma                  = sps.getBitDepth(CHANNEL_TYPE_LUMA);
    565   const Bool        lfCrossSliceBoundaryFlag      = pcCU->getSlice()->getLFCrossSliceBoundaryFlag();
     559        TComPicYuv *pcPicYuvRec                    = pcCU->getPic()->getPicYuvRec();
     560        Pel        *piSrc                          = pcPicYuvRec->getAddr(COMPONENT_Y, pcCU->getCtuRsAddr(), uiAbsZorderIdx );
     561        Pel        *piTmpSrc                       = piSrc;
     562  const TComSPS    &sps                            = *(pcCU->getSlice()->getSPS());
     563  const Bool        ppsTransquantBypassEnabledFlag = pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag();
     564  const Int         bitDepthLuma                   = sps.getBitDepth(CHANNEL_TYPE_LUMA);
     565  const Bool        lfCrossSliceBoundaryFlag       = pcCU->getSlice()->getLFCrossSliceBoundaryFlag();
    566566
    567567  Int  iStride = pcPicYuvRec->getStride(COMPONENT_Y);
     
    644644        Int d =  d0 + d3;
    645645
    646         if (bPCMFilter || ppsTransquantBypassEnableFlag)
     646        if (bPCMFilter || ppsTransquantBypassEnabledFlag)
    647647        {
    648648          // Check if each of PUs is I_PCM with LF disabling
     
    769769      iQP_P = pcCUP->getQP(uiPartPIdx);
    770770
    771       if (bPCMFilter || pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     771      if (bPCMFilter || pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    772772      {
    773773        // Check if each of PUs is I_PCM with LF disabling
  • branches/SHM-dev/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp

    r1550 r1567  
    655655  Bool  bPCMFilter = (pcPic->getSlice(0)->getSPS()->getUsePCM() && pcPic->getSlice(0)->getSPS()->getPCMFilterDisableFlag())? true : false;
    656656
    657   if(bPCMFilter || pcPic->getSlice(0)->getPPS()->getTransquantBypassEnableFlag())
     657  if(bPCMFilter || pcPic->getSlice(0)->getPPS()->getTransquantBypassEnabledFlag())
    658658  {
    659659    for( UInt ctuRsAddr = 0; ctuRsAddr < pcPic->getNumberOfCtusInFrame() ; ctuRsAddr++ )
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r1550 r1567  
    22232223, m_numRefIdxL0DefaultActive         (1)
    22242224, m_numRefIdxL1DefaultActive         (1)
    2225 , m_TransquantBypassEnableFlag       (false)
     2225, m_TransquantBypassEnabledFlag      (false)
    22262226, m_useTransformSkip                 (false)
    22272227, m_dependentSliceSegmentsEnabledFlag(false)
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1554 r1567  
    17211721  Bool             m_useWeightedBiPred;                 //!< Use of Weighting Bi-Prediction (B_SLICE)
    17221722  Bool             m_OutputFlagPresentFlag;             //!< Indicates the presence of output_flag in slice header
    1723   Bool             m_TransquantBypassEnableFlag;        //!< Indicates presence of cu_transquant_bypass_flag in CUs.
     1723  Bool             m_TransquantBypassEnabledFlag;       //!< Indicates presence of cu_transquant_bypass_flag in CUs.
    17241724  Bool             m_useTransformSkip;
    17251725  Bool             m_dependentSliceSegmentsEnabledFlag; //!< Indicates the presence of dependent slices
     
    18261826  Void                   setOutputFlagPresentFlag( Bool b )                               { m_OutputFlagPresentFlag = b;                  }
    18271827  Bool                   getOutputFlagPresentFlag() const                                 { return m_OutputFlagPresentFlag;               }
    1828   Void                   setTransquantBypassEnableFlag( Bool b )                          { m_TransquantBypassEnableFlag = b;             }
    1829   Bool                   getTransquantBypassEnableFlag() const                            { return m_TransquantBypassEnableFlag;          }
     1828  Void                   setTransquantBypassEnabledFlag( Bool b )                         { m_TransquantBypassEnabledFlag = b;            }
     1829  Bool                   getTransquantBypassEnabledFlag() const                           { return m_TransquantBypassEnabledFlag;         }
    18301830
    18311831  Bool                   getUseTransformSkip() const                                      { return m_useTransformSkip;                    }
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1566 r1567  
    262262  pcPPS->setWPBiPred( uiCode==1 );
    263263
    264   READ_FLAG( uiCode, "transquant_bypass_enable_flag");
    265   pcPPS->setTransquantBypassEnableFlag(uiCode ? true : false);
     264  READ_FLAG( uiCode, "transquant_bypass_enabled_flag");
     265  pcPPS->setTransquantBypassEnabledFlag(uiCode ? true : false);
    266266  READ_FLAG( uiCode, "tiles_enabled_flag"               );    pcPPS->setTilesEnabledFlag            ( uiCode == 1 );
    267267  READ_FLAG( uiCode, "entropy_coding_sync_enabled_flag" );    pcPPS->setEntropyCodingSyncEnabledFlag( uiCode == 1 );
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp

    r1549 r1567  
    279279  }
    280280
    281   if (pps.getTransquantBypassEnableFlag())
     281  if (pps.getTransquantBypassEnabledFlag())
    282282  {
    283283    m_pcEntropyDecoder->decodeCUTransquantBypassFlag( pcCU, uiAbsPartIdx, uiDepth );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1566 r1567  
    200200  WRITE_FLAG( pcPPS->getUseWP() ? 1 : 0,  "weighted_pred_flag" );   // Use of Weighting Prediction (P_SLICE)
    201201  WRITE_FLAG( pcPPS->getWPBiPred() ? 1 : 0, "weighted_bipred_flag" );  // Use of Weighting Bi-Prediction (B_SLICE)
    202   WRITE_FLAG( pcPPS->getTransquantBypassEnableFlag() ? 1 : 0, "transquant_bypass_enable_flag" );
     202  WRITE_FLAG( pcPPS->getTransquantBypassEnabledFlag()  ? 1 : 0, "transquant_bypass_enabled_flag" );
    203203  WRITE_FLAG( pcPPS->getTilesEnabledFlag()             ? 1 : 0, "tiles_enabled_flag" );
    204204  WRITE_FLAG( pcPPS->getEntropyCodingSyncEnabledFlag() ? 1 : 0, "entropy_coding_sync_enabled_flag" );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h

    r1549 r1567  
    370370  Double    m_RCInitialCpbFullness;
    371371#endif
    372   Bool      m_TransquantBypassEnableFlag;                     ///< transquant_bypass_enable_flag setting in PPS.
    373   Bool      m_CUTransquantBypassFlagForce;                    ///< if transquant_bypass_enable_flag, then, if true, all CU transquant bypass flags will be set to true.
     372  Bool      m_TransquantBypassEnabledFlag;                    ///< transquant_bypass_enabled_flag setting in PPS.
     373  Bool      m_CUTransquantBypassFlagForce;                    ///< if transquant_bypass_enabled_flag, then, if true, all CU transquant bypass flags will be set to true.
    374374
    375375  CostMode  m_costMode;                                       ///< The cost function to use, primarily when considering lossless coding.
     
    999999  Void         setInitialCpbFullness  (Double f)                     { m_RCInitialCpbFullness = f;     }
    10001000#endif
    1001   Bool         getTransquantBypassEnableFlag()                       { return m_TransquantBypassEnableFlag; }
    1002   Void         setTransquantBypassEnableFlag(Bool flag)              { m_TransquantBypassEnableFlag = flag; }
     1001  Bool         getTransquantBypassEnabledFlag()                      { return m_TransquantBypassEnabledFlag; }
     1002  Void         setTransquantBypassEnabledFlag(Bool flag)             { m_TransquantBypassEnabledFlag = flag; }
    10031003  Bool         getCUTransquantBypassFlagForceValue()                 { return m_CUTransquantBypassFlagForce; }
    10041004  Void         setCUTransquantBypassFlagForceValue(Bool flag)        { m_CUTransquantBypassFlagForce = flag; }
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r1549 r1567  
    416416  const Int lowestQP = iMinQP; // For TQB, use this QP which is the lowest non TQB QP tested (rather than QP'=0) - that way delta QPs are smaller, and TQB can be tested at all CU levels.
    417417
    418   if ( (pps.getTransquantBypassEnableFlag()) )
     418  if ( (pps.getTransquantBypassEnabledFlag()) )
    419419  {
    420420    isAddLowestQP = true; // mark that the first iteration is to cost TQB mode.
     
    427427
    428428  TComSlice * pcSlice = rpcTempCU->getPic()->getSlice(rpcTempCU->getPic()->getCurrSliceIdx());
     429
    429430  const Bool bBoundary = !( uiRPelX < sps.getPicWidthInLumaSamples() && uiBPelY < sps.getPicHeightInLumaSamples() );
    430431
     
    10771078  }
    10781079
    1079   if (pps.getTransquantBypassEnableFlag())
     1080  if (pps.getTransquantBypassEnabledFlag())
    10801081  {
    10811082    m_pcEntropyCoder->encodeCUTransquantBypassFlag( pcCU, uiAbsPartIdx );
     
    14971498  m_pcEntropyCoder->resetBits();
    14981499
    1499   if ( rpcTempCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     1500  if ( rpcTempCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    15001501  {
    15011502    m_pcEntropyCoder->encodeCUTransquantBypassFlag( rpcTempCU, 0,          true );
     
    15631564  m_pcEntropyCoder->resetBits();
    15641565
    1565   if ( rpcTempCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     1566  if ( rpcTempCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    15661567  {
    15671568    m_pcEntropyCoder->encodeCUTransquantBypassFlag( rpcTempCU, 0,          true );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1549 r1567  
    10041004      if( !pcCU->getSlice()->isIntra() )
    10051005      {
    1006         if (pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     1006        if (pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    10071007        {
    10081008          m_pcEntropyCoder->encodeCUTransquantBypassFlag( pcCU, 0, true );
     
    46384638    m_pcEntropyCoder->resetBits();
    46394639
    4640     if (pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     4640    if (pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    46414641    {
    46424642      m_pcEntropyCoder->encodeCUTransquantBypassFlag(pcCU, 0, true);
     
    56205620
    56215621    m_pcEntropyCoder->resetBits();
    5622     if(pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     5622    if(pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    56235623    {
    56245624      m_pcEntropyCoder->encodeCUTransquantBypassFlag(pcCU, 0, true);
     
    56335633    m_pcEntropyCoder->resetBits();
    56345634
    5635     if(pcCU->getSlice()->getPPS()->getTransquantBypassEnableFlag())
     5635    if(pcCU->getSlice()->getPPS()->getTransquantBypassEnabledFlag())
    56365636    {
    56375637      m_pcEntropyCoder->encodeCUTransquantBypassFlag(pcCU, 0, true);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp

    r1549 r1567  
    298298  if(eSliceType!=I_SLICE)
    299299  {
    300     if (!(( m_pcCfg->getMaxDeltaQP() == 0 ) && (dQP == -rpcSlice->getSPS()->getQpBDOffset(CHANNEL_TYPE_LUMA) ) && (rpcSlice->getPPS()->getTransquantBypassEnableFlag())))
     300    if (!(( m_pcCfg->getMaxDeltaQP() == 0 ) && (dQP == -rpcSlice->getSPS()->getQpBDOffset(CHANNEL_TYPE_LUMA) ) && (rpcSlice->getPPS()->getTransquantBypassEnabledFlag())))
    301301    {
    302302      dQP += m_pcCfg->getGOPEntry(iGOPid).m_QPOffset;
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1564 r1567  
    13581358  m_cPPS.setNumRefIdxL0DefaultActive(bestPos);
    13591359  m_cPPS.setNumRefIdxL1DefaultActive(bestPos);
    1360   m_cPPS.setTransquantBypassEnableFlag(getTransquantBypassEnableFlag());
     1360  m_cPPS.setTransquantBypassEnabledFlag(getTransquantBypassEnabledFlag());
    13611361  m_cPPS.setUseTransformSkip( m_useTransformSkip );
    13621362  m_cPPS.getPpsRangeExtension().setLog2MaxTransformSkipBlockSize( m_log2MaxTransformSkipBlockSize  );
Note: See TracChangeset for help on using the changeset viewer.