Changeset 1167 in 3DVCSoftware for branches


Ignore:
Timestamp:
17 Mar 2015, 20:26:49 (10 years ago)
Author:
tech
Message:

FIX_TICKET_95

Location:
branches/HTM-13.1-dev0/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.1-dev0/source/Lib/TLibCommon/TypeDef.h

    r1164 r1167  
    325325// Fixes
    326326
     327#define FIX_TICKET_95                          1   // pps_scaling_list_ref_layer_id parsing
    327328
    328329#if H_3D
  • branches/HTM-13.1-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1163 r1167  
    10551055  READ_FLAG( uiCode, "poc_reset_info_present_flag" ); pcPPS->setPocResetInfoPresentFlag( uiCode == 1 );
    10561056  READ_FLAG( uiCode, "pps_infer_scaling_list_flag" ); pcPPS->setPpsInferScalingListFlag( uiCode == 1 );
     1057#if FIX_TICKET_95
     1058  if (pcPPS->getPpsInferScalingListFlag())
     1059  {
    10571060  READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" ); pcPPS->setPpsScalingListRefLayerId( uiCode );
     1061  }
     1062#else
     1063  READ_CODE( 6, uiCode, "pps_scaling_list_ref_layer_id" ); pcPPS->setPpsScalingListRefLayerId( uiCode );
     1064#endif
    10581065
    10591066  UInt numRefLocOffsets;;
  • branches/HTM-13.1-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1163 r1167  
    857857  WRITE_FLAG( pcPPS->getPocResetInfoPresentFlag( ) ? 1 : 0 , "poc_reset_info_present_flag" );
    858858  WRITE_FLAG( pcPPS->getPpsInferScalingListFlag( ) ? 1 : 0 , "pps_infer_scaling_list_flag" );
     859#if FIX_TICKET_95
     860  if (pcPPS->getPpsInferScalingListFlag())
     861  {
     862    WRITE_CODE( pcPPS->getPpsScalingListRefLayerId( ), 6, "pps_scaling_list_ref_layer_id" );
     863  }
     864#else   
    859865  WRITE_CODE( pcPPS->getPpsScalingListRefLayerId( ), 6, "pps_scaling_list_ref_layer_id" );
     866#endif
    860867  WRITE_UVLC( 0, "num_ref_loc_offsets" );
    861868  WRITE_FLAG( 0 , "colour_mapping_enabled_flag" );
Note: See TracChangeset for help on using the changeset viewer.