Changeset 1258 in SHVCSoftware
- Timestamp:
- 14 Jul 2015, 02:57:50 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
r1246 r1258 453 453 454 454 /** 455 - initialize top-level CU 456 - internal buffers are already created 457 - set values before encoding a CU 458 . 459 \param pcPic picture (TComPic) class pointer 460 \param iCUAddr CU address 455 Initialize top-level CU: create internal buffers and set initial values before encoding the CTU. 456 457 \param pcPic picture (TComPic) class pointer 458 \param ctuRsAddr CTU address in raster scan order 461 459 */ 462 460 Void TComDataCU::initCtu( TComPic* pcPic, UInt ctuRsAddr ) … … 571 569 572 570 573 /** initialize prediction data with enabling sub-CTU-level delta QP 574 *\param uiDepth depth of the current CU 575 *\param qp qp for the current CU 576 *- set CU width and CU height according to depth 577 *- set qp value according to input qp 578 *- set last-coded qp value according to input last-coded qp 571 /** Initialize prediction data with enabling sub-CTU-level delta QP. 572 * - set CU width and CU height according to depth 573 * - set qp value according to input qp 574 * - set last-coded qp value according to input last-coded qp 575 * 576 * \param uiDepth depth of the current CU 577 * \param qp qp for the current CU 578 * \param bTransquantBypass true for transquant bypass 579 579 */ 580 580 Void TComDataCU::initEstData( const UInt uiDepth, const Int qp, const Bool bTransquantBypass ) … … 1493 1493 1494 1494 1495 /** Check whether the CU is coded in lossless coding mode 1496 * \param uiAbsPartIdx1495 /** Check whether the CU is coded in lossless coding mode. 1496 * \param absPartIdx 1497 1497 * \returns true if the CU is coded in lossless coding mode; false if otherwise 1498 1498 */ … … 1504 1504 1505 1505 /** Get allowed chroma intra modes 1506 * \param uiAbsPartIdx1507 * \param uiModeList pointer to chroma intra modes array1508 *\ returns1509 * - fill uiModeList with chroma intra modes1506 * - fills uiModeList with chroma intra modes 1507 * 1508 *\param [in] uiAbsPartIdx 1509 *\param [out] uiModeList pointer to chroma intra modes array 1510 1510 */ 1511 1511 Void TComDataCU::getAllowedChromaDir( UInt uiAbsPartIdx, UInt uiModeList[NUM_CHROMA_MODE] ) … … 1531 1531 1532 1532 /** Get most probable intra modes 1533 *\param uiAbsPartIdx 1533 *\param uiAbsPartIdx partition index 1534 1534 *\param uiIntraDirPred pointer to the array for MPM storage 1535 *\param compID color component ID 1535 1536 *\param piMode it is set with MPM mode in case both MPM are equal. It is used to restrict RD search at encode side. 1536 1537 *\returns Number of MPM … … 2253 2254 } 2254 2255 2255 /** Derives the partition index of neighbouring bottom right block 2256 * \param [in] eCUMode 2257 * \param [in] uiPartIdx 2258 * \param [out] ruiPartIdxRB 2256 /** Derive the partition index of neighbouring bottom right block 2257 * \param [in] uiPartIdx current partition index 2258 * \param [out] ruiPartIdxRB partition index of neighbouring bottom right block 2259 2259 */ 2260 Void TComDataCU::deriveRightBottomIdx( UInt uiPartIdx, UInt&ruiPartIdxRB )2260 Void TComDataCU::deriveRightBottomIdx( UInt uiPartIdx, UInt &ruiPartIdxRB ) 2261 2261 { 2262 2262 ruiPartIdxRB = g_auiRasterToZscan [g_auiZscanToRaster[ m_absZIdxInCtu ] + ( ((m_puhHeight[0] / m_pcPic->getMinCUHeight())>>1) - 1)*m_pcPic->getNumPartInCtuWidth() + m_puhWidth[0] / m_pcPic->getMinCUWidth() - 1]; … … 2335 2335 } 2336 2336 2337 /** Constructs a list of merging candidates 2338 * \param uiAbsPartIdx 2339 * \param uiPUIdx 2340 * \param uiDepth 2341 * \param pcMvFieldNeighbours 2342 * \param puhInterDirNeighbours 2343 * \param numValidMergeCand 2344 */ 2337 //! Construct a list of merging candidates 2345 2338 Void TComDataCU::getInterMergeCandidates( UInt uiAbsPartIdx, UInt uiPUIdx, TComMvField* pcMvFieldNeighbours, UChar* puhInterDirNeighbours, Int& numValidMergeCand, Int mrgCandIdx ) 2346 2339 { … … 2698 2691 2699 2692 /** Check whether the current PU and a spatial neighboring PU are in a same ME region. 2700 * \param xN, xN location of the upper-left corner pixel of a neighboring PU2693 * \param xN, yN location of the upper-left corner pixel of a neighboring PU 2701 2694 * \param xP, yP location of the upper-left corner pixel of the current PU 2702 * \returns Bool2703 2695 */ 2704 2696 Bool TComDataCU::isDiffMER(Int xN, Int yN, Int xP, Int yP) … … 2717 2709 } 2718 2710 2719 /** calculate the location of upper-left corner pixel and size of the current PU. 2720 * \param partIdx PU index within a CU 2721 * \param xP, yP location of the upper-left corner pixel of the current PU 2722 * \param PSW, nPSH size of the curren PU 2723 * \returns Void 2711 /** Calculate the location of upper-left corner pixel and size of the current PU. 2712 * \param partIdx PU index within a CU 2713 * \param xP, yP location of the upper-left corner pixel of the current PU 2714 * \param nPSW, nPSH size of the current PU 2724 2715 */ 2725 2716 Void TComDataCU::getPartPosition( UInt partIdx, Int& xP, Int& yP, Int& nPSW, Int& nPSH) … … 3018 3009 } 3019 3010 3020 /** Test whether the current block is skipped3021 * \param uiPartIdx Blockindex3022 * \returns Flag indicating whetherthe block is skipped3011 /** Test whether the block at uiPartIdx is skipped. 3012 * \param uiPartIdx Partition index 3013 * \returns true if the current the block is skipped 3023 3014 */ 3024 3015 Bool TComDataCU::isSkipped( UInt uiPartIdx ) … … 3242 3233 } 3243 3234 3244 /**3245 * \param eRefPicList3246 * \param uiCUAddr3247 * \param uiPartUnitIdx3248 * \param riRefIdx3249 * \returns Bool3250 */3251 3235 Bool TComDataCU::xGetColMVP( RefPicList eRefPicList, Int ctuRsAddr, Int uiPartUnitIdx, TComMv& rcMv, Int& riRefIdx ) 3252 3236 { … … 3362 3346 } 3363 3347 3364 /**3365 * \param eCUMode3366 * \param uiPartIdx3367 * \param ruiPartIdxCenter3368 * \returns Void3369 */3370 3348 Void TComDataCU::xDeriveCenterIdx( UInt uiPartIdx, UInt& ruiPartIdxCenter ) 3371 3349 { -
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.h
r1246 r1258 449 449 Bool isIntra ( UInt uiPartIdx ) const { return m_pePredMode[ uiPartIdx ] == MODE_INTRA; } 450 450 Bool isInter ( UInt uiPartIdx ) const { return m_pePredMode[ uiPartIdx ] == MODE_INTER; } 451 Bool isSkipped ( UInt uiPartIdx ); ///< SKIP (no residual)451 Bool isSkipped ( UInt uiPartIdx ); ///< returns true, if the partiton is skipped 452 452 Bool isBipredRestriction( UInt puIdx ); 453 453 -
branches/SHM-dev/source/Lib/TLibCommon/TComRdCostWeightPrediction.cpp
r1029 r1258 140 140 // HADAMARD with step (used in fractional search) 141 141 // -------------------------------------------------------------------------------------------------------------------- 142 /** get weighted Hadamard cost for 2x2 block 143 * \param *piOrg 144 * \param *piCur 145 * \param iStrideOrg 146 * \param iStrideCur 147 * \param iStep 148 * \returns Distortion 149 */ 142 //! get weighted Hadamard cost for 2x2 block 150 143 Distortion xCalcHADs2x2w( const WPScalingParam &wpCur, const Pel *piOrg, const Pel *piCur, Int iStrideOrg, Int iStrideCur, Int iStep ) 151 144 { … … 184 177 185 178 186 /** get weighted Hadamard cost for 4x4 block 187 * \param *piOrg 188 * \param *piCur 189 * \param iStrideOrg 190 * \param iStrideCur 191 * \param iStep 192 * \returns Distortion 193 */ 179 //! get weighted Hadamard cost for 4x4 block 194 180 Distortion xCalcHADs4x4w( const WPScalingParam &wpCur, const Pel *piOrg, const Pel *piCur, Int iStrideOrg, Int iStrideCur, Int iStep ) 195 181 { … … 300 286 301 287 302 /** get weighted Hadamard cost for 8x8 block 303 * \param *piOrg 304 * \param *piCur 305 * \param iStrideOrg 306 * \param iStrideCur 307 * \param iStep 308 * \returns Distortion 309 */ 288 //! get weighted Hadamard cost for 8x8 block 310 289 Distortion xCalcHADs8x8w( const WPScalingParam &wpCur, const Pel *piOrg, const Pel *piCur, Int iStrideOrg, Int iStrideCur, Int iStep ) 311 290 { … … 425 404 426 405 427 /** get weighted Hadamard cost 428 * \param *pcDtParam 429 * \returns Distortion 430 */ 406 //! get weighted Hadamard cost 431 407 Distortion TComRdCostWeightPrediction::xGetHADsw( DistParam* pcDtParam ) 432 408 { -
branches/SHM-dev/source/Lib/TLibCommon/TComRdCostWeightPrediction.h
r1029 r1258 41 41 42 42 #include "CommonDef.h" 43 #include "TComPattern.h"44 #include "TComMv.h"45 #include "TComRdCost.h"46 #include "TComSlice.h"47 43 48 44 class DistParam; -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1256 r1258 582 582 583 583 assert(numPicTotalCurr > 0); 584 // gen ral tier and level limit:584 // general tier and level limit: 585 585 assert(numPicTotalCurr <= 8); 586 586 … … 2560 2560 } 2561 2561 2562 /** parse syntax infomation2563 * \param pchFile syntax infomation2564 * \returns false if successful2565 */2566 2567 2562 static Void outputScalingListHelp(std::ostream &os) 2568 2563 { -
branches/SHM-dev/source/Lib/TLibVideoIO/TVideoIOYuv.cpp
r1246 r1258 230 230 * either 8bit or 16bit little-endian lsb-aligned words. 231 231 * 232 * @param dst destination image 233 * @param fd input file stream 234 * @param is16bit true if input file carries > 8bit data, false otherwise. 235 * @param stride distance between vertically adjacent pixels of dst. 236 * @param width width of active area in dst. 237 * @param height height of active area in dst. 238 * @param pad_x length of horizontal padding. 239 * @param pad_y length of vertical padding. 232 * @param dst destination image plane 233 * @param fd input file stream 234 * @param is16bit true if input file carries > 8bit data, false otherwise. 235 * @param stride444 distance between vertically adjacent pixels of dst. 236 * @param width444 width of active area in dst. 237 * @param height444 height of active area in dst. 238 * @param pad_x444 length of horizontal padding. 239 * @param pad_y444 length of vertical padding. 240 * @param compID chroma component 241 * @param destFormat chroma format of image 242 * @param fileFormat chroma format of file 243 * @param fileBitDepth component bit depth in file 240 244 * @return true for success, false in case of error 241 245 */ … … 381 385 382 386 /** 383 * Write width*height pixels info fd from src. 384 * 385 * @param fd output file stream 386 * @param src source image 387 * @param is16bit true if input file carries > 8bit data, false otherwise. 388 * @param stride distance between vertically adjacent pixels of src. 389 * @param width width of active area in src. 390 * @param height height of active area in src. 387 * Write an image plane (width444*height444 pixels) from src into output stream fd. 388 * 389 * @param fd output file stream 390 * @param src source image 391 * @param is16bit true if input file carries > 8bit data, false otherwise. 392 * @param stride444 distance between vertically adjacent pixels of src. 393 * @param width444 width of active area in src. 394 * @param height444 height of active area in src. 395 * @param compID chroma component 396 * @param srcFormat chroma format of image 397 * @param fileFormat chroma format of file 398 * @param fileBitDepth component bit depth in file 391 399 * @return true for success, false in case of error 392 400 */
Note: See TracChangeset for help on using the changeset viewer.