Changeset 5 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComRdCost.h


Ignore:
Timestamp:
12 Dec 2011, 18:35:44 (13 years ago)
Author:
hhi
Message:

Clean version with cfg-files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComRdCost.h

    r2 r5  
     1/* The copyright in this software is being made available under the BSD
     2 * License, included below. This software may be subject to other third party
     3 * and contributor rights, including patent rights, and no such rights are
     4 * granted under this license.
     5 *
     6 * Copyright (c) 2010-2011, ISO/IEC
     7 * All rights reserved.
     8 *
     9 * Redistribution and use in source and binary forms, with or without
     10 * modification, are permitted provided that the following conditions are met:
     11 *
     12 *  * Redistributions of source code must retain the above copyright notice,
     13 *    this list of conditions and the following disclaimer.
     14 *  * Redistributions in binary form must reproduce the above copyright notice,
     15 *    this list of conditions and the following disclaimer in the documentation
     16 *    and/or other materials provided with the distribution.
     17 *  * Neither the name of the ISO/IEC nor the names of its contributors may
     18 *    be used to endorse or promote products derived from this software without
     19 *    specific prior written permission.
     20 *
     21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS
     25 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
     31 * THE POSSIBILITY OF SUCH DAMAGE.
     32 */
     33
    134/** \file     TComRdCost.h
    235    \brief    RD cost computation classes (header)
     
    5891  FpDistFuncRnd DistFuncRnd;
    5992#endif
    60 #if SB_INTERVIEW_SKIP
     93#if HHI_INTERVIEW_SKIP
    6194  Pel*  pUsed;
    6295  Int   iStrideUsed;
     
    87120#endif
    88121    iSubShift = 0;
    89 #if SB_INTERVIEW_SKIP
     122#if HHI_INTERVIEW_SKIP
    90123    pUsed       = 0;
    91124    iStrideUsed = 0;
     
    116149  Double                  m_dFrameLambda;
    117150
    118 #if SB_INTERVIEW_SKIP_LAMBDA_SCALE
     151#if HHI_INTERVIEW_SKIP_LAMBDA_SCALE
    119152  Double                  m_dLambdaScale ;
    120153#endif
     
    148181
    149182  Void    setLambda      ( Double dLambda );
     183#if HHI_INTER_VIEW_MOTION_PRED
    150184  Void    setLambdaMVReg ( Double dLambda );
     185#endif
    151186  Void    setFrameLambda ( Double dLambda ) { m_dFrameLambda = dLambda; }
    152187
    153 #if SB_INTERVIEW_SKIP_LAMBDA_SCALE
     188#if HHI_INTERVIEW_SKIP_LAMBDA_SCALE
    154189  Void   setLambdaScale  ( Double dLambdaScale) { m_dLambdaScale = dLambdaScale; }
    155190  Double   getLambdaScale  ( ) { return m_dLambdaScale ; }
     
    287322
    288323public:
    289 #if SB_INTERVIEW_SKIP
     324#if HHI_INTERVIEW_SKIP
    290325  UInt   getDistPart( Pel* piCur, Int iCurStride,  Pel* piOrg, Int iOrgStride, Pel* piUsed, Int iUsedStride, UInt uiBlkWidth, UInt uiBlkHeight, DFunc eDFunc = DF_SSE );
    291326#endif
    292327  UInt   getDistPart( Pel* piCur, Int iCurStride,  Pel* piOrg, Int iOrgStride, UInt uiBlkWidth, UInt uiBlkHeight, DFunc eDFunc = DF_SSE );
    293328
    294 //GT VSO
    295 
     329#if HHI_VSO
    296330private:
    297331  Double                  m_dLambdaVSO;
     
    301335  Double                  m_dFrameLambdaVSO;
    302336
    303 #if RDO_DIST_INT
     337#if HHI_VSO_DIST_INT
    304338  Bool                    m_bAllowNegDist;
    305339#endif
     
    334368  UInt    getVSOMode( )                  { return m_uiVSOMode; }
    335369
    336 #if RDO_DIST_INT
     370#if HHI_VSO_DIST_INT
    337371  Void    setAllowNegDist ( Bool bAllowNegDist );
    338372#endif
     
    346380
    347381private:
    348 
    349   Dist xGetDistVSOMode1( Int iStartPosX, Int iStartPosY, Pel* piCur, Int iCurStride, Pel* piOrg, Int iOrgStride, UInt uiBlkWidth, UInt uiBlkHeight, Bool bSAD );
    350   Dist xGetDistVSOMode2( Int iStartPosX, Int iStartPosY, Pel* piCur, Int iCurStride, Pel* piOrg, Int iOrgStride, UInt uiBlkWidth, UInt uiBlkHeight, Bool bSAD );
    351   Dist xGetDistVSOMode3( Int iStartPosX, Int iStartPosY, Pel* piCur, Int iCurStride, Pel* piOrg, Int iOrgStride, UInt uiBlkWidth, UInt uiBlkHeight, Bool bSAD );
    352382  Dist xGetDistVSOMode4( Int iStartPosX, Int iStartPosY, Pel* piCur, Int iCurStride, Pel* piOrg, Int iOrgStride, UInt uiBlkWidth, UInt uiBlkHeight, Bool bSAD );
    353383
    354 #if GERHARD_VQM_XCHECK
    355   Dist xGetDistXCheck(  Int iStartPosX, Int iStartPosY, Pel* piCur, Int iCurStride, Pel* piOrg, Int iOrgStride, UInt uiBlkWidth, UInt uiBlkHeight, Bool bSAD );
    356 #endif
    357 
    358 //GT VSO end
     384#endif // HHI_VSO
    359385
    360386};// END CLASS DEFINITION TComRdCost
Note: See TracChangeset for help on using the changeset viewer.