Changeset 926 in 3DVCSoftware


Ignore:
Timestamp:
18 Apr 2014, 08:54:32 (10 years ago)
Author:
mediatek-htm
Message:

Integration of SW allignment issue for bi-prediction ARP (H0085).
The MACRO is "MTK_ALIGN_SW_WD_BI_PRED_ARP_H0085".

Ny Yi-Wen Chen (yiwen.chen@…)

Location:
branches/HTM-10.2-dev1-MediaTek
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.2-dev1-MediaTek/source/Lib/TLibCommon/TComPrediction.cpp

    r888 r926  
    519519      Int RefPOCL0 = pcCU->getSlice()->getRefPic(REF_PIC_LIST_0, pcCU->getCUMvField(REF_PIC_LIST_0)->getRefIdx(PartAddr))->getPOC();
    520520      Int RefPOCL1 = pcCU->getSlice()->getRefPic(REF_PIC_LIST_1, pcCU->getCUMvField(REF_PIC_LIST_1)->getRefIdx(PartAddr))->getPOC();
     521#if MTK_ALIGN_SW_WD_BI_PRED_ARP_H0085
     522      if(!pcCU->getARPW(PartAddr) && RefPOCL0 == RefPOCL1 && pcCU->getCUMvField(REF_PIC_LIST_0)->getMv(PartAddr) == pcCU->getCUMvField(REF_PIC_LIST_1)->getMv(PartAddr))
     523#else
    521524      if(RefPOCL0 == RefPOCL1 && pcCU->getCUMvField(REF_PIC_LIST_0)->getMv(PartAddr) == pcCU->getCUMvField(REF_PIC_LIST_1)->getMv(PartAddr))
     525#endif
    522526      {
    523527        return true;
  • branches/HTM-10.2-dev1-MediaTek/source/Lib/TLibCommon/TypeDef.h

    r922 r926  
    109109                                              // MTK_ARP_FLAG_CABAC_SIMP_G0061 Use 2 context for ARP flag referring to only left neighbor block in JCT3V-G0061
    110110                                              // MTK_ARP_REF_SELECTION_G0053 ARP Reference picture selection in JCT3V-G0053
     111#define MTK_ALIGN_SW_WD_BI_PRED_ARP_H0085 1   // Align the SW and WD for the bi-prediction ARP PUs by disallowing non-normative fast bi-prediction for ARP PUs, JCT3V-H0085
    111112
    112113#define H_3D_IC                           1   // Illumination Compensation, JCT3V-B0045, JCT3V-C0046, JCT3V-D0060
Note: See TracChangeset for help on using the changeset viewer.