Ignore:
Timestamp:
18 Jun 2013, 05:16:27 (11 years ago)
Author:
mediatek-htm
Message:

Integration of 3D-HEVC merge related coding tools:
Inter-view motion merge candidate
HHI_INTER_VIEW_MOTION_PRED
SAIT_IMPROV_MOTION_PRED_M24829, improved inter-view motion vector prediction
QC_MRG_CANS_B0048 , JCT3V-B0048, B0086, B0069
OL_DISMV_POS_B0069 , different pos for disparity MV candidate, B0069
MTK_INTERVIEW_MERGE_A0049 , second part
QC_AMVP_MRG_UNIFY_IVCAN_C0051
TEXTURE MERGING CANDIDATE , JCT3V-C0137

Notes: Two configurations are added:
PredDepthMapGen : 1
MultiviewMvPred : 7

From: yiwen.chen@… (MediaTek)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp

    r455 r476  
    4949#include <time.h>
    5050#include <math.h>
    51 
     51#if H_3D_IV_MERGE
     52#include "../../App/TAppEncoder/TAppEncTop.h"
     53#endif
    5254using namespace std;
    5355//! \ingroup TLibEncoder
     
    107109  m_viewIndex  =   0;
    108110  m_isDepth = false;
     111#if H_3D_IV_MERGE
     112  m_pcDepthMapGenerator = NULL;
     113#endif
    109114#endif
    110115#endif
     
    155160  m_viewIndex            = pcTEncTop->getViewIndex();
    156161  m_isDepth              = pcTEncTop->getIsDepth();
     162#if H_3D_IV_MERGE
     163  m_pcDepthMapGenerator  = pcTEncTop->getDepthMapGenerator();
     164#endif
    157165#endif
    158166#endif
     
    674682#endif
    675683
     684#if H_3D_IV_MERGE
     685    TAppEncTop* tAppEncTop = m_pcEncTop->getEncTop();
     686    TComPic * const pcTexturePic = m_pcEncTop->getIsDepth() ? tAppEncTop->getPicFromView( getViewIndex(), pcSlice->getPOC(), false ) : NULL;
     687    assert( !m_pcEncTop->getIsDepth() || pcTexturePic != NULL );
     688    pcSlice->setTexturePic( pcTexturePic );
     689#endif
    676690    //  Slice info. refinement
    677691#if H_MV
     
    10281042    m_storedStartCUAddrForEncodingSliceSegment.push_back(nextCUAddr);
    10291043    startCUAddrSliceSegmentIdx++;
     1044
     1045#if H_3D_IV_MERGE
     1046    m_pcDepthMapGenerator->initViewComponent( pcPic );
     1047#endif
     1048
    10301049#if H_3D_NBDV
    10311050      if(pcSlice->getViewIndex() && !pcSlice->getIsDepth()) //Notes from QC: this condition shall be changed once the configuration is completed, e.g. in pcSlice->getSPS()->getMultiviewMvPredMode() || ARP in prev. HTM. Remove this comment once it is done.
     
    24782497#if ADAPTIVE_QP_SELECTION
    24792498#if H_MV
    2480   printf("Layer %3d   POC %4d TId: %1d ( %c-SLICE, nQP %d QP %d ) %10d bits",
     2499  printf("Layer %3d   POC %4d TId: %1d ( %c-SLICE, nQP %d QP %d ) %10d  bits",
    24812500    pcSlice->getLayerId(),
    24822501    pcSlice->getPOC(),
Note: See TracChangeset for help on using the changeset viewer.