Changeset 81 in 3DVCSoftware for trunk/source/Lib/TLibRenderer


Ignore:
Timestamp:
21 Jun 2012, 21:01:20 (12 years ago)
Author:
tech
Message:

Bug fixes:

  • Residual Prediction
  • VPS
  • VSO
  • Renderer
Location:
trunk/source/Lib/TLibRenderer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibRenderer/TRenSingleModel.cpp

    r77 r81  
    12991299      else
    13001300      {
     1301#if HHI_FIX
     1302        riY = xBlend( iYL, iYR, m_iBlendDistWeight );
     1303#if HHI_VSO_COLOR_PLANES   
     1304        riU = xBlend( iUL, iUR, m_iBlendDistWeight );
     1305        riV = xBlend( iVL, iVR, m_iBlendDistWeight );
     1306#endif
     1307#else
    13011308        riY = xBlend( iYR, iYL, m_iBlendDistWeight );
    13021309#if HHI_VSO_COLOR_PLANES
    13031310        riU = xBlend( iUR, iUL, m_iBlendDistWeight );
    13041311        riV = xBlend( iVR, iVL, m_iBlendDistWeight );
     1312#endif
    13051313#endif
    13061314      }
  • trunk/source/Lib/TLibRenderer/TRenTop.cpp

    r56 r81  
    10131013          if ((iPrevShiftedPos + (iStep >> 1) ) > iPrevShiftedPosCeiled )
    10141014          {
     1015#if HHI_FIX
     1016            if ( !((iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth)))
     1017            {
     1018
     1019              for( UInt uiCurPlane = 0; uiCurPlane < uiNumberOfPlanes; uiCurPlane++)
     1020              {
     1021                apcOutputData[uiCurPlane][iInterPolPos]  = apcInputData[uiCurPlane][iPosX - iStep];
     1022              }
     1023              pcFilledData[iInterPolPos]  = REN_IS_FILLED;
     1024
     1025            }           
     1026            iInterPolPos++;
     1027          }         
     1028#else
    10151029          if ( (iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))
    10161030          {
     
    10271041            iInterPolPos++;
    10281042        }
     1043#endif
    10291044
    10301045          // Fill Disocclusion
     
    10391054                  apcOutputData[uiCurPlane][iInterPolPos]  = apcInputData[uiCurPlane][iPosX];
    10401055                }
    1041 
    10421056              }
    10431057            }
     
    10501064        {
    10511065          iInterPolPos = iShiftedPosFloor >> m_iRelShiftLUTPrec;
     1066#if HHI_FIX
     1067          if ( !((iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth)))
     1068          {       
     1069            for( UInt uiCurPlane = 0; uiCurPlane < uiNumberOfPlanes; uiCurPlane++)
     1070            {
     1071              apcOutputData[uiCurPlane][iInterPolPos]  = apcInputData[uiCurPlane][iPosX ];
     1072            }
     1073
     1074            pcFilledData[iInterPolPos]  = REN_IS_FILLED;
     1075          }
     1076#else
    10521077          if ( (iInterPolPos < (Int) 0) || (iInterPolPos >= iOutputWidth))
    10531078          {
     
    10631088
    10641089          pcFilledData[iInterPolPos]  = REN_IS_FILLED;
     1090#endif
    10651091        }
    10661092      }
Note: See TracChangeset for help on using the changeset viewer.