Changeset 179 in 3DVCSoftware


Ignore:
Timestamp:
12 Nov 2012, 12:20:21 (12 years ago)
Author:
rwth
Message:
  • bug fix of B0036 implementation
Location:
branches/HTM-4.1-dev2-RWTH/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev2-RWTH/source/App/TAppEncoder/TAppEncTop.cpp

    r177 r179  
    14461446  UInt uiMaxDepthValue = g_uiIBDI_MAX;
    14471447 
    1448   Bool abValidDepths[uiMaxDepthValue+1];
     1448  Bool abValidDepths[256];
    14491449 
    14501450  depthVideoFile->open( m_pchDepthInputFileList[iViewIdx], false, m_uiInputBitDepth, m_uiInternalBitDepth );  // read  mode
  • branches/HTM-4.1-dev2-RWTH/source/Lib/TLibDecoder/TDecCu.cpp

    r177 r179  
    10131013  UInt uiMaskStride = 0;
    10141014 
    1015   //if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX )
    1016   if( 0 )
     1015  if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX )
    10171016  {
    10181017    Int uiTabIdx = (uiLumaPredMode == DMM_WEDGE_FULL_IDX)?pcCU->getWedgeFullTabIdx(uiAbsPartIdx):pcCU->getWedgePredDirTabIdx(uiAbsPartIdx);
     
    13561355Void TDecCu::xAnalyzeSegmentsSDC( Pel* pOrig, UInt uiStride, UInt uiSize, Pel* rpSegMeans, UInt uiNumSegments, Bool* pMask, UInt uiMaskStride )
    13571356{
    1358   Int iSumDepth[uiNumSegments];
    1359   memset(iSumDepth, 0, sizeof(Int)*uiNumSegments);
    1360   Int iSumPix[uiNumSegments];
    1361   memset(iSumPix, 0, sizeof(Int)*uiNumSegments);
     1357  Int iSumDepth[2];
     1358  memset(iSumDepth, 0, sizeof(Int)*2);
     1359  Int iSumPix[2];
     1360  memset(iSumPix, 0, sizeof(Int)*2);
    13621361 
    13631362  for (Int y=0; y<uiSize; y++)
  • branches/HTM-4.1-dev2-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp

    r177 r179  
    16461646  UInt uiMaskStride = 0;
    16471647 
    1648   //if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX )
    1649   if( 0 )
     1648  if( uiLumaPredMode == DMM_WEDGE_FULL_IDX || uiLumaPredMode == DMM_WEDGE_PREDDIR_IDX )
    16501649  {
    16511650    Int uiTabIdx = (uiLumaPredMode == DMM_WEDGE_FULL_IDX)?pcCU->getWedgeFullTabIdx(uiAbsPartIdx):pcCU->getWedgePredDirTabIdx(uiAbsPartIdx);
     
    80718070Void TEncSearch::xAnalyzeSegmentsSDC( Pel* pOrig, UInt uiStride, UInt uiSize, Pel* rpSegMeans, UInt uiNumSegments, Bool* pMask, UInt uiMaskStride )
    80728071{
    8073   Int iSumDepth[uiNumSegments];
    8074   memset(iSumDepth, 0, sizeof(Int)*uiNumSegments);
    8075   Int iSumPix[uiNumSegments];
    8076   memset(iSumPix, 0, sizeof(Int)*uiNumSegments);
     8072  Int iSumDepth[2];
     8073  memset(iSumDepth, 0, sizeof(Int)*2);
     8074  Int iSumPix[2];
     8075  memset(iSumPix, 0, sizeof(Int)*2);
    80778076 
    80788077  for (Int y=0; y<uiSize; y++)
Note: See TracChangeset for help on using the changeset viewer.