Changeset 1118 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
7 Jul 2015, 01:40:13 (10 years ago)
Author:
seregin
Message:

macro cleanup: REPN_FORMAT_CONTROL_FLAG

File:
1 edited

Legend:

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

    r1117 r1118  
    35713571{
    35723572  UInt uiCode;
    3573 #if REPN_FORMAT_CONTROL_FLAG 
    35743573  READ_CODE( 16, uiCode, "pic_width_vps_in_luma_samples" );        repFormat->setPicWidthVpsInLumaSamples ( uiCode );
    35753574  READ_CODE( 16, uiCode, "pic_height_vps_in_luma_samples" );       repFormat->setPicHeightVpsInLumaSamples( uiCode );
     
    36093608    repFormat->setBitDepthVpsChroma         ( repFormatPrev->getBitDepthVpsChroma() );
    36103609  }
    3611 
    3612 #else
    3613 #if AUXILIARY_PICTURES
    3614   READ_CODE( 2, uiCode, "chroma_format_idc" );               repFormat->setChromaFormatVpsIdc( ChromaFormat(uiCode) );
    3615 #else
    3616   READ_CODE( 2, uiCode, "chroma_format_idc" );               repFormat->setChromaFormatVpsIdc( uiCode );
    3617 #endif
    3618 
    3619   if( repFormat->getChromaFormatVpsIdc() == 3 )
    3620   {
    3621     READ_FLAG( uiCode, "separate_colour_plane_flag");        repFormat->setSeparateColourPlaneVpsFlag(uiCode ? true : false);
    3622   }
    3623 
    3624   READ_CODE ( 16, uiCode, "pic_width_in_luma_samples" );     repFormat->setPicWidthVpsInLumaSamples ( uiCode );
    3625   READ_CODE ( 16, uiCode, "pic_height_in_luma_samples" );    repFormat->setPicHeightVpsInLumaSamples( uiCode );
    3626 
    3627   READ_CODE( 4, uiCode, "bit_depth_luma_minus8" );           repFormat->setBitDepthVpsLuma  ( uiCode + 8 );
    3628   READ_CODE( 4, uiCode, "bit_depth_chroma_minus8" );         repFormat->setBitDepthVpsChroma( uiCode + 8 );
    3629 #endif
    36303610
    36313611  READ_FLAG( uiCode, "conformance_window_vps_flag" );
Note: See TracChangeset for help on using the changeset viewer.