Changeset 702 in SHVCSoftware for branches/SHM-6-dev
- Timestamp:
- 19 Apr 2014, 00:38:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp
r695 r702 702 702 } 703 703 #endif 704 #if REPN_FORMAT_IN_VPS 705 #if Q0200_CONFORMANCE_BL_SIZE 706 Int xScal = 1, yScal = 1; 707 #else 704 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE 708 705 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 709 706 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 710 #endif 707 711 708 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRecTop, pPicCYuvRecBot, 712 709 conf.getWindowLeftOffset() * xScal + defDisp.getWindowLeftOffset(), … … 715 712 conf.getWindowBottomOffset()* yScal + defDisp.getWindowBottomOffset(), isTff ); 716 713 #else 717 #if O0194_DIFFERENT_BITDEPTH_EL_BL718 // Compile time bug-fix719 714 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRecTop, pPicCYuvRecBot, 720 #else 721 m_cTVideoIOYuvReconFile.write( pPicCYuvRecTop, pPicCYuvRecBot, 722 #endif 723 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), 724 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(), 725 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 715 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), 716 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(), 717 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 726 718 conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset(), isTff ); 727 719 #endif … … 826 818 #endif 827 819 828 #if REPN_FORMAT_IN_VPS 829 #if Q0200_CONFORMANCE_BL_SIZE 830 Int xScal = 1, yScal = 1; 831 #else 820 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE 832 821 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 833 822 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 834 #endif 823 835 824 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRec, 836 825 conf.getWindowLeftOffset() * xScal + defDisp.getWindowLeftOffset(), … … 840 829 #else 841 830 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRec, 842 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(),843 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(),844 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(),831 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), 832 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(), 833 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 845 834 conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset() ); 846 835 #endif … … 945 934 } 946 935 #endif 947 #if REPN_FORMAT_IN_VPS 948 #if Q0200_CONFORMANCE_BL_SIZE 949 Int xScal = 1, yScal = 1; 950 #else 936 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE 951 937 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 952 938 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 953 #endif 939 954 940 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRecTop, pPicCYuvRecBot, 955 941 conf.getWindowLeftOffset() *xScal + defDisp.getWindowLeftOffset(), … … 958 944 conf.getWindowBottomOffset()*yScal + defDisp.getWindowBottomOffset(), isTff ); 959 945 #else 960 #if O0194_DIFFERENT_BITDEPTH_EL_BL961 // Compile time bug-fix962 946 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRecTop, pPicCYuvRecBot, 963 #else 964 m_cTVideoIOYuvReconFile[layerId].write( pPicCYuvRecTop, pPicCYuvRecBot, 965 #endif 966 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), 967 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(), 968 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 947 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), 948 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(), 949 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 969 950 conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset(), isTff ); 970 951 #endif … … 1071 1052 } 1072 1053 #endif 1073 #if REPN_FORMAT_IN_VPS 1074 #if Q0200_CONFORMANCE_BL_SIZE 1075 Int xScal = 1,yScal = 1; 1076 #else 1054 #if REPN_FORMAT_IN_VPS && !Q0200_CONFORMANCE_BL_SIZE 1077 1055 UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc(); 1078 1056 Int xScal = TComSPS::getWinUnitX( chromaFormatIdc ), yScal = TComSPS::getWinUnitY( chromaFormatIdc ); 1079 #endif 1057 1080 1058 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRec, 1081 1059 conf.getWindowLeftOffset() *xScal + defDisp.getWindowLeftOffset(), … … 1085 1063 #else 1086 1064 m_acTVideoIOYuvReconFile[layerId].write( pPicCYuvRec, 1087 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(),1088 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(),1089 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(),1065 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), 1066 conf.getWindowRightOffset() + defDisp.getWindowRightOffset(), 1067 conf.getWindowTopOffset() + defDisp.getWindowTopOffset(), 1090 1068 conf.getWindowBottomOffset() + defDisp.getWindowBottomOffset() ); 1091 1069 #endif
Note: See TracChangeset for help on using the changeset viewer.