Ignore:
Timestamp:
6 May 2014, 17:59:48 (11 years ago)
Author:
qualcomm
Message:

Fixed a CGS bug related to non-zero scale offsets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibCommon/TCom3DAsymLUT.cpp

    r751 r770  
    9090
    9191  // alignment padding
    92   pU += (nWidth>>1);
    93   pV += (nWidth>>1);
    94   for( Int y = 0 ; y < (nHeight>>1) ; y ++ )
    95   {
    96     *pU = pU[-1];
    97     *pV = pV[-1];
    98     pU += nStrideC;
    99     pV += nStrideC;
    100   }
    101   memcpy(pU-(nWidth>>1), pU-(nWidth>>1)-nStrideC, ((nWidth>>1)+1)*sizeof(Pel));
    102   memcpy(pV-(nWidth>>1), pV-(nWidth>>1)-nStrideC, ((nWidth>>1)+1)*sizeof(Pel));
    103   pU = pcPic->getCbAddr();
    104   pV = pcPic->getCrAddr();
     92  pcPic->setBorderExtension( false );
     93  pcPic->extendPicBorder();
    10594
    10695  Pel iMaxValY = (1<<getOutputBitDepthY())-1;
Note: See TracChangeset for help on using the changeset viewer.