Changeset 839 in 3DVCSoftware


Ignore:
Timestamp:
8 Feb 2014, 01:30:30 (11 years ago)
Author:
tech
Message:

Further fixes.

Location:
branches/HTM-10.0rc1-dev0/source
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0rc1-dev0/source/App/TAppEncoder/TAppEncTop.cpp

    r837 r839  
    10971097    }
    10981098  }
     1099#endif
    10991100}
    11001101 
     
    18551856}
    18561857#endif
    1857 
    18581858//! \}
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibCommon/TComTrQuant.h

    r838 r839  
    151151#if RDOQ_CHROMA_LAMBDA
    152152  Void setLambdas ( const Double lambdas[3] ) { for (Int component = 0; component < 3; component++) m_lambdas[component] = lambdas[component]; }
    153   Void setLambda(Double dLambdaLuma, Double dLambdaChroma) { m_dLambdaLuma = dLambdaLuma; m_dLambdaChroma = dLambdaChroma; }
    154153  Void selectLambda(TextType eTType) { m_dLambda = (eTType == TEXT_LUMA) ? m_lambdas[0] : ((eTType == TEXT_CHROMA_U) ? m_lambdas[1] : m_lambdas[2]); }
    155154#else
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibCommon/TypeDef.h

    r838 r839  
    5555
    5656#ifndef HEVC_EXT
    57 #define HEVC_EXT                    2
     57#define HEVC_EXT                    0
    5858#endif
    5959
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibDecoder/TDecSbac.h

    r837 r839  
    9494  Void  parseSaoTypeIdx           ( UInt&  ruiVal  );
    9595  Void  parseSaoUflc              ( UInt uiLength, UInt& ruiVal     );
     96  Void parseSAOBlkParam (SAOBlkParam& saoBlkParam, Bool* sliceEnabled, Bool leftMergeAvail, Bool aboveMergeAvail);
     97  Void parseSaoSign(UInt& val);
    9698private:
    9799  Void  xReadUnarySymbol    ( UInt& ruiSymbol, ContextModel* pcSCModel, Int iOffset );
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibDecoder/TDecSlice.cpp

    r837 r839  
    336336        if(ry > 0)
    337337        {
     338          aboveMergeAvail = rpcPic->getSAOMergeAvailability(iCUAddr, iCUAddr-uiWidthInLCUs);
    338339      }
    339340
     
    342343      else
    343344        {
     345        saoblkParam[SAO_Y ].modeIdc = SAO_MODE_OFF;
     346        saoblkParam[SAO_Cb].modeIdc = SAO_MODE_OFF;
     347        saoblkParam[SAO_Cr].modeIdc = SAO_MODE_OFF;
    344348      }
    345349    }
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibDecoder/TDecTop.cpp

    r837 r839  
    679679    m_uiSliceIdx     = 0;
    680680  }
     681  else
    681682  {
    682683    m_apcSlicePilot->copySliceInfo( pcPic->getPicSym()->getSlice(m_uiSliceIdx-1) );
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibEncoder/TEncCfg.h

    r837 r839  
    300300#if KWU_RC_VIEWRC_E0227
    301301  Bool      m_bViewWiseRateCtrl;
    302 #endif
    303 #else
    304   Bool      m_enableRateCtrl;                                ///< Flag for using rate control algorithm
    305   Int       m_targetBitrate;                                 ///< target bitrate
    306   Int       m_numLCUInUnit;                                  ///< Total number of LCUs in a frame should be divided by the NumLCUInUnit
    307 
    308 #if KWU_RC_MADPRED_E0227
    309   UInt       m_depthMADPred;
    310 #endif
    311 #if KWU_RC_VIEWRC_E0227
    312   Bool      m_bViewWiseRateCtrl;
    313 #endif
    314302#endif
    315303  Bool      m_TransquantBypassEnableFlag;                     ///< transquant_bypass_enable_flag setting in PPS.
     
    830818  Void      setUseViewWiseRateCtrl    (Bool b)          { m_bViewWiseRateCtrl    = b;        }
    831819#endif
    832 #else
    833   Bool      getUseRateCtrl    ()                { return m_enableRateCtrl;    }
    834   Void      setUseRateCtrl    (Bool flag)       { m_enableRateCtrl = flag;    }
    835   Int       getTargetBitrate  ()                { return m_targetBitrate;     }
    836   Void      setTargetBitrate  (Int target)      { m_targetBitrate  = target;  }
    837   Int       getNumLCUInUnit   ()                { return m_numLCUInUnit;      }
    838   Void      setNumLCUInUnit   (Int numLCUs)     { m_numLCUInUnit   = numLCUs; }
    839 
    840 #if KWU_RC_MADPRED_E0227
    841   UInt      getUseDepthMADPred    ()                { return m_depthMADPred;        }
    842   Void      setUseDepthMADPred    (UInt b)          { m_depthMADPred    = b;        }
    843 #endif
    844 #if KWU_RC_VIEWRC_E0227
    845   Bool      getUseViewWiseRateCtrl    ()                { return m_bViewWiseRateCtrl;        }
    846   Void      setUseViewWiseRateCtrl    (Bool b)          { m_bViewWiseRateCtrl    = b;        }
    847 #endif
    848 #endif
    849820  Bool      getTransquantBypassEnableFlag()           { return m_TransquantBypassEnableFlag; }
    850821  Void      setTransquantBypassEnableFlag(Bool flag)  { m_TransquantBypassEnableFlag = flag; }
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibEncoder/TEncCu.cpp

    r838 r839  
    22382238  else
    22392239#endif
     2240
    22402241  rpcTempCU->getTotalCost()  = m_pcRdCost->calcRdCost( rpcTempCU->getTotalBits(), rpcTempCU->getTotalDistortion() );
    22412242#if H_3D_INTER_SDC
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibEncoder/TEncSearch.cpp

    r838 r839  
    39503950        pcCU->getCUMvField(REF_PIC_LIST_0)->setAllMvField( cMvFieldNeighbours[0 + 2*uiMergeCand], ePartSize, uiAbsPartIdx, 0, iPUIdx );
    39513951        pcCU->getCUMvField(REF_PIC_LIST_1)->setAllMvField( cMvFieldNeighbours[1 + 2*uiMergeCand], ePartSize, uiAbsPartIdx, 0, iPUIdx );
    3952       }
     3952
    39533953#if NTT_STORE_SPDV_VSP_G0148
    3954 }
     3954      }
    39553955#endif
    39563956#if H_3D_VSP && !NTT_STORE_SPDV_VSP_G0148
  • branches/HTM-10.0rc1-dev0/source/Lib/TLibEncoder/TEncTop.cpp

    r837 r839  
    601601  m_uiNumAllPicCoded += iNumEncoded;
    602602}
    603 
     603#endif
    604604// ====================================================================================================================
    605605// Protected member functions
Note: See TracChangeset for help on using the changeset viewer.