Changeset 1258 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
- Timestamp:
- 14 Jul 2015, 02:57:50 (9 years ago)
- File:
-
- 1 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 {
Note: See TracChangeset for help on using the changeset viewer.