Changeset 1444 in SHVCSoftware


Ignore:
Timestamp:
13 Aug 2015, 19:20:08 (9 years ago)
Author:
seregin
Message:

port rev 4592

Location:
branches/SHM-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp

    r1442 r1444  
    7575};
    7676
    77 static const UInt s_auiDFilter[9] =
    78 {
    79   0, 1, 0,
    80   2, 3, 2,
    81   0, 1, 0
    82 };
    83 
    8477static Void offsetSubTUCBFs(TComTU &rTu, const ComponentID compID)
    8578{
     
    125118, m_pcRDGoOnSbacCoder (NULL)
    126119, m_pTempPel (NULL)
    127 , m_puiDFilter (NULL)
    128120, m_isInitialized (false)
    129121{
     
    131123  {
    132124    m_ppcQTTempCoeff[ch]                           = NULL;
    133     m_pcQTTempCoeff[ch]                            = NULL;
    134125#if ADAPTIVE_QP_SELECTION
    135126    m_ppcQTTempArlCoeff[ch]                        = NULL;
    136     m_pcQTTempArlCoeff[ch]                         = NULL;
    137127#endif
    138128    m_puhQTTempCbf[ch]                             = NULL;
     
    182172      }
    183173      delete[] m_ppcQTTempCoeff[ch];
    184       delete[] m_pcQTTempCoeff[ch];
    185174      delete[] m_puhQTTempCbf[ch];
    186175#if ADAPTIVE_QP_SELECTION
    187176      delete[] m_ppcQTTempArlCoeff[ch];
    188       delete[] m_pcQTTempArlCoeff[ch];
    189177#endif
    190178    }
     
    260248  }
    261249
    262   m_puiDFilter = s_auiDFilter + 4;
    263 
    264250  // initialize motion cost
    265251  for( Int iNum = 0; iNum < AMVP_MAX_NUM_CANDS+1; iNum++)
     
    290276    const UInt csy=::getComponentScaleY(ComponentID(ch), cform);
    291277    m_ppcQTTempCoeff[ch] = new TCoeff* [uiNumLayersToAllocate];
    292     m_pcQTTempCoeff[ch]   = new TCoeff [(maxCUWidth*maxCUHeight)>>(csx+csy)   ];
    293278#if ADAPTIVE_QP_SELECTION
    294279    m_ppcQTTempArlCoeff[ch]  = new TCoeff*[uiNumLayersToAllocate];
    295     m_pcQTTempArlCoeff[ch]   = new TCoeff [(maxCUWidth*maxCUHeight)>>(csx+csy)   ];
    296280#endif
    297281    m_puhQTTempCbf[ch] = new UChar  [uiNumPartitions];
     
    38553839
    38563840  // calc distortion
     3841
    38573842#if SVC_EXTENSION
    38583843  uiCost = m_pcRdCost->getDistPart( pcCU->getSlice()->getBitDepth(CHANNEL_TYPE_LUMA), pcTemplateCand->getAddr(COMPONENT_Y, uiPartAddr), pcTemplateCand->getStride(COMPONENT_Y), pcOrgYuv->getAddr(COMPONENT_Y, uiPartAddr), pcOrgYuv->getStride(COMPONENT_Y), iSizeX, iSizeY, COMPONENT_Y, DF_SAD );
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.h

    r1442 r1444  
    7070private:
    7171  TCoeff**        m_ppcQTTempCoeff[MAX_NUM_COMPONENT /* 0->Y, 1->Cb, 2->Cr*/];
    72   TCoeff*         m_pcQTTempCoeff[MAX_NUM_COMPONENT];
    7372#if ADAPTIVE_QP_SELECTION
    7473  TCoeff**        m_ppcQTTempArlCoeff[MAX_NUM_COMPONENT];
    75   TCoeff*         m_pcQTTempArlCoeff[MAX_NUM_COMPONENT];
    7674#endif
    7775  UChar*          m_puhQTTempTrIdx;
     
    115113  // Misc.
    116114  Pel*            m_pTempPel;
    117   const UInt*     m_puiDFilter;
    118115
    119116  // AMVP cost computation
Note: See TracChangeset for help on using the changeset viewer.