Changeset 523 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib
- Timestamp:
- 6 Jul 2013, 15:43:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.cpp
r522 r523 2791 2791 if ( pcTextureCU && !pcTextureCU->isIntra( uiPartIdxCenter ) ) 2792 2792 { 2793 #if H_3D_VSP_FIX 2794 Bool bSet[2] = {false, false}; // TODO: Find a better variable name -Dong 2795 #endif 2793 2796 abCandIsInter[iCount] = true; 2794 2797 puhInterDirNeighbours[iCount] = pcTextureCU->getInterDir( uiPartIdxCenter ); … … 2796 2799 { 2797 2800 pcTextureCU->getMvField( pcTextureCU, uiPartIdxCenter, REF_PIC_LIST_0, pcMvFieldNeighbours[iCount<<1] ); 2798 2799 2801 TComMv cMvPred = pcMvFieldNeighbours[iCount<<1].getMv(); 2800 2802 … … 2807 2809 //pcMvFieldNeighbours[iCount<<1].setMvField(cMvPred,pcMvFieldNeighbours[iCount<<1].getRefIdx()); 2808 2810 #if H_3D_CLEANUPS //Notes from QC: for BVSP coded blocks, the reference index shall not be equal to -1 due to the adoption of JCT3V-D0191 2809 #if !H_3D_VSP_FIX2810 2811 pcMvFieldNeighbours[iCount<<1].setMvField(cMvPred,pcMvFieldNeighbours[iCount<<1].getRefIdx()); 2811 # else2812 #if H_3D_VSP_FIX 2812 2813 if ( pcTextureCU->getVSPFlag( uiPartIdxCenter ) != 0 ) // Texture coded using VSP mode 2813 2814 { 2815 bSet[0] = true; 2814 2816 for ( Int i = 0; i < m_pcSlice->getNumRefIdx( REF_PIC_LIST_0 ); i++ ) 2815 2817 { … … 2817 2819 { 2818 2820 pcMvFieldNeighbours[ iCount<<1 ].setMvField(cMvPred, i); 2821 bSet[0] = false; 2819 2822 break; 2820 2823 } … … 2852 2855 //pcMvFieldNeighbours[(iCount<<1)+1].setMvField(cMvPred,pcMvFieldNeighbours[(iCount<<1)+1].getRefIdx()); 2853 2856 #if H_3D_CLEANUPS //Notes from QC: for BVSP coded blocks, the reference index shall not be equal to -1 due to the adoption of JCT3V-D0191 2854 #if !H_3D_VSP_FIX2855 2857 pcMvFieldNeighbours[(iCount<<1)+1].setMvField(cMvPred,pcMvFieldNeighbours[(iCount<<1)+1].getRefIdx()); 2856 # else2858 #if H_3D_VSP_FIX 2857 2859 if ( pcTextureCU->getVSPFlag( uiPartIdxCenter ) != 0 ) // Texture coded using VSP mode 2858 2860 { 2861 bSet[1] = true; 2859 2862 for ( Int i = 0; i < m_pcSlice->getNumRefIdx( REF_PIC_LIST_1 ); i++ ) 2860 2863 { … … 2862 2865 { 2863 2866 pcMvFieldNeighbours[ (iCount<<1)+1 ].setMvField(cMvPred, i); 2867 bSet[1] = false; 2864 2868 break; 2865 2869 } … … 2888 2892 #endif 2889 2893 #if H_3D_VSP_FIX 2890 if ( pcTextureCU->getVSPFlag( uiPartIdxCenter ) == 0 ) // MERL Question: When texture coded using nonVSP mode????????2894 assert( !bSet[0] || (!bSet[1] && m_pcSlice->isInterB()) ); 2891 2895 { 2892 2896 #endif … … 2902 2906 #if H_3D_VSP_FIX 2903 2907 } 2904 // else2905 // assert(0); // MERL Question: Should the assert be kept???2906 2908 #endif 2907 2909 #if !H_3D_CLEANUPS
Note: See TracChangeset for help on using the changeset viewer.