Changeset 1214 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Jul 2015, 23:35:39 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1213 r1214 3535 3535 #endif 3536 3536 3537 #if R0151_CGS_3D_ASYMLUT_IMPROVE3538 3537 Int nAdaptCThresholdU = 1 << ( uiChromaInputBitDepthM8 + 8 - 1 ); 3539 3538 Int nAdaptCThresholdV = 1 << ( uiChromaInputBitDepthM8 + 8 - 1 ); … … 3547 3546 nAdaptCThresholdV += delta; 3548 3547 } 3549 #endif 3548 3550 3549 pc3DAsymLUT->destroy(); 3551 pc3DAsymLUT->create( uiCurOctantDepth , uiInputBitDepthM8 + 8 , 3552 uiChromaInputBitDepthM8 + 8 , 3553 uiOutputBitDepthM8 + 8 , 3554 uiChromaOutputBitDepthM8 + 8 , 3555 uiCurPartNumLog2 3556 #if R0151_CGS_3D_ASYMLUT_IMPROVE 3557 , nAdaptCThresholdU , nAdaptCThresholdV 3558 #endif 3559 ); 3550 pc3DAsymLUT->create( uiCurOctantDepth, uiInputBitDepthM8 + 8, uiChromaInputBitDepthM8 + 8, uiOutputBitDepthM8 + 8, uiChromaOutputBitDepthM8 + 8, uiCurPartNumLog2, nAdaptCThresholdU, nAdaptCThresholdV ); 3560 3551 pc3DAsymLUT->setResQuantBit( uiResQaunBit ); 3561 3552 … … 3613 3604 if( uiCodeVertex ) 3614 3605 { 3615 #if R0151_CGS_3D_ASYMLUT_IMPROVE3616 3606 #if R0300_CGS_RES_COEFF_CODING 3617 3607 xReadParam( deltaY, nFLCbits ); … … 3622 3612 xReadParam( deltaU ); 3623 3613 xReadParam( deltaV ); 3624 #endif3625 #else3626 READ_SVLC( deltaY , "resY" );3627 READ_SVLC( deltaU , "resU" );3628 READ_SVLC( deltaV , "resV" );3629 3614 #endif 3630 3615 } … … 3665 3650 } 3666 3651 3667 #if R0151_CGS_3D_ASYMLUT_IMPROVE3668 3652 #if R0300_CGS_RES_COEFF_CODING 3669 3653 Void TDecCavlc::xReadParam( Int& param, Int rParam ) … … 3691 3675 else param = 0; 3692 3676 } 3693 #endif3694 3677 #endif 3695 3678 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r1212 r1214 148 148 Void xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT ); 149 149 Void xParse3DAsymLUTOctant( TCom3DAsymLUT * pc3DAsymLUT , Int nDepth , Int yIdx , Int uIdx , Int vIdx , Int nLength ); 150 #if R0151_CGS_3D_ASYMLUT_IMPROVE151 150 #if R0300_CGS_RES_COEFF_CODING 152 151 Void xReadParam( Int& param, Int flc_bits ); 153 152 #else 154 153 Void xReadParam( Int& param ); 155 #endif156 154 #endif 157 155 #endif
Note: See TracChangeset for help on using the changeset viewer.