Ignore:
Timestamp:
12 Jul 2014, 08:45:16 (10 years ago)
Author:
interdigital
Message:

Added R0300_CGS_RES_COEFF_CODING for improved residual coefficient coding
Added R0179_CGS_SIZE_8x1x1 to allow 8x1x1 LUT size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r825 r826  
    39353935#endif
    39363936  UInt uiCurOctantDepth , uiCurPartNumLog2 , uiInputBitDepthM8 , uiOutputBitDepthM8 , uiResQaunBit;
     3937#if R0300_CGS_RES_COEFF_CODING
     3938  UInt uiDeltaBits;
     3939#endif
    39373940  READ_CODE( 2 , uiCurOctantDepth , "cm_octant_depth" );
    39383941  READ_CODE( 2 , uiCurPartNumLog2 , "cm_y_part_num_log2" );     
     
    39523955#endif
    39533956  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
    39543962#if R0151_CGS_3D_ASYMLUT_IMPROVE
    39553963#if R0150_CGS_SIGNAL_CONSTRAINTS
     
    40204028  else
    40214029  {
     4030#if R0300_CGS_RES_COEFF_CODING
     4031    Int nFLCbits = pc3DAsymLUT->getMappingShift()-pc3DAsymLUT->getResQuantBit()-pc3DAsymLUT->getDeltaBits() ;
     4032    nFLCbits = nFLCbits >= 0 ? nFLCbits:0;
     4033#endif
    40224034    for( Int l = 0 ; l < nYPartNum ; l++ )
    40234035    {
     
    40334045        {
    40344046#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
    40354052          xReadParam( deltaY );
    40364053          xReadParam( deltaU );
    40374054          xReadParam( deltaV );
     4055#endif
    40384056#else
    40394057          READ_SVLC( deltaY , "resY" );
     
    40564074
    40574075#if R0151_CGS_3D_ASYMLUT_IMPROVE
     4076#if R0300_CGS_RES_COEFF_CODING
     4077Void TDecCavlc::xReadParam( Int& param, Int rParam )
     4078#else
    40584079Void TDecCavlc::xReadParam( Int& param )
    4059 {
     4080#endif
     4081{
     4082#if !R0300_CGS_RES_COEFF_CODING
    40604083  const UInt rParam = 7;
     4084#endif
    40614085  UInt prefix;
    40624086  UInt codeWord ;
Note: See TracChangeset for help on using the changeset viewer.