Changeset 1114 in 3DVCSoftware


Ignore:
Timestamp:
7 Nov 2014, 17:32:36 (10 years ago)
Author:
hisilicon-htm
Message:

integration of J0115

Location:
branches/HTM-12.2-dev1-Hisilicon
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibCommon/TComDataCU.cpp

    r1084 r1114  
    61186118    }
    61196119    break;
     6120#if !SINGLE_DEPTH_SIMP_J0115
    61206121  case 2: // Above
    61216122    if(yP != 0)
     
    61396140    }
    61406141    break;
     6142#endif
    61416143  default:
    61426144      break;
  • branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibCommon/TypeDef.h

    r1099 r1114  
    294294#if H_3D_SINGLE_DEPTH
    295295#define SINGLE_DEPTH_MODE_CAND_LIST_SIZE            2 // size of the sample candidate list
     296#define SINGLE_DEPTH_SIMP_J0115           1
    296297#endif
    297298
  • branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibDecoder/TDecCu.cpp

    r1084 r1114  
    735735  //construction of depth candidates
    736736  Pel testDepth;
     737#if SINGLE_DEPTH_SIMP_J0115
     738  Pel DepthNeighbours[2];
     739#else
    737740  Pel DepthNeighbours[5];
     741#endif
    738742  Int index =0;
     743#if SINGLE_DEPTH_SIMP_J0115
     744  for( Int i = 0; (i < 2) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ )
     745#else
    739746  for( Int i = 0; (i < 5) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ )
     747#endif
    740748  {
    741749    if(!pcCU->getNeighDepth (0, uiAbsPartIdx, &testDepth, i))
     
    745753    DepthNeighbours[index]=testDepth;
    746754    index++;
     755#if !SINGLE_DEPTH_SIMP_J0115
    747756    for(Int j=0;j<index-1;j++)
    748757    {
     
    753762     }
    754763    }
     764#endif
    755765  }
    756766
  • branches/HTM-12.2-dev1-Hisilicon/source/Lib/TLibEncoder/TEncSearch.cpp

    r1084 r1114  
    28812881  Int index=0;
    28822882  Pel testDepth;
     2883#if SINGLE_DEPTH_SIMP_J0115
     2884  Pel DepthNeighbours[2];
     2885#else
    28832886  Pel DepthNeighbours[5];
     2887#endif
    28842888  //construction of depth candidates
     2889#if SINGLE_DEPTH_SIMP_J0115
     2890  for( Int i = 0; (i < 2)  && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ )
     2891#else
    28852892  for( Int i = 0; (i < 5)  && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ )
     2893#endif
    28862894  {
    28872895    if(!pcCU->getNeighDepth (0, 0, &testDepth, i))
     
    28912899    DepthNeighbours[index]=testDepth;
    28922900    index++;
     2901#if !SINGLE_DEPTH_SIMP_J0115
    28932902    for(Int j=0;j<index-1;j++)
    28942903    {
     
    28992908      }
    29002909    }
     2910#endif
    29012911  }
    29022912
Note: See TracChangeset for help on using the changeset viewer.