Changeset 826 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
- Timestamp:
- 12 Jul 2014, 08:45:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r825 r826 3935 3935 #endif 3936 3936 UInt uiCurOctantDepth , uiCurPartNumLog2 , uiInputBitDepthM8 , uiOutputBitDepthM8 , uiResQaunBit; 3937 #if R0300_CGS_RES_COEFF_CODING 3938 UInt uiDeltaBits; 3939 #endif 3937 3940 READ_CODE( 2 , uiCurOctantDepth , "cm_octant_depth" ); 3938 3941 READ_CODE( 2 , uiCurPartNumLog2 , "cm_y_part_num_log2" ); … … 3952 3955 #endif 3953 3956 READ_CODE( 2 , uiResQaunBit , "cm_res_quant_bit" ); 3957 #if R0300_CGS_RES_COEFF_CODING 3958 READ_CODE( 2 , uiDeltaBits , "cm_flc_bits" ); 3959 pc3DAsymLUT->setDeltaBits(uiDeltaBits + 1); 3960 #endif 3961 3954 3962 #if R0151_CGS_3D_ASYMLUT_IMPROVE 3955 3963 #if R0150_CGS_SIGNAL_CONSTRAINTS … … 4020 4028 else 4021 4029 { 4030 #if R0300_CGS_RES_COEFF_CODING 4031 Int nFLCbits = pc3DAsymLUT->getMappingShift()-pc3DAsymLUT->getResQuantBit()-pc3DAsymLUT->getDeltaBits() ; 4032 nFLCbits = nFLCbits >= 0 ? nFLCbits:0; 4033 #endif 4022 4034 for( Int l = 0 ; l < nYPartNum ; l++ ) 4023 4035 { … … 4033 4045 { 4034 4046 #if R0151_CGS_3D_ASYMLUT_IMPROVE 4047 #if R0300_CGS_RES_COEFF_CODING 4048 xReadParam( deltaY, nFLCbits ); 4049 xReadParam( deltaU, nFLCbits ); 4050 xReadParam( deltaV, nFLCbits ); 4051 #else 4035 4052 xReadParam( deltaY ); 4036 4053 xReadParam( deltaU ); 4037 4054 xReadParam( deltaV ); 4055 #endif 4038 4056 #else 4039 4057 READ_SVLC( deltaY , "resY" ); … … 4056 4074 4057 4075 #if R0151_CGS_3D_ASYMLUT_IMPROVE 4076 #if R0300_CGS_RES_COEFF_CODING 4077 Void TDecCavlc::xReadParam( Int& param, Int rParam ) 4078 #else 4058 4079 Void TDecCavlc::xReadParam( Int& param ) 4059 { 4080 #endif 4081 { 4082 #if !R0300_CGS_RES_COEFF_CODING 4060 4083 const UInt rParam = 7; 4084 #endif 4061 4085 UInt prefix; 4062 4086 UInt codeWord ;
Note: See TracChangeset for help on using the changeset viewer.