Ignore:
Timestamp:
23 Jan 2014, 05:06:49 (11 years ago)
Author:
samsung-htm
Message:

Integration of JCT3V-G0101: InterSDC with multiple DC candidates

Location:
branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder/TDecCu.cpp

    r782 r792  
    652652  UInt  uiWidth      = pcCU->getWidth ( 0 );
    653653  UInt  uiHeight     = pcCU->getHeight( 0 );
     654#if !SEC_INTER_SDC_G0101
    654655  UChar* pMask       = pcCU->getInterSDCMask();
    655656
    656657  memset( pMask, 0, uiWidth*uiHeight );
    657658  pcCU->xSetInterSDCCUMask( pcCU, pMask );
     659#endif
    658660
    659661  Pel  *pResi;
     
    666668    for( uiPelX = 0; uiPelX < uiWidth; uiPelX++ )
    667669    {
     670#if SEC_INTER_SDC_G0101
     671      pResi[ uiPelX ] = pcCU->getSDCSegmentDCOffset( 0, 0 );
     672#else
    668673      UChar uiSeg = pMask[ uiPelX + uiPelY*uiWidth ];
    669674#if QC_SDC_UNIFY_G0130
     
    671676#else
    672677      pResi[ uiPelX ] = pcCU->getInterSDCSegmentDCOffset( uiSeg, 0 );
     678#endif
    673679#endif
    674680    }
  • branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder/TDecEntropy.cpp

    r782 r792  
    814814  }
    815815
     816#if SEC_INTER_SDC_G0101
     817  if( !pcCU->getSlice()->getIsDepth() || pcCU->getPartitionSize( uiAbsPartIdx ) != SIZE_2Nx2N || pcCU->isSkipped( uiAbsPartIdx ) )
     818#else
    816819  if( !pcCU->getSlice()->getIsDepth() || ( pcCU->isIntra( uiAbsPartIdx ) && pcCU->getPartitionSize( uiAbsPartIdx ) != SIZE_2Nx2N ) || pcCU->isSkipped( uiAbsPartIdx ) )
    817   {
    818     return;
    819   }
    820 
     820#endif
     821  {
     822    return;
     823  }
     824
     825#if SEC_INTER_SDC_G0101
     826  assert( pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N || ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->isSkipped( uiAbsPartIdx ) ) );
     827#else
    821828  assert( ( pcCU->isIntra( uiAbsPartIdx ) && pcCU->getPartitionSize( uiAbsPartIdx ) == SIZE_2Nx2N ) || ( !pcCU->isIntra( uiAbsPartIdx ) && !pcCU->isSkipped( uiAbsPartIdx ) ) );
     829#endif
    822830
    823831  m_pcEntropyDecoderIf->parseSDCFlag( pcCU, uiAbsPartIdx, uiDepth );
  • branches/HTM-9.3-dev3-Samsung/source/Lib/TLibDecoder/TDecSbac.cpp

    r782 r792  
    22102210  else
    22112211  {
     2212#if SEC_INTER_SDC_G0101
     2213    uiNumSegments = 1;
     2214#else
    22122215    PartSize cPartSize = pcCU->getPartitionSize( absPartIdx );
    2213 
    22142216    uiNumSegments = ( cPartSize == SIZE_2Nx2N ) ? 1 : ( cPartSize == SIZE_NxN ? 4 : 2 );
     2217#endif
    22152218    symbol = 1;
    22162219  }
Note: See TracChangeset for help on using the changeset viewer.