Changeset 1413 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComPattern.cpp
- Timestamp:
- 11 Jul 2018, 15:19:49 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComPattern.cpp
r1405 r1413 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 74 74 75 75 // ==================================================================================================================== 76 // Public member functions (TComPatternParam)77 // ====================================================================================================================78 79 /**80 \param piTexture pixel data81 \param iRoiWidth pattern width82 \param iRoiHeight pattern height83 \param iStride buffer stride84 \param bitDepth bit depth85 */86 Void TComPatternParam::setPatternParamPel ( Pel* piTexture,87 Int iRoiWidth,88 Int iRoiHeight,89 Int iStride,90 Int bitDepth91 )92 {93 m_piROIOrigin = piTexture;94 m_iROIWidth = iRoiWidth;95 m_iROIHeight = iRoiHeight;96 m_iPatternStride = iStride;97 m_bitDepth = bitDepth;98 }99 100 // ====================================================================================================================101 76 // Public member functions (TComPattern) 102 77 // ==================================================================================================================== 103 78 79 #if MCTS_ENC_CHECK 80 Void TComPattern::initPattern(Pel* piY, 81 Int roiWidth, 82 Int roiHeight, 83 Int stride, 84 Int bitDepthLuma, 85 Int roiPosX, 86 Int roiPosY) 87 #else 104 88 Void TComPattern::initPattern (Pel* piY, 105 Int iRoiWidth,106 Int iRoiHeight,107 Int iStride,89 Int roiWidth, 90 Int roiHeight, 91 Int stride, 108 92 Int bitDepthLuma) 109 { 110 m_cPatternY. setPatternParamPel( piY, iRoiWidth, iRoiHeight, iStride, bitDepthLuma); 111 } 93 #endif 94 { 95 m_piROIOrigin = piY; 96 m_roiWidth = roiWidth; 97 m_roiHeight = roiHeight; 98 m_patternStride = stride; 99 m_bitDepth = bitDepthLuma; 100 #if MCTS_ENC_CHECK 101 m_roiPosX = roiPosX; 102 m_roiPosY = roiPosY; 103 #endif 104 } 105 106 #if MCTS_ENC_CHECK 107 Void TComPattern::setTileBorders(Int tileLeftTopPelPosX, Int tileLeftTopPelPosY, Int tileRightBottomPelPosX, Int tileRightBottomPelPosY) 108 { 109 m_tileLeftTopPelPosX = tileLeftTopPelPosX; 110 m_tileLeftTopPelPosY = tileLeftTopPelPosY; 111 m_tileRightBottomPelPosX = tileRightBottomPelPosX; 112 m_tileRightBottomPelPosY = tileRightBottomPelPosY; 113 } 114 #endif 112 115 113 116
Note: See TracChangeset for help on using the changeset viewer.