Changeset 1260 in SHVCSoftware
- Timestamp:
- 14 Jul 2015, 03:24:13 (10 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1259 r1260 694 694 695 695 /** \param pcListPic list of pictures to be written to file 696 \param tId temporal sub-layer ID 696 697 \todo DYN_REF_FREE should be revised 697 698 */ -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1259 r1260 2324 2324 } 2325 2325 2326 /** \param iNumEncoded number of encoded frames 2326 /** 2327 Write access units to output file. 2328 \param bitstreamFile target bitstream file 2329 \param iNumEncoded number of encoded frames 2330 \param accessUnits list of access units to be written 2327 2331 */ 2328 2332 Void TAppEncTop::xWriteOutput(std::ostream& bitstreamFile, Int iNumEncoded, const std::list<AccessUnit>& accessUnits) -
branches/SHM-dev/source/App/utils/BitrateTargeting/GuessLambdaModifiers.h
r1246 r1260 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 4, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 94 94 95 95 /// Performs interpolation/extrapolation to guess a single Lambda-modifier 96 /// \param target The target bitrate value that this Lambda-modifier is trying to reach96 /// \param targetBitrate The target bitrate value that this Lambda-modifier is trying to reach 97 97 /// \param point1 One of the two previously tried points where first is the Lambda-modifier and second is the obtained bitrate 98 98 /// \param point2 One of the two previously tried points where first is the Lambda-modifier and second is the obtained bitrate … … 134 134 /// \param o The output stream to write the guessed Lambda-modifiers to 135 135 /// \param initialAdjustmentParameterIstream The input stream that contains the initial adjustment parameter 136 /// \param target Istream The input stream that contains the target bitrates136 /// \param targetsIstream The input stream that contains the target bitrates 137 137 /// \param metaLogIstream The input stream that contains the meta-log 138 138 /// \throw InitialAdjustmentParameterParseException if there is an error parsing the initial adjustment parameter -
branches/SHM-dev/source/Lib/TLibCommon/ContextModel3DBuffer.cpp
r1259 r1260 60 60 61 61 /** 62 * Initialize 3D buffer with respect to slice type, QP and given initial probability table62 * Initialize 3D buffer with respect to slice type, QP and given initial probability table 63 63 * 64 * \param eSliceType slice type65 * \param iQp input QP value66 * \param psCtxModelgiven probability table64 * \param sliceType slice type 65 * \param qp input QP value 66 * \param ctxModel given probability table 67 67 */ 68 68 Void ContextModel3DBuffer::initBuffer( SliceType sliceType, Int qp, UChar* ctxModel ) -
branches/SHM-dev/source/Lib/TLibCommon/NAL.h
r1259 r1260 107 107 108 108 /** 109 * convert the OutputNALUnit #nalu#into EBSP format by writing out109 * convert the OutputNALUnit nalu into EBSP format by writing out 110 110 * the NALUnit header, then the rbsp_bytes including any 111 111 * emulation_prevention_three_byte symbols. -
branches/SHM-dev/source/Lib/TLibCommon/TComBitStream.cpp
r1259 r1260 215 215 216 216 /** 217 * read #uiNumberOfBits#from bitstream without updating the bitstream218 * state, storing the result in #ruiBits#.219 * 220 * If reading #uiNumberOfBits#would overrun the bitstream buffer,221 * the bits ream is effectively padded with sufficient zero-bits to217 * read uiNumberOfBits from bitstream without updating the bitstream 218 * state, storing the result in ruiBits. 219 * 220 * If reading uiNumberOfBits would overrun the bitstream buffer, 221 * the bitstream is effectively padded with sufficient zero-bits to 222 222 * avoid the overrun. 223 223 */ … … 344 344 345 345 /** 346 - extract substream from the current bitstream 347 . 348 \param pcBitstream bitstream which contains substreams 346 Extract substream from the current bitstream. 347 349 348 \param uiNumBits number of bits to transfer 350 349 */ -
branches/SHM-dev/source/Lib/TLibCommon/TComBitStream.h
r1259 r1260 176 176 public: 177 177 /** 178 * Create a new bitstream reader object that reads from #buf#. Ownership179 * of #buf#remains with the callee, although the constructed object180 * will hold a reference to #buf#178 * Create a new bitstream reader object that reads from buf. Ownership 179 * of buf remains with the callee, although the constructed object 180 * will hold a reference to buf 181 181 */ 182 182 TComInputBitstream(std::vector<uint8_t>* buf); -
branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp
r1259 r1260 1533 1533 *\param uiAbsPartIdx partition index 1534 1534 *\param uiIntraDirPred pointer to the array for MPM storage 1535 *\param compID colo r component ID1535 *\param compID colour component ID 1536 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. 1537 1537 *\returns Number of MPM … … 1726 1726 1727 1727 /** Sets a coded block flag for all sub-partitions of a partition 1728 * \param uiCbf The value of the coded block flag to be set1729 * \param eTType1728 * \param uiCbf The value of the coded block flag to be set 1729 * \param compID 1730 1730 * \param uiAbsPartIdx 1731 1731 * \param uiPartIdx 1732 1732 * \param uiDepth 1733 * \returns Void1734 1733 */ 1735 1734 Void TComDataCU::setCbfSubParts ( UInt uiCbf, ComponentID compID, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth ) -
branches/SHM-dev/source/Lib/TLibCommon/TComInterpolationFilter.cpp
r1259 r1260 288 288 * 289 289 * \tparam N Number of taps 290 * \param bitDepth Bit depth 290 291 * \param src Pointer to source samples 291 292 * \param srcStride Stride of source samples … … 326 327 * \brief Filter a block of Luma/Chroma samples (horizontal) 327 328 * 329 * \param compID Chroma component ID 328 330 * \param src Pointer to source samples 329 331 * \param srcStride Stride of source samples … … 334 336 * \param frac Fractional sample offset 335 337 * \param isLast Flag indicating whether it is the last filtering operation 338 * \param fmt Chroma format 336 339 */ 337 340 Void TComInterpolationFilter::filterHor(const ComponentID compID, Pel *src, Int srcStride, Pel *dst, Int dstStride, Int width, Int height, Int frac, Bool isLast, const ChromaFormat fmt ) … … 358 361 * \brief Filter a block of Luma/Chroma samples (vertical) 359 362 * 363 * \param compID Colour component ID 360 364 * \param src Pointer to source samples 361 365 * \param srcStride Stride of source samples … … 367 371 * \param isFirst Flag indicating whether it is the first filtering operation 368 372 * \param isLast Flag indicating whether it is the last filtering operation 373 * \param fmt Chroma format 369 374 */ 370 375 Void TComInterpolationFilter::filterVer(const ComponentID compID, Pel *src, Int srcStride, Pel *dst, Int dstStride, Int width, Int height, Int frac, Bool isFirst, Bool isLast, const ChromaFormat fmt ) -
branches/SHM-dev/source/Lib/TLibCommon/TComLoopFilter.cpp
r1259 r1260 161 161 162 162 /** 163 - Deblocking filter process in CU-based (the same function as conventional's) 164 . 165 \param Edge the direction of the edge in block boundary (horizonta/vertical), which is added newly 163 Deblocking filter process in CU-based (the same function as conventional's) 164 165 \param pcCU Pointer to CTU/CU structure 166 \param uiAbsZorderIdx Position in CU 167 \param uiDepth Depth in CU 168 \param edgeDir the direction of the edge in block boundary (horizontal/vertical), which is added newly 166 169 */ 167 170 Void TComLoopFilter::xDeblockCU( TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth, DeblockEdgeDir edgeDir ) -
branches/SHM-dev/source/Lib/TLibCommon/TComPattern.cpp
r1259 r1260 70 70 // ==================================================================================================================== 71 71 72 /** \param piTexture pixel data 72 /** 73 \param piTexture pixel data 73 74 \param iRoiWidth pattern width 74 75 \param iRoiHeight pattern height 75 76 \param iStride buffer stride 76 \param iOffsetLeft neighbour offset (left)77 \param iOffsetRight neighbour offset (right)78 \param iOffsetAbove neighbour offset (above)79 \param iOffsetBottom neighbour offset (bottom)80 77 */ 81 78 Void TComPatternParam::setPatternParamPel ( Pel* piTexture, … … 524 521 } 525 522 526 /** Get pointer to reference samples for intra prediction527 * \param uiDirMode prediction mode index528 * \param log2BlkSize size of block (2 = 4x4, 3 = 8x8, 4 = 16x16, 5 = 32x32, 6 = 64x64)529 * \param piAdiBuf pointer to unfiltered reference samples530 * \return pointer to (possibly filtered) reference samples531 *532 * The prediction mode index is used to determine whether a smoothed reference sample buffer is returned.533 */534 535 523 Bool TComPrediction::filteringIntraReferenceSamples(const ComponentID compID, UInt uiDirMode, UInt uiTuChWidth, UInt uiTuChHeight, const ChromaFormat chFmt, const Bool intraReferenceSmoothingDisabled) 536 524 { -
branches/SHM-dev/source/Lib/TLibCommon/TComPrediction.cpp
r1259 r1260 224 224 225 225 /** Function for deriving the simplified angular intra predictions. 226 * \param pSrc pointer to reconstructed sample array 227 * \param srcStride the stride of the reconstructed sample array 228 * \param rpDst reference to pointer for the prediction sample array 229 * \param dstStride the stride of the prediction sample array 230 * \param width the width of the block 231 * \param height the height of the block 232 * \param dirMode the intra prediction mode index 233 * \param blkAboveAvailable boolean indication if the block above is available 234 * \param blkLeftAvailable boolean indication if the block to the left is available 226 * \param bitDepth bit depth 227 * \param pSrc pointer to reconstructed sample array 228 * \param srcStride the stride of the reconstructed sample array 229 * \param pTrueDst reference to pointer for the prediction sample array 230 * \param dstStrideTrue the stride of the prediction sample array 231 * \param uiWidth the width of the block 232 * \param uiHeight the height of the block 233 * \param channelType type of pel array (luma/chroma) 234 * \param format chroma format 235 * \param dirMode the intra prediction mode index 236 * \param blkAboveAvailable boolean indication if the block above is available 237 * \param blkLeftAvailable boolean indication if the block to the left is available 238 * \param bEnableEdgeFilters indication whether to enable edge filters 235 239 * 236 240 * This function derives the prediction samples for the angular mode based on the prediction direction indicated by … … 491 495 } 492 496 493 /** Function for checking identical motion. 494 * \param TComDataCU* pcCU 495 * \param UInt PartAddr 497 /** Check for identical motion in both motion vector direction of a bi-directional predicted CU 498 * \returns true, if motion vectors and reference pictures match 496 499 */ 497 500 Bool TComPrediction::xCheckIdenticalMotion ( TComDataCU* pcCU, UInt PartAddr ) … … 669 672 * \brief Generate motion-compensated block 670 673 * 674 * \param compID Colour component ID 671 675 * \param cu Pointer to current CU 672 676 * \param refPic Pointer to reference picture … … 756 760 757 761 /** Function for deriving planar intra prediction. 758 * \param pSrc pointer to reconstructed sample array 759 * \param srcStride the stride of the reconstructed sample array 760 * \param rpDst reference to pointer for the prediction sample array 761 * \param dstStride the stride of the prediction sample array 762 * \param width the width of the block 763 * \param height the height of the block 762 * \param pSrc pointer to reconstructed sample array 763 * \param srcStride the stride of the reconstructed sample array 764 * \param rpDst reference to pointer for the prediction sample array 765 * \param dstStride the stride of the prediction sample array 766 * \param width the width of the block 767 * \param height the height of the block 768 * \param channelType type of pel array (luma, chroma) 769 * \param format chroma format 764 770 * 765 771 * This function derives the prediction samples for planar mode (intra coding). … … 821 827 * \param pSrc pointer to reconstructed sample array 822 828 * \param iSrcStride the stride of the reconstructed sample array 823 * \param rpDst reference to pointer for the prediction sample array829 * \param pDst reference to pointer for the prediction sample array 824 830 * \param iDstStride the stride of the prediction sample array 825 831 * \param iWidth the width of the block 826 832 * \param iHeight the height of the block 833 * \param channelType type of pel array (luma, chroma) 827 834 * 828 835 * This function performs filtering left and top edges of the prediction samples for DC mode (intra coding). -
branches/SHM-dev/source/Lib/TLibCommon/TComSampleAdaptiveOffset.cpp
r1259 r1260 649 649 /** PCM LF disable process. 650 650 * \param pcPic picture (TComPic) pointer 651 * \returns Void652 651 * 653 652 * \note Replace filtered sample values of PCM mode blocks with the transmitted and reconstructed ones. … … 660 659 /** Picture-level PCM restoration. 661 660 * \param pcPic picture (TComPic) pointer 662 * \returns Void663 661 */ 664 662 Void TComSampleAdaptiveOffset::xPCMRestoration(TComPic* pcPic) … … 678 676 679 677 /** PCM CU restoration. 680 * \param pcCU pointer to current CU 681 * \param uiAbsPartIdx part index 682 * \param uiDepth CU depth 683 * \returns Void 678 * \param pcCU pointer to current CU 679 * \param uiAbsZorderIdx part index 680 * \param uiDepth CU depth 684 681 */ 685 682 Void TComSampleAdaptiveOffset::xPCMCURestoration ( TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth ) … … 720 717 721 718 /** PCM sample restoration. 722 * \param pcCU pointer to current CU 723 * \param uiAbsPartIdx part index 724 * \param uiDepth CU depth 725 * \param ttText texture component type 726 * \returns Void 719 * \param pcCU pointer to current CU 720 * \param uiAbsZorderIdx part index 721 * \param uiDepth CU depth 722 * \param compID texture component type 727 723 */ 728 724 Void TComSampleAdaptiveOffset::xPCMSampleRestoration (TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth, const ComponentID compID) -
branches/SHM-dev/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
r1259 r1260 86 86 Void xPCMRestoration(TComPic* pcPic); 87 87 Void xPCMCURestoration ( TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth ); 88 Void xPCMSampleRestoration (TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth, ComponentID component);88 Void xPCMSampleRestoration (TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth, const ComponentID compID); 89 89 protected: 90 90 UInt m_offsetStepLog2[MAX_NUM_COMPONENT]; //offset step -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1259 r1260 1821 1821 } 1822 1822 1823 /** get AC and DC values for weighted pred 1824 * \param *wp 1825 * \returns Void 1826 */ 1823 //! get AC and DC values for weighted pred 1827 1824 Void TComSlice::getWpAcDcParam(WPACDCParam *&wp) 1828 1825 { … … 1830 1827 } 1831 1828 1832 /** init AC and DC values for weighted pred 1833 * \returns Void 1834 */ 1829 //! init AC and DC values for weighted pred 1835 1830 Void TComSlice::initWpAcDcParam() 1836 1831 { … … 1842 1837 } 1843 1838 1844 /** get WP tables for weighted pred 1845 * \param RefPicList 1846 * \param iRefIdx 1847 * \param *&WPScalingParam 1848 * \returns Void 1849 */ 1839 //! get tables for weighted prediction 1850 1840 Void TComSlice::getWpScaling( RefPicList e, Int iRefIdx, WPScalingParam *&wp ) 1851 1841 { … … 1854 1844 } 1855 1845 1856 /** reset Default WP tables settings : no weight. 1857 * \param WPScalingParam 1858 * \returns Void 1859 */ 1846 //! reset Default WP tables settings : no weight. 1860 1847 Void TComSlice::resetWpScaling() 1861 1848 { … … 1877 1864 } 1878 1865 1879 /** init WP table 1880 * \returns Void 1881 */ 1866 //! init WP table 1882 1867 Void TComSlice::initWpScaling(const TComSPS *sps) 1883 1868 { … … 2397 2382 } 2398 2383 2399 /** set the reference idc value at uiBufferNum entry to the value of iRefIdc 2400 * \param uiBufferNum 2401 * \param iRefIdc 2402 * \returns Void 2403 */ 2384 //! set the reference idc value at uiBufferNum entry to the value of iRefIdc 2404 2385 Void TComReferencePictureSet::setRefIdc(Int bufferNum, Int refIdc) 2405 2386 { … … 2407 2388 } 2408 2389 2409 /** get the reference idc value at uiBufferNum 2410 * \param uiBufferNum 2411 * \returns Int 2412 */ 2390 //! get the reference idc value at uiBufferNum 2413 2391 Int TComReferencePictureSet::getRefIdc(Int bufferNum) const 2414 2392 { … … 2533 2511 2534 2512 /** get scaling matrix from RefMatrixID 2535 * \param sizeId size index2536 * \param Index of input matrix2537 * \param Index of reference matrix2513 * \param sizeId size index 2514 * \param listId index of input matrix 2515 * \param refListId index of reference matrix 2538 2516 */ 2539 2517 Void TComScalingList::processRefMatrix( UInt sizeId, UInt listId , UInt refListId ) … … 2771 2749 /** process of default matrix 2772 2750 * \param sizeId size index 2773 * \param Index of input matrix2751 * \param listId index of input matrix 2774 2752 */ 2775 2753 Void TComScalingList::processDefaultMatrix(UInt sizeId, UInt listId) -
branches/SHM-dev/source/Lib/TLibCommon/TComTrQuant.cpp
r1259 r1260 392 392 * \param dst output data (transform coefficients) 393 393 * \param shift specifies right shift after 1D transform 394 * \param line 394 395 */ 395 396 Void partialButterfly4(TCoeff *src, TCoeff *dst, Int shift, Int line) … … 477 478 * \param dst output data (residual) 478 479 * \param shift specifies right shift after 1D transform 480 * \param line 481 * \param outputMinimum minimum for clipping 482 * \param outputMaximum maximum for clipping 479 483 */ 480 484 Void partialButterflyInverse4(TCoeff *src, TCoeff *dst, Int shift, Int line, const TCoeff outputMinimum, const TCoeff outputMaximum) … … 507 511 * \param dst output data (transform coefficients) 508 512 * \param shift specifies right shift after 1D transform 513 * \param line 509 514 */ 510 515 Void partialButterfly8(TCoeff *src, TCoeff *dst, Int shift, Int line) … … 548 553 * \param dst output data (residual) 549 554 * \param shift specifies right shift after 1D transform 555 * \param line 556 * \param outputMinimum minimum for clipping 557 * \param outputMaximum maximum for clipping 550 558 */ 551 559 Void partialButterflyInverse8(TCoeff *src, TCoeff *dst, Int shift, Int line, const TCoeff outputMinimum, const TCoeff outputMaximum) … … 589 597 * \param dst output data (transform coefficients) 590 598 * \param shift specifies right shift after 1D transform 599 * \param line 591 600 */ 592 601 Void partialButterfly16(TCoeff *src, TCoeff *dst, Int shift, Int line) … … 644 653 645 654 /** 16x16 inverse transform implemented using partial butterfly structure (1D) 646 * \param src input data (transform coefficients) 647 * \param dst output data (residual) 648 * \param shift specifies right shift after 1D transform 655 * \param src input data (transform coefficients) 656 * \param dst output data (residual) 657 * \param shift specifies right shift after 1D transform 658 * \param line 659 * \param outputMinimum minimum for clipping 660 * \param outputMaximum maximum for clipping 649 661 */ 650 662 Void partialButterflyInverse16(TCoeff *src, TCoeff *dst, Int shift, Int line, const TCoeff outputMinimum, const TCoeff outputMaximum) … … 701 713 * \param dst output data (transform coefficients) 702 714 * \param shift specifies right shift after 1D transform 715 * \param line 703 716 */ 704 717 Void partialButterfly32(TCoeff *src, TCoeff *dst, Int shift, Int line) … … 774 787 * \param dst output data (residual) 775 788 * \param shift specifies right shift after 1D transform 789 * \param line 790 * \param outputMinimum minimum for clipping 791 * \param outputMaximum maximum for clipping 776 792 */ 777 793 Void partialButterflyInverse32(TCoeff *src, TCoeff *dst, Int shift, Int line, const TCoeff outputMinimum, const TCoeff outputMaximum) … … 841 857 842 858 /** MxN forward transform (2D) 843 * \param block input data (residual) 844 * \param coeff output data (transform coefficients) 845 * \param iWidth input data (width of transform) 846 * \param iHeight input data (height of transform) 859 * \param bitDepth [in] bit depth 860 * \param block [in] residual block 861 * \param coeff [out] transform coefficients 862 * \param iWidth [in] width of transform 863 * \param iHeight [in] height of transform 864 * \param useDST [in] 865 * \param maxTrDynamicRange [in] 866 847 867 */ 848 868 Void xTrMxN(Int bitDepth, TCoeff *block, TCoeff *coeff, Int iWidth, Int iHeight, Bool useDST, const Int maxTrDynamicRange) … … 905 925 906 926 /** MxN inverse transform (2D) 907 * \param coeff input data (transform coefficients) 908 * \param block output data (residual) 909 * \param iWidth input data (width of transform) 910 * \param iHeight input data (height of transform) 927 * \param bitDepth [in] bit depth 928 * \param coeff [in] transform coefficients 929 * \param block [out] residual block 930 * \param iWidth [in] width of transform 931 * \param iHeight [in] height of transform 932 * \param useDST [in] 933 * \param maxTrDynamicRange [in] 911 934 */ 912 935 Void xITrMxN(Int bitDepth, TCoeff *coeff, TCoeff *block, Int iWidth, Int iHeight, Bool useDST, const Int maxTrDynamicRange) … … 1832 1855 1833 1856 /** Wrapper function between HM interface and core NxN forward transform (2D) 1857 * \param compID colour component ID 1858 * \param useDST 1834 1859 * \param piBlkResi input data (residual) 1860 * \param uiStride stride of input residual data 1835 1861 * \param psCoeff output data (transform coefficients) 1836 * \param uiStride stride of input residual data 1837 * \param iSize transform size (iSize x iSize) 1838 * \param uiMode is Intra Prediction mode used in Mode-Dependent DCT/DST only 1862 * \param iWidth transform width 1863 * \param iHeight transform height 1839 1864 */ 1840 1865 Void TComTrQuant::xT( const ComponentID compID, Bool useDST, Pel* piBlkResi, UInt uiStride, TCoeff* psCoeff, Int iWidth, Int iHeight ) … … 1865 1890 1866 1891 /** Wrapper function between HM interface and core NxN inverse transform (2D) 1892 * \param compID colour component ID 1893 * \param useDST 1867 1894 * \param plCoef input data (transform coefficients) 1868 1895 * \param pResidual output data (residual) 1869 1896 * \param uiStride stride of input residual data 1870 * \param i Size transform size (iSize x iSize)1871 * \param uiMode is Intra Prediction mode used in Mode-Dependent DCT/DST only1897 * \param iWidth transform width 1898 * \param iHeight transform height 1872 1899 */ 1873 1900 Void TComTrQuant::xIT( const ComponentID compID, Bool useDST, TCoeff* plCoef, Pel* pResidual, UInt uiStride, Int iWidth, Int iHeight ) … … 1907 1934 /** Wrapper function between HM interface and core 4x4 transform skipping 1908 1935 * \param piBlkResi input data (residual) 1936 * \param uiStride stride of input residual data 1909 1937 * \param psCoeff output data (transform coefficients) 1910 * \param uiStride stride of input residualdata1911 * \param iSize transform size (iSize x iSize)1938 * \param rTu reference to transform data 1939 * \param component colour component 1912 1940 */ 1913 1941 Void TComTrQuant::xTransformSkip( Pel* piBlkResi, UInt uiStride, TCoeff* psCoeff, TComTU &rTu, const ComponentID component ) … … 1955 1983 * \param pResidual output data (residual) 1956 1984 * \param uiStride stride of input residual data 1957 * \param iSize transform size (iSize x iSize) 1985 * \param rTu reference to transform data 1986 * \param component colour component ID 1958 1987 */ 1959 1988 Void TComTrQuant::xITransformSkip( TCoeff* plCoef, Pel* pResidual, UInt uiStride, TComTU &rTu, const ComponentID component ) … … 1999 2028 2000 2029 /** RDOQ with CABAC 2001 * \param pcCU pointer to coding unit structure2030 * \param rTu reference to transform data 2002 2031 * \param plSrcCoeff pointer to input buffer 2003 2032 * \param piDstCoeff reference to pointer to output buffer 2004 * \param uiWidth block width 2005 * \param uiHeight block height 2033 * \param piArlDstCoeff 2006 2034 * \param uiAbsSum reference to absolute sum of quantized transform coefficient 2007 * \param eTType plane type / luminance or chrominance2008 * \param uiAbsPartIdx absolute partition index2009 * \returns Void 2035 * \param compID colour component ID 2036 * \param cQP reference to quantization parameters 2037 2010 2038 * Rate distortion optimized quantization for entropy 2011 2039 * coding engines using probability models like CABAC … … 2558 2586 * \param uiCGPosX column of current coefficient group 2559 2587 * \param uiCGPosY row of current coefficient group 2560 * \param width width of the block2561 * \param height height of the block2588 * \param widthInGroups width of the block 2589 * \param heightInGroups height of the block 2562 2590 * \returns pattern for current coefficient group 2563 2591 */ … … 2590 2618 /** Context derivation process of coeff_abs_significant_flag 2591 2619 * \param patternSigCtx pattern for current coefficient group 2592 * \param codingParameters coding par meters for the TU (includes the scan)2620 * \param codingParameters coding parameters for the TU (includes the scan) 2593 2621 * \param scanPosition current position in scan order 2594 2622 * \param log2BlockWidth log2 width of the block 2595 2623 * \param log2BlockHeight log2 height of the block 2596 * \param ChannelType channel type (CHANNEL_TYPE_LUMA/CHROMA)2624 * \param chanType channel type (CHANNEL_TYPE_LUMA/CHROMA) 2597 2625 * \returns ctxInc for current scan position 2598 2626 */ … … 2706 2734 * \param ui16CtxNumAbs current ctxInc for coeff_abs_level_greater2 (remaining bins of coeff_abs_level_minus1 in AVC) 2707 2735 * \param ui16AbsGoRice current Rice parameter for coeff_abs_level_minus3 2736 * \param c1Idx 2737 * \param c2Idx 2708 2738 * \param iQBits quantization step size 2709 * \param dTemp correction factor2739 * \param errorScale 2710 2740 * \param bLast indicates if the coefficient is the last significant 2741 * \param useLimitedPrefixLength 2742 * \param channelType texture channel type (luma/chroma) 2711 2743 * \returns best quantized transform level for given scan position 2712 2744 * This method calculates the best quantized transform level for a given scan position. … … 2775 2807 * \param ui16CtxNumAbs current ctxInc for coeff_abs_level_greater2 (remaining bins of coeff_abs_level_minus1 in AVC) 2776 2808 * \param ui16AbsGoRice Rice parameter for coeff_abs_level_minus3 2809 * \param c1Idx 2810 * \param c2Idx 2811 * \param useLimitedPrefixLength 2812 * \param channelType texture channel type (luma/chroma) 2777 2813 * \returns cost of given absolute transform level 2778 2814 */ … … 2862 2898 * \param uiPosX X coordinate of the last significant coefficient 2863 2899 * \param uiPosY Y coordinate of the last significant coefficient 2900 * \param component colour component ID 2864 2901 * \returns cost of last significant coefficient 2865 2902 */ … … 2887 2924 } 2888 2925 2889 /** Calculates the cost for specific absolute transform level2890 * \param uiAbsLevel scaled quantized level2891 * \param ui16CtxNumOne current ctxInc for coeff_abs_level_greater1 (1st bin of coeff_abs_level_minus1 in AVC)2892 * \param ui16CtxNumAbs current ctxInc for coeff_abs_level_greater2 (remaining bins of coeff_abs_level_minus1 in AVC)2893 * \param ui16CtxBase current global offset for coeff_abs_level_greater1 and coeff_abs_level_greater22894 * \returns cost of given absolute transform level2895 */2896 2926 __inline Double TComTrQuant::xGetRateSigCoef ( UShort uiSignificance, 2897 2927 UShort ui16CtxNumSig ) const … … 2919 2949 /** Context derivation process of coeff_abs_significant_flag 2920 2950 * \param uiSigCoeffGroupFlag significance map of L1 2921 * \param uiBlkX column of current scan position 2922 * \param uiBlkY row of current scan position 2923 * \param uiLog2BlkSize log2 value of block size 2951 * \param uiCGPosX column of current scan position 2952 * \param uiCGPosY row of current scan position 2953 * \param widthInGroups width of the block 2954 * \param heightInGroups height of the block 2924 2955 * \returns ctxInc for current scan position 2925 2956 */ … … 2947 2978 2948 2979 /** set quantized matrix coefficient for encode 2949 * \param scalingList quantaized matrix address 2980 * \param scalingList quantized matrix address 2981 * \param format chroma format 2950 2982 */ 2951 2983 Void TComTrQuant::setScalingList(TComScalingList *scalingList, const ChromaFormat format) … … 2968 3000 } 2969 3001 /** set quantized matrix coefficient for decode 2970 * \param scalingList quantaized matrix address 3002 * \param scalingList quantized matrix address 3003 * \param format chroma format 2971 3004 */ 2972 3005 Void TComTrQuant::setScalingListDec(const TComScalingList &scalingList, const ChromaFormat format) … … 2988 3021 /** set error scale coefficients 2989 3022 * \param list List ID 2990 * \param uiSize Size2991 * \param uiQPQuantization parameter3023 * \param size Size 3024 * \param qp Quantization parameter 2992 3025 */ 2993 3026 Void TComTrQuant::setErrScaleCoeff(UInt list, UInt size, Int qp) … … 3016 3049 3017 3050 /** set quantized matrix coefficient for encode 3018 * \param scalingList quant aized matrix address3051 * \param scalingList quantized matrix address 3019 3052 * \param listId List index 3020 3053 * \param sizeId size index 3021 * \param uiQP Quantization parameter 3054 * \param qp Quantization parameter 3055 * \param format chroma format 3022 3056 */ 3023 3057 Void TComTrQuant::xSetScalingListEnc(TComScalingList *scalingList, UInt listId, UInt sizeId, Int qp, const ChromaFormat format) … … 3042 3076 /** set quantized matrix coefficient for decode 3043 3077 * \param scalingList quantaized matrix address 3044 * \param list List index 3045 * \param size size index 3046 * \param uiQP Quantization parameter 3078 * \param listId List index 3079 * \param sizeId size index 3080 * \param qp Quantization parameter 3081 * \param format chroma format 3047 3082 */ 3048 3083 Void TComTrQuant::xSetScalingListDec(const TComScalingList &scalingList, UInt listId, UInt sizeId, Int qp, const ChromaFormat format) … … 3088 3123 /** set flat matrix value to quantized coefficient 3089 3124 * \param list List ID 3090 * \param uiQP Quantization parameter 3091 * \param uiSize Size 3125 * \param size size index 3126 * \param qp Quantization parameter 3127 * \param format chroma format 3092 3128 */ 3093 3129 Void TComTrQuant::xsetFlatScalingList(UInt list, UInt size, Int qp, const ChromaFormat format) -
branches/SHM-dev/source/Lib/TLibCommon/TComWeightPrediction.cpp
r1259 r1260 62 62 63 63 64 /** weighted averaging for bi-pred 65 * \param TComYuv* pcYuvSrc0 66 * \param TComYuv* pcYuvSrc1 67 * \param iPartUnitIdx 68 * \param iWidth 69 * \param iHeight 70 * \param WPScalingParam *wp0 71 * \param WPScalingParam *wp1 72 * \param TComYuv* rpcYuvDst 73 * \returns Void 74 */ 64 //! weighted averaging for bi-pred 75 65 Void TComWeightPrediction::addWeightBi( const TComYuv *pcYuvSrc0, 76 66 const TComYuv *pcYuvSrc1, … … 137 127 138 128 139 /** weighted averaging for uni-pred 140 * \param TComYuv* pcYuvSrc0 141 * \param iPartUnitIdx 142 * \param iWidth 143 * \param iHeight 144 * \param WPScalingParam *wp0 145 * \param TComYuv* rpcYuvDst 146 * \returns Void 147 */ 129 //! weighted averaging for uni-pred 148 130 Void TComWeightPrediction::addWeightUni( const TComYuv *const pcYuvSrc0, 149 131 const UInt iPartUnitIdx, … … 200 182 // getWpScaling() 201 183 //======================================================= 202 /** derivation of wp tables 203 * \param TComDataCU* pcCU 204 * \param iRefIdx0 205 * \param iRefIdx1 206 * \param WPScalingParam *&wp0 207 * \param WPScalingParam *&wp1 208 * \param ibdi 209 * \returns Void 210 */ 184 //! derivation of wp tables 211 185 Void TComWeightPrediction::getWpScaling( TComDataCU *const pcCU, 212 186 const Int iRefIdx0, … … 287 261 288 262 289 /** weighted prediction for bi-pred 290 * \param TComDataCU* pcCU 291 * \param TComYuv* pcYuvSrc0 292 * \param TComYuv* pcYuvSrc1 293 * \param iRefIdx0 294 * \param iRefIdx1 295 * \param uiPartIdx 296 * \param iWidth 297 * \param iHeight 298 * \param TComYuv* rpcYuvDst 299 * \returns Void 300 */ 263 //! weighted prediction for bi-pred 301 264 Void TComWeightPrediction::xWeightedPredictionBi( TComDataCU *const pcCU, 302 265 const TComYuv *const pcYuvSrc0, … … 335 298 336 299 337 /** weighted prediction for uni-pred 338 * \param TComDataCU* pcCU 339 * \param TComYuv* pcYuvSrc 340 * \param uiPartAddr 341 * \param iWidth 342 * \param iHeight 343 * \param eRefPicList 344 * \param TComYuv* pcYuvPred 345 * \param iPartIdx 346 * \param iRefIdx 347 * \returns Void 348 */ 300 //! weighted prediction for uni-pred 349 301 Void TComWeightPrediction::xWeightedPredictionUni( TComDataCU *const pcCU, 350 302 const TComYuv *const pcYuvSrc, -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1259 r1260 2408 2408 // ==================================================================================================================== 2409 2409 2410 /** parse explicit wp tables 2411 * \param TComSlice* pcSlice 2412 * \returns Void 2413 */ 2410 //! parse explicit wp tables 2414 2411 Void TDecCavlc::xParsePredWeightTable( TComSlice* pcSlice, const TComSPS *sps ) 2415 2412 { -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.cpp
r1259 r1260 92 92 93 93 /** 94 \param uiMaxDepth total number of allowable depth 95 \param uiMaxWidth largest CU width 96 \param uiMaxHeight largest CU height 94 \param uiMaxDepth total number of allowable depth 95 \param uiMaxWidth largest CU width 96 \param uiMaxHeight largest CU height 97 \param chromaFormatIDC chroma format 97 98 */ 98 99 Void TDecCu::create( UInt uiMaxDepth, UInt uiMaxWidth, UInt uiMaxHeight, ChromaFormat chromaFormatIDC ) … … 146 147 // ==================================================================================================================== 147 148 148 /** \param pcCU pointer of CU data 149 \param ruiIsLast last data? 149 /** 150 Parse a CTU. 151 \param pCtu [in/out] pointer to CTU data structure 152 \param isLastCtuOfSliceSegment [out] true, if last CTU of the slice segment 150 153 */ 151 154 Void TDecCu::decodeCtu( TComDataCU* pCtu, Bool& isLastCtuOfSliceSegment ) … … 169 172 } 170 173 171 /** \param pcCU pointer of CU data 174 /** 175 Decoding process for a CTU. 176 \param pCtu [in/out] pointer to CTU data structure 172 177 */ 173 178 Void TDecCu::decompressCtu( TComDataCU* pCtu ) … … 180 185 // ==================================================================================================================== 181 186 182 /**decode end-of-slice flag 183 * \param pcCU 184 * \param uiAbsPartIdx 185 * \param uiDepth 186 * \returns Bool 187 */ 187 //! decode end-of-slice flag 188 188 Bool TDecCu::xDecodeSliceEnd( TComDataCU* pcCU, UInt uiAbsPartIdx ) 189 189 { … … 202 202 } 203 203 204 /** decode CU block recursively 205 * \param pcCU 206 * \param uiAbsPartIdx 207 * \param uiDepth 208 * \returns Void 209 */ 210 204 //! decode CU block recursively 211 205 Void TDecCu::xDecodeCU( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &isLastCtuOfSliceSegment) 212 206 { … … 744 738 745 739 746 /** Function for deriving recontructed PU/CU chroma samples with QTree structure 747 * \param pcCU pointer of current CU 748 * \param uiTrDepth current tranform split depth 749 * \param uiAbsPartIdx part index 740 /** Function for deriving reconstructed PU/CU chroma samples with QTree structure 750 741 * \param pcRecoYuv pointer to reconstructed sample arrays 751 742 * \param pcPredYuv pointer to prediction sample arrays 752 743 * \param pcResiYuv pointer to residue sample arrays 744 * \param chType texture channel type (luma/chroma) 745 * \param rTu reference to transform data 753 746 * 754 \ This function der vies recontructed PU/CU chroma samples with QTree recursive structure747 \ This function derives reconstructed PU/CU chroma samples with QTree recursive structure 755 748 */ 756 749 … … 824 817 * \param uiWidth CU width 825 818 * \param uiHeight CU height 826 * \param ttText texture component type819 * \param compID colour component ID 827 820 * \returns Void 828 821 */ … … 866 859 867 860 /** Function for filling the PCM buffer of a CU using its reconstructed sample array 868 * \param pcCU pointer to current CU 869 * \param uiDepth CU Depth 870 * \returns Void 861 * \param pCU pointer to current CU 862 * \param depth CU Depth 871 863 */ 872 864 Void TDecCu::xFillPCMBuffer(TComDataCU* pCU, UInt depth) -
branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.cpp
r1259 r1260 610 610 611 611 612 /** decode coefficients 613 * \param pcCU 614 * \param uiAbsPartIdx 615 * \param uiDepth 616 * \param uiWidth 617 * \param uiHeight 618 * \returns Void 619 */ 612 //! decode coefficients 620 613 Void TDecEntropy::decodeCoeff( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool& bCodeDQP, Bool& isChromaQpAdjCoded ) 621 614 { -
branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.cpp
r1259 r1260 292 292 293 293 /** Parsing of coeff_abs_level_remaing 294 * \param ruiSymbol reference to coeff_abs_level_remaing 295 * \param ruiParam reference to parameter 296 * \returns Void 294 * \param rSymbol reference to coeff_abs_level_remaing 295 * \param rParam reference to parameter 296 * \param useLimitedPrefixLength 297 * \param channelType 297 298 */ 298 299 #if RExt__DECODER_DEBUG_BIT_STATISTICS … … 1138 1139 * \param width Block width 1139 1140 * \param height Block height 1140 * \param eTType plane type / luminance or chrominance1141 * \param component chroma compinent ID 1141 1142 * \param uiScanIdx scan type (zig-zag, hor, ver) 1142 1143 * -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1259 r1260 1457 1457 1458 1458 /** 1459 - write tiles and wavefront substreams sizes for the slice header.1460 .1461 \param pcSlice Where we findthe substream size information.1459 * Write tiles and wavefront substreams sizes for the slice header (entry points). 1460 * 1461 * \param pSlice TComSlice structure that contains the substream size information. 1462 1462 */ 1463 1463 Void TEncCavlc::codeTilesWPPEntryPoint( TComSlice* pSlice ) … … 1655 1655 // ==================================================================================================================== 1656 1656 1657 /** code explicit wp tables 1658 * \param TComSlice* pcSlice 1659 * \returns Void 1660 */ 1657 //! Code weighted prediction tables 1661 1658 Void TEncCavlc::xCodePredWeightTable( TComSlice* pcSlice ) 1662 1659 { … … 1781 1778 /** code DPCM 1782 1779 * \param scalingList quantization matrix information 1783 * \param sizeId csize index1784 * \param listId clist index1780 * \param sizeId size index 1781 * \param listId list index 1785 1782 */ 1786 1783 Void TEncCavlc::xCodeScalingList(const TComScalingList* scalingList, UInt sizeId, UInt listId) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCu.cpp
r1259 r1260 55 55 56 56 /** 57 \param u iTotalDepth total number of allowable depth57 \param uhTotalDepth total number of allowable depth 58 58 \param uiMaxWidth largest CU width 59 59 \param uiMaxHeight largest CU height 60 \param chromaFormat chroma format 60 61 */ 61 62 Void TEncCu::create(UChar uhTotalDepth, UInt uiMaxWidth, UInt uiMaxHeight, ChromaFormat chromaFormat) … … 231 232 // ==================================================================================================================== 232 233 233 /** \param rpcCU pointer of CU data class 234 /** 235 \param pCtu pointer of CU data class 234 236 */ 235 237 Void TEncCu::compressCtu( TComDataCU* pCtu ) … … 264 266 #endif 265 267 } 266 /** \param p cCUpointer of CU data class268 /** \param pCtu pointer of CU data class 267 269 */ 268 270 Void TEncCu::encodeCtu ( TComDataCU* pCtu ) … … 285 287 // Protected member functions 286 288 // ==================================================================================================================== 287 /** Derive small set of test modes for AMP encoder speed-up 288 *\param rpcBestCU 289 *\param eParentPartSize 290 *\param bTestAMP_Hor 291 *\param bTestAMP_Ver 292 *\param bTestMergeAMP_Hor 293 *\param bTestMergeAMP_Ver 294 *\returns Void 295 */ 289 //! Derive small set of test modes for AMP encoder speed-up 296 290 #if AMP_ENC_SPEEDUP 297 291 #if AMP_MRG … … 368 362 // ==================================================================================================================== 369 363 /** Compress a CU block recursively with enabling sub-CTU-level delta QP 370 *\param rpcBestCU 371 *\param rpcTempCU 372 *\param uiDepth 373 *\returns Void 374 * 375 *- for loop of QP value to compress the current CU with all possible QP 364 * - for loop of QP value to compress the current CU with all possible QP 376 365 */ 377 366 #if AMP_ENC_SPEEDUP … … 1285 1274 * \param rpcBestCU 1286 1275 * \param rpcTempCU 1287 * \ returns Void1276 * \param earlyDetectionSkipMode 1288 1277 */ 1289 1278 #if HIGHER_LAYER_IRAP_SKIP_FLAG … … 1600 1589 * \param rpcBestCU 1601 1590 * \param rpcTempCU 1602 * \ returns Void1591 * \param uiDepth 1603 1592 */ 1604 1593 Void TEncCu::xCheckBestMode( TComDataCU*& rpcBestCU, TComDataCU*& rpcTempCU, UInt uiDepth DEBUG_STRING_FN_DECLARE(sParent) DEBUG_STRING_FN_DECLARE(sTest) DEBUG_STRING_PASS_INTO(Bool bAddSizeInfo) ) … … 1694 1683 1695 1684 /** Function for filling the PCM buffer of a CU using its original sample array 1696 * \param pcCU pointer to current CU 1697 * \param pcOrgYuv pointer to original sample array 1698 * \returns Void 1685 * \param pCU pointer to current CU 1686 * \param pOrgYuv pointer to original sample array 1699 1687 */ 1700 1688 Void TEncCu::xFillPCMBuffer ( TComDataCU* pCU, TComYuv* pOrgYuv ) … … 1755 1743 } 1756 1744 1757 /** Collect ARL statistics from one CTU 1758 * \param pcCU 1759 */ 1745 //! Collect ARL statistics from one CTU 1760 1746 Void TEncCu::xCtuCollectARLStats(TComDataCU* pCtu ) 1761 1747 { 1762 Double cSum[ LEVEL_RANGE + 1 ]; //: the sum of DCT coefficients corresponding to data type and quantization output1763 UInt numSamples[ LEVEL_RANGE + 1 ]; //: the number of coefficients corresponding to data type and quantization output1748 Double cSum[ LEVEL_RANGE + 1 ]; //: the sum of DCT coefficients corresponding to data type and quantization output 1749 UInt numSamples[ LEVEL_RANGE + 1 ]; //: the number of coefficients corresponding to data type and quantization output 1764 1750 1765 1751 TCoeff* pCoeffY = pCtu->getCoeff(COMPONENT_Y); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.cpp
r1259 r1260 126 126 } 127 127 128 /** encode merge flag 129 * \param pcCU 130 * \param uiAbsPartIdx 131 * \returns Void 132 */ 128 //! encode merge flag 133 129 Void TEncEntropy::encodeMergeFlag( TComDataCU* pcCU, UInt uiAbsPartIdx ) 134 130 { … … 137 133 } 138 134 139 /** encode merge index 140 * \param pcCU 141 * \param uiAbsPartIdx 142 * \param bRD 143 * \returns Void 144 */ 135 //! encode merge index 145 136 Void TEncEntropy::encodeMergeIndex( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 146 137 { … … 154 145 155 146 156 /** encode prediction mode 157 * \param pcCU 158 * \param uiAbsPartIdx 159 * \param bRD 160 * \returns Void 161 */ 147 //! encode prediction mode 162 148 Void TEncEntropy::encodePredMode( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 163 149 { … … 175 161 } 176 162 177 // Split mode163 //! encode split flag 178 164 Void TEncEntropy::encodeSplitFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD ) 179 165 { … … 186 172 } 187 173 188 /** encode partition size 189 * \param pcCU 190 * \param uiAbsPartIdx 191 * \param uiDepth 192 * \param bRD 193 * \returns Void 194 */ 174 //! encode partition size 195 175 Void TEncEntropy::encodePartSize( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool bRD ) 196 176 { … … 205 185 206 186 /** Encode I_PCM information. 207 * \param pcCU pointer to CU 208 * \param uiAbsPartIdx CU index 209 * \param bRD flag indicating estimation or encoding 210 * \returns Void 187 * \param pcCU pointer to CU 188 * \param uiAbsPartIdx CU index 189 * \param bRD flag indicating estimation or encoding 211 190 */ 212 191 Void TEncEntropy::encodeIPCMInfo( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) … … 429 408 430 409 431 // Intra direction for Luma410 //! encode intra direction for luma 432 411 Void TEncEntropy::encodeIntraDirModeLuma ( TComDataCU* pcCU, UInt absPartIdx, Bool isMultiplePU ) 433 412 { … … 436 415 437 416 438 // Intra direction for Chroma417 //! encode intra direction for chroma 439 418 Void TEncEntropy::encodeIntraDirModeChroma( TComDataCU* pcCU, UInt uiAbsPartIdx ) 440 419 { … … 484 463 } 485 464 486 /** encode motion information for every PU block 487 * \param pcCU 488 * \param uiAbsPartIdx 489 * \param bRD 490 * \returns Void 491 */ 465 //! encode motion information for every PU block 492 466 Void TEncEntropy::encodePUWise( TComDataCU* pcCU, UInt uiAbsPartIdx ) 493 467 { … … 555 529 } 556 530 557 /** encode reference frame index for a PU block 558 * \param pcCU 559 * \param uiAbsPartIdx 560 * \param eRefList 561 * \returns Void 562 */ 531 //! encode reference frame index for a PU block 563 532 Void TEncEntropy::encodeRefFrmIdxPU( TComDataCU* pcCU, UInt uiAbsPartIdx, RefPicList eRefList ) 564 533 { … … 578 547 } 579 548 580 /** encode motion vector difference for a PU block 581 * \param pcCU 582 * \param uiAbsPartIdx 583 * \param eRefList 584 * \returns Void 585 */ 549 //! encode motion vector difference for a PU block 586 550 Void TEncEntropy::encodeMvdPU( TComDataCU* pcCU, UInt uiAbsPartIdx, RefPicList eRefList ) 587 551 { … … 644 608 } 645 609 646 /** encode chroma qp adjustment 647 * \returns Void 648 */ 610 //! encode chroma qp adjustment 649 611 Void TEncEntropy::encodeChromaQpAdjustment( TComDataCU* cu, UInt absPartIdx, Bool inRd ) 650 612 { … … 659 621 // texture 660 622 661 /** encode coefficients 662 * \param pcCU 663 * \param uiAbsPartIdx 664 * \param uiDepth 665 * \param uiWidth 666 * \param uiHeight 667 */ 623 //! encode coefficients 668 624 Void TEncEntropy::encodeCoeff( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool& bCodeDQP, Bool& codeChromaQpAdj ) 669 625 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1259 r1260 3761 3761 /** Function for deciding the nal_unit_type. 3762 3762 * \param pocCurr POC of the current picture 3763 * \returns the nal unit type of the picture 3763 * \param lastIDR POC of the last IDR picture 3764 * \param isField true to indicate field coding 3765 * \returns the NAL unit type of the picture 3764 3766 * This function checks the configuration and returns the appropriate nal_unit_type for the picture. 3765 3767 */ -
branches/SHM-dev/source/Lib/TLibEncoder/TEncPic.cpp
r1259 r1260 117 117 118 118 /** Initialize member variables 119 * \param iWidth Picture width120 * \param iHeight Picture height119 * \param sps reference to used SPS 120 * \param pps reference to used PPS 121 121 * \param uiMaxWidth Maximum CU width 122 122 * \param uiMaxHeight Maximum CU height … … 124 124 * \param uiMaxAQDepth Maximum depth of unit block for assigning QP adaptive to local image characteristics 125 125 * \param bIsVirtual 126 * \return Void127 126 */ 128 127 129 128 #if SVC_EXTENSION 129 // * \param vps reference to used VPS 130 130 Void TEncPic::create( const TComVPS& vps, const TComSPS &sps, const TComPPS &pps, UInt uiMaxWidth, UInt uiMaxHeight, UInt uiMaxDepth, UInt uiMaxAQDepth, Bool bIsVirtual, const UInt layerId ) 131 131 { … … 138 138 { 139 139 TComPic::create( sps, pps, uiMaxWidth, uiMaxHeight, uiMaxDepth, bIsVirtual ); 140 141 140 const Int iWidth = sps.getPicWidthInLumaSamples(); 142 141 const Int iHeight = sps.getPicHeightInLumaSamples(); … … 153 152 } 154 153 155 /** Clean up 156 * \return Void 157 */ 154 //! Clean up 158 155 Void TEncPic::destroy() 159 156 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSampleAdaptiveOffset.cpp
r1259 r1260 46 46 47 47 48 /** rounding with IBDI 49 * \param x 50 */ 48 //! rounding with IBDI 51 49 inline Double xRoundIbdi2(Int bitDepth, Double x) 52 50 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp
r1259 r1260 335 335 336 336 /** Coding of coeff_abs_level_minus3 337 * \param uiSymbol value of coeff_abs_level_minus3 338 * \param ruiGoRiceParam reference to Rice parameter 339 * \returns Void 337 * \param symbol value of coeff_abs_level_minus3 338 * \param rParam reference to Rice parameter 339 * \param useLimitedPrefixLength 340 * \param channelType plane type (luma/chroma) 340 341 */ 341 342 Void TEncSbac::xWriteCoefRemainExGolomb ( UInt symbol, UInt &rParam, const Bool useLimitedPrefixLength, const ChannelType channelType ) … … 1112 1113 1113 1114 /** Encode (X,Y) position of the last significant coefficient 1114 * \param uiPosX X component of last coefficient1115 * \param uiPosY Y component of last coefficient1116 * \param width Block width1117 * \param height Block height1118 * \param eTType plane type / luminance or chrominance1119 * \param uiScanIdx scan type (zig-zag, hor, ver)1115 * \param uiPosX X component of last coefficient 1116 * \param uiPosY Y component of last coefficient 1117 * \param width Block width 1118 * \param height Block height 1119 * \param component chroma component ID 1120 * \param uiScanIdx scan type (zig-zag, hor, ver) 1120 1121 * This method encodes the X and Y component within a block of the last significant coefficient. 1121 1122 */ … … 1579 1580 1580 1581 /** Code SAO EO class or BO band position 1581 * \param uiLength1582 * \param uiCode1583 1582 */ 1584 1583 Void TEncSbac::codeSaoUflc ( UInt uiLength, UInt uiCode ) … … 1588 1587 1589 1588 /** Code SAO merge flags 1590 * \param uiCode1591 * \param uiCompIdx1592 1589 */ 1593 1590 Void TEncSbac::codeSaoMerge ( UInt uiCode ) … … 1597 1594 1598 1595 /** Code SAO type index 1599 * \param uiCode1600 1596 */ 1601 1597 Void TEncSbac::codeSaoTypeIdx ( UInt uiCode) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSearch.cpp
r1259 r1260 2748 2748 * \param pcCU pointer to current CU 2749 2749 * \param uiAbsPartIdx part index 2750 * \param p iOrg pointer to original sample arrays2751 * \param p iPCM pointer to PCM code arrays2752 * \param p iPred pointer to prediction signal arrays2753 * \param p iResi pointer to residual signal arrays2754 * \param p iReco pointer to reconstructed sample arrays2750 * \param pOrg pointer to original sample arrays 2751 * \param pPCM pointer to PCM code arrays 2752 * \param pPred pointer to prediction signal arrays 2753 * \param pResi pointer to residual signal arrays 2754 * \param pReco pointer to reconstructed sample arrays 2755 2755 * \param uiStride stride of the original/prediction/residual sample arrays 2756 2756 * \param uiWidth block width 2757 2757 * \param uiHeight block height 2758 * \param ttText texture component type 2759 * \returns Void 2758 * \param compID texture component type 2760 2759 */ 2761 2760 Void TEncSearch::xEncPCM (TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* pOrg, Pel* pPCM, Pel* pPred, Pel* pResi, Pel* pReco, UInt uiStride, UInt uiWidth, UInt uiHeight, const ComponentID compID ) … … 2792 2791 2793 2792 2794 /** Function for PCM mode estimation. 2795 * \param pcCU 2796 * \param pcOrgYuv 2797 * \param rpcPredYuv 2798 * \param rpcResiYuv 2799 * \param rpcRecoYuv 2800 * \returns Void 2801 */ 2793 //! Function for PCM mode estimation. 2802 2794 Void TEncSearch::IPCMSearch( TComDataCU* pcCU, TComYuv* pcOrgYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, TComYuv* pcRecoYuv ) 2803 2795 { … … 2865 2857 } 2866 2858 2867 /** estimation of best merge coding 2868 * \param pcCU 2869 * \param pcYuvOrg 2870 * \param iPUIdx 2871 * \param uiInterDir 2872 * \param pacMvField 2873 * \param uiMergeIndex 2874 * \param ruiCost 2875 * \param ruiBits 2876 * \param puhNeighCands 2877 * \param bValid 2878 * \returns Void 2879 */ 2859 //! estimation of best merge coding 2880 2860 Void TEncSearch::xMergeEstimation( TComDataCU* pcCU, TComYuv* pcYuvOrg, Int iPUIdx, UInt& uiInterDir, TComMvField* pacMvField, UInt& uiMergeIndex, Distortion& ruiCost, TComMvField* cMvFieldNeighbours, UChar* uhInterDirNeighbours, Int& numValidMergeCand ) 2881 2861 { … … 2971 2951 } 2972 2952 2973 /** search of the best candidate for inter prediction 2974 * \param pcCU 2975 * \param pcOrgYuv 2976 * \param rpcPredYuv 2977 * \param rpcResiYuv 2978 * \param rpcRecoYuv 2979 * \param bUseRes 2980 * \returns Void 2981 */ 2953 //! search of the best candidate for inter prediction 2982 2954 #if SVC_EXTENSION 2983 2955 #if AMP_MRG … … 4487 4459 4488 4460 4489 /** encode residual and calculate rate-distortion for a CU block 4490 * \param pcCU 4491 * \param pcYuvOrg 4492 * \param pcYuvPred 4493 * \param rpcYuvResi 4494 * \param rpcYuvResiBest 4495 * \param rpcYuvRec 4496 * \param bSkipRes 4497 * \returns Void 4498 */ 4461 //! encode residual and calculate rate-distortion for a CU block 4499 4462 Void TEncSearch::encodeResAndCalcRdInterCU( TComDataCU* pcCU, TComYuv* pcYuvOrg, TComYuv* pcYuvPred, 4500 4463 TComYuv* pcYuvResi, TComYuv* pcYuvResiBest, TComYuv* pcYuvRec, … … 5753 5716 5754 5717 5755 /** set wp tables 5756 * \param TComDataCU* pcCU 5757 * \param iRefIdx 5758 * \param eRefPicListCur 5759 * \returns Void 5760 */ 5718 //! set wp tables 5761 5719 Void TEncSearch::setWpScalingDistParam( TComDataCU* pcCU, Int iRefIdx, RefPicList eRefPicListCur ) 5762 5720 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r1259 r1260 48 48 49 49 TEncSlice::TEncSlice() 50 : m_encCABACTableIdx(I_SLICE)50 : m_encCABACTableIdx(I_SLICE) 51 51 { 52 52 m_apcPicYuvPred = NULL; … … 222 222 . 223 223 \param pcPic picture class 224 \param pocLast POC of last picture225 \param pocCurr current POC224 \param pocLast POC of last picture 225 \param pocCurr current POC 226 226 \param iNumPicRcvd number of received pictures 227 \param iTimeOffset POC offset for hierarchical structure 228 \param iDepth temporal layer depth 227 \param iGOPid POC offset for hierarchical structure 229 228 \param rpcSlice slice header class 230 229 \param pSPS SPS associated with the slice 231 230 \param pPPS PPS associated with the slice 231 \param isField true for field coding 232 232 */ 233 233 #if SVC_EXTENSION 234 //\param vps VPS associated with the slice235 234 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, Bool isField ) 236 235 #else … … 621 620 622 621 /** 623 - multi-loop slice encoding for different slice QP624 . 625 \param rpcPic picture class622 Multi-loop slice encoding for different slice QP 623 624 \param pcPic picture class 626 625 */ 627 626 Void TEncSlice::precompressSlice( TComPic* pcPic ) … … 742 741 } 743 742 744 /** \param rpcPic picture class743 /** \param pcPic picture class 745 744 */ 746 745 Void TEncSlice::compressSlice( TComPic* pcPic ) … … 1032 1031 } 1033 1032 1034 /**1035 \param rpcPic picture class1036 \retval rpcBitstream bitstream class1037 */1038 1033 Void TEncSlice::encodeSlice ( TComPic* pcPic, TComOutputBitstream* pcSubstreams, UInt &numBinsCoded ) 1039 1034 { … … 1313 1308 1314 1309 /** Determines the starting and bounding CTU address of current slice / dependent slice 1315 * \param bEncodeSlice Identifies if the calling function is compressSlice() [false] or encodeSlice() [true] 1316 * \returns Updates startCtuTsAddr, boundingCtuTsAddr with appropriate CTU address 1310 * \param [out] startCtuTsAddr 1311 * \param [out] boundingCtuTsAddr 1312 * \param [in] pcPic 1313 * \param encodingSlice Identifies, if the calling function is compressSlice() [false] or encodeSlice() [true] 1314 1315 * Updates startCtuTsAddr, boundingCtuTsAddr with appropriate CTU address 1317 1316 */ 1318 1317 Void TEncSlice::xDetermineStartAndBoundingCtuTsAddr ( UInt& startCtuTsAddr, UInt& boundingCtuTsAddr, TComPic* pcPic, const Bool encodingSlice ) // TODO: this is now only ever called with encodingSlice=false -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1259 r1260 395 395 \param flush cause encoder to encode a partial GOP 396 396 \param pcPicYuvOrg original YUV picture 397 \param pcPicYuvTrueOrg 398 \param snrCSC 397 399 \retval rcListPicYuvRecOut list of reconstruction YUV pictures 398 \retval rcListBitstreamOut list of output bitstreams400 \retval accessUnitsOut list of output access units 399 401 \retval iNumEncoded number of encoded pictures 400 402 */ -
branches/SHM-dev/source/Lib/TLibEncoder/WeightPredAnalysis.cpp
r1259 r1260 64 64 65 65 66 /** calculate AC and DC values for current original image 67 * \param TComSlice *slice 68 * \returns Void 69 */ 66 //! calculate AC and DC values for current original image 70 67 Void WeightPredAnalysis::xCalcACDCParamSlice(TComSlice *const slice) 71 68 { … … 127 124 128 125 129 /** check weighted pred or non-weighted pred 130 * \param TComSlice *slice 131 * \returns Void 132 */ 126 //! check weighted pred or non-weighted pred 133 127 Void WeightPredAnalysis::xCheckWPEnable(TComSlice *const slice) 134 128 { … … 178 172 179 173 180 /** estimate wp tables for explicit wp 181 * \param TComSlice *slice 182 */ 174 //! estimate wp tables for explicit wp 183 175 Void WeightPredAnalysis::xEstimateWPParamSlice(TComSlice *const slice) 184 176 { … … 208 200 209 201 210 /** update wp tables for explicit wp w.r.t ramge limitation 211 * \param TComSlice *slice 212 * \returns Bool 213 */ 202 //! update wp tables for explicit wp w.r.t range limitation 214 203 Bool WeightPredAnalysis::xUpdatingWPParameters(TComSlice *const slice, const Int log2Denom) 215 204 { … … 329 318 330 319 331 /** select whether weighted pred enables or not. 332 * \param TComSlice *slice 333 * \param log2Denom 334 * \returns Bool 335 */ 320 //! select whether weighted pred enables or not. 336 321 Bool WeightPredAnalysis::xSelectWP(TComSlice *const slice, const Int log2Denom) 337 322 { … … 385 370 386 371 387 /** calculate SAD values for both WP version and non-WP version. 388 * \param Pel *pOrgPel 389 * \param Pel *pRefPel 390 * \param Int iWidth 391 * \param Int iHeight 392 * \param Int iOrgStride 393 * \param Int iRefStride 394 * \param Int iLog2Denom 395 * \param Int iWeight 396 * \param Int iOffset 397 * \returns Int64 398 */ 372 //! calculate SAD values for both WP version and non-WP version. 399 373 Int64 WeightPredAnalysis::xCalcSADvalueWP(const Int bitDepth, 400 374 const Pel *pOrgPel, -
branches/SHM-dev/source/Lib/TLibVideoIO/TVideoIOYuv.cpp
r1259 r1260 113 113 * \param bWriteMode file open mode: true=read, false=write 114 114 * \param fileBitDepth bit-depth array of input/output file data. 115 * \param MSBExtendedBitDepth 115 116 * \param internalBitDepth bit-depth array to scale image data to/from when reading/writing. 116 117 */ … … 670 671 * file had been provided at the lower-bitdepth compliant to Rec601/709. 671 672 * 672 * @param pPicYuv input picture YUV buffer class pointer 673 * @param aiPad source padding size, aiPad[0] = horizontal, aiPad[1] = vertical 673 * @param pPicYuvUser input picture YUV buffer class pointer 674 * @param pPicYuvTrueOrg 675 * @param ipcsc 676 * @param aiPad source padding size, aiPad[0] = horizontal, aiPad[1] = vertical 677 * @param format chroma format 674 678 * @return true for success, false in case of error 675 679 */ … … 752 756 * assumed to be at TVideoIO::m_fileBitdepth depth. 753 757 * 754 * @param pPicYuv input picture YUV buffer class pointer 755 * @param aiPad source padding size, aiPad[0] = horizontal, aiPad[1] = vertical 758 * @param pPicYuvUser input picture YUV buffer class pointer 759 * @param ipCSC 760 * @param confLeft conformance window left border 761 * @param confRight conformance window right border 762 * @param confTop conformance window top border 763 * @param confBottom conformance window bottom border 764 * @param format chroma format 756 765 * @return true for success, false in case of error 757 766 */
Note: See TracChangeset for help on using the changeset viewer.