Ticket #785: Deblocking_partitionP_slice_bugfix_785.patch
File Deblocking_partitionP_slice_bugfix_785.patch, 1.9 KB (added by adarsh, 12 years ago) |
---|
-
C:/Users/aramasub/Documents/svn_HEVCSoftware/HM8.0/trunk/source/Lib/TLibCommon/TComLoopFilter.cpp
498 498 Int iRefIdx; 499 499 Int *piRefP0, *piRefP1, *piRefQ0, *piRefQ1; 500 500 iRefIdx = pcCUP->getCUMvField(REF_PIC_LIST_0)->getRefIdx(uiPartP); 501 piRefP0 = (iRefIdx < 0) ? NULL : (Int*) pc Slice->getRefPic(REF_PIC_LIST_0, iRefIdx);501 piRefP0 = (iRefIdx < 0) ? NULL : (Int*) pcCUP->getSlice()->getRefPic(REF_PIC_LIST_0, iRefIdx); 502 502 iRefIdx = pcCUP->getCUMvField(REF_PIC_LIST_1)->getRefIdx(uiPartP); 503 piRefP1 = (iRefIdx < 0) ? NULL : (Int*) pc Slice->getRefPic(REF_PIC_LIST_1, iRefIdx);503 piRefP1 = (iRefIdx < 0) ? NULL : (Int*) pcCUP->getSlice()->getRefPic(REF_PIC_LIST_1, iRefIdx); 504 504 iRefIdx = pcCUQ->getCUMvField(REF_PIC_LIST_0)->getRefIdx(uiPartQ); 505 505 piRefQ0 = (iRefIdx < 0) ? NULL : (Int*) pcSlice->getRefPic(REF_PIC_LIST_0, iRefIdx); 506 506 iRefIdx = pcCUQ->getCUMvField(REF_PIC_LIST_1)->getRefIdx(uiPartQ); … … 551 551 Int iRefIdx; 552 552 Int *piRefP0, *piRefQ0; 553 553 iRefIdx = pcCUP->getCUMvField(REF_PIC_LIST_0)->getRefIdx(uiPartP); 554 piRefP0 = (iRefIdx < 0) ? NULL : (Int*) pc Slice->getRefPic(REF_PIC_LIST_0, iRefIdx);554 piRefP0 = (iRefIdx < 0) ? NULL : (Int*) pcCUP->getSlice()->getRefPic(REF_PIC_LIST_0, iRefIdx); 555 555 iRefIdx = pcCUQ->getCUMvField(REF_PIC_LIST_0)->getRefIdx(uiPartQ); 556 556 piRefQ0 = (iRefIdx < 0) ? NULL : (Int*) pcSlice->getRefPic(REF_PIC_LIST_0, iRefIdx); 557 557 TComMv pcMvP0 = pcCUP->getCUMvField(REF_PIC_LIST_0)->getMv(uiPartP);