Changeset 1320 in SHVCSoftware
- Timestamp:
- 21 Jul 2015, 23:32:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibVideoIO/TVideoIOYuv.cpp
r1307 r1320 742 742 } 743 743 744 Int internalBitDepth[MAX_NUM_CHANNEL_TYPE];745 for(UInt chType=0; chType<MAX_NUM_CHANNEL_TYPE; chType++)746 {747 internalBitDepth[chType] = m_bitdepthShift[chType] + m_MSBExtendedBitDepth[chType];748 }749 744 ColourSpaceConvert(*pPicYuvTrueOrg, *pPicYuvUser, ipcsc, true); 750 745 … … 771 766 { 772 767 cPicYuvCSCd.create(pPicYuvUser->getWidth(COMPONENT_Y), pPicYuvUser->getHeight(COMPONENT_Y), pPicYuvUser->getChromaFormat(), pPicYuvUser->getWidth(COMPONENT_Y), pPicYuvUser->getHeight(COMPONENT_Y), 0, false); 773 Int internalBitDepth[MAX_NUM_CHANNEL_TYPE];774 for(UInt chType=0; chType<MAX_NUM_CHANNEL_TYPE; chType++)775 {776 internalBitDepth[chType] = m_bitdepthShift[chType] + m_MSBExtendedBitDepth[chType];777 }778 768 ColourSpaceConvert(*pPicYuvUser, cPicYuvCSCd, ipCSC, false); 779 769 } … … 871 861 cPicYuvTopCSCd .create(pPicYuvUserTop ->getWidth(COMPONENT_Y), pPicYuvUserTop ->getHeight(COMPONENT_Y), pPicYuvUserTop ->getChromaFormat(), pPicYuvUserTop ->getWidth(COMPONENT_Y), pPicYuvUserTop ->getHeight(COMPONENT_Y), 0, false); 872 862 cPicYuvBottomCSCd.create(pPicYuvUserBottom->getWidth(COMPONENT_Y), pPicYuvUserBottom->getHeight(COMPONENT_Y), pPicYuvUserBottom->getChromaFormat(), pPicYuvUserBottom->getWidth(COMPONENT_Y), pPicYuvUserBottom->getHeight(COMPONENT_Y), 0, false); 873 Int internalBitDepth[MAX_NUM_CHANNEL_TYPE];874 for(UInt chType=0; chType<MAX_NUM_CHANNEL_TYPE; chType++)875 {876 internalBitDepth[chType] = m_bitdepthShift[chType] + m_MSBExtendedBitDepth[chType];877 }878 863 ColourSpaceConvert(*pPicYuvUserTop, cPicYuvTopCSCd, ipCSC, false); 879 864 ColourSpaceConvert(*pPicYuvUserBottom, cPicYuvBottomCSCd, ipCSC, false);
Note: See TracChangeset for help on using the changeset viewer.