Changeset 1215 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Jul 2015, 23:43:06 (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
r1214 r1215 3516 3516 } 3517 3517 3518 UInt uiCurOctantDepth , uiCurPartNumLog2 , uiInputBitDepthM8 , uiOutputBitDepthM8 , uiResQaunBit; 3519 #if R0300_CGS_RES_COEFF_CODING 3520 UInt uiDeltaBits; 3521 #endif 3518 UInt uiCurOctantDepth, uiCurPartNumLog2, uiInputBitDepthM8, uiOutputBitDepthM8, uiResQaunBit, uiDeltaBits;; 3519 3522 3520 READ_CODE( 2 , uiCurOctantDepth , "cm_octant_depth" ); 3523 3521 READ_CODE( 2 , uiCurPartNumLog2 , "cm_y_part_num_log2" ); … … 3530 3528 READ_UVLC( uiChromaOutputBitDepthM8 , "cm_output_chroma_bit_depth_minus8" ); 3531 3529 READ_CODE( 2 , uiResQaunBit , "cm_res_quant_bit" ); 3532 #if R0300_CGS_RES_COEFF_CODING 3530 3533 3531 READ_CODE( 2 , uiDeltaBits , "cm_flc_bits" ); 3534 3532 pc3DAsymLUT->setDeltaBits(uiDeltaBits + 1); 3535 #endif3536 3533 3537 3534 Int nAdaptCThresholdU = 1 << ( uiChromaInputBitDepthM8 + 8 - 1 ); … … 3588 3585 else 3589 3586 { 3590 #if R0300_CGS_RES_COEFF_CODING3591 3587 Int nFLCbits = pc3DAsymLUT->getMappingShift()-pc3DAsymLUT->getResQuantBit()-pc3DAsymLUT->getDeltaBits() ; 3592 3588 nFLCbits = nFLCbits >= 0 ? nFLCbits:0; 3593 #endif 3589 3594 3590 for( Int l = 0 ; l < nYPartNum ; l++ ) 3595 3591 { … … 3604 3600 if( uiCodeVertex ) 3605 3601 { 3606 #if R0300_CGS_RES_COEFF_CODING3607 3602 xReadParam( deltaY, nFLCbits ); 3608 3603 xReadParam( deltaU, nFLCbits ); 3609 3604 xReadParam( deltaV, nFLCbits ); 3610 #else3611 xReadParam( deltaY );3612 xReadParam( deltaU );3613 xReadParam( deltaV );3614 #endif3615 3605 } 3616 3606 #if R0164_CGS_LUT_BUGFIX … … 3650 3640 } 3651 3641 3652 #if R0300_CGS_RES_COEFF_CODING3653 3642 Void TDecCavlc::xReadParam( Int& param, Int rParam ) 3654 #else 3655 Void TDecCavlc::xReadParam( Int& param ) 3656 #endif 3657 { 3658 #if !R0300_CGS_RES_COEFF_CODING 3659 const UInt rParam = 7; 3660 #endif 3643 { 3661 3644 UInt prefix; 3662 3645 UInt codeWord ; -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r1214 r1215 148 148 Void xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT ); 149 149 Void xParse3DAsymLUTOctant( TCom3DAsymLUT * pc3DAsymLUT , Int nDepth , Int yIdx , Int uIdx , Int vIdx , Int nLength ); 150 #if R0300_CGS_RES_COEFF_CODING151 150 Void xReadParam( Int& param, Int flc_bits ); 152 #else153 Void xReadParam( Int& param );154 #endif155 151 #endif 156 152 #endif //SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.