Changeset 9 in SHVCSoftware for branches/0.1.1-bugfix/source/Lib/TLibDecoder


Ignore:
Timestamp:
16 Nov 2012, 18:59:17 (12 years ago)
Author:
seregin
Message:

Bug fix for IntraBL 4x4 transform using inverse DCT. Patch was provided by Patrice Onno <Patrice.Onno@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.1.1-bugfix/source/Lib/TLibDecoder/TDecCu.cpp

    r2 r9  
    556556  Int scalingListType = (pcCU->isIntra(uiAbsPartIdx) ? 0 : 3) + g_eTTable[(Int)TEXT_LUMA];
    557557  assert(scalingListType < 6);
     558#if INTRA_BL_DCT_FIX
     559  if(pcCU->isIntraBL(uiAbsPartIdx))
     560  {
     561    m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA, REG_DCT, piResi, uiStride, pcCoeff, uiWidth, uiHeight, scalingListType, useTransformSkip );
     562  }
     563  else
     564  {
     565    m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA, pcCU->getLumaIntraDir( uiAbsPartIdx ), piResi, uiStride, pcCoeff, uiWidth, uiHeight, scalingListType, useTransformSkip );
     566  }
     567#else
    558568  m_pcTrQuant->invtransformNxN( pcCU->getCUTransquantBypass(uiAbsPartIdx), TEXT_LUMA, pcCU->getLumaIntraDir( uiAbsPartIdx ), piResi, uiStride, pcCoeff, uiWidth, uiHeight, scalingListType, useTransformSkip );
     569#endif
    559570
    560571 
Note: See TracChangeset for help on using the changeset viewer.