Changeset 1118 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 7 Jul 2015, 01:40:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1117 r1118 3571 3571 { 3572 3572 UInt uiCode; 3573 #if REPN_FORMAT_CONTROL_FLAG3574 3573 READ_CODE( 16, uiCode, "pic_width_vps_in_luma_samples" ); repFormat->setPicWidthVpsInLumaSamples ( uiCode ); 3575 3574 READ_CODE( 16, uiCode, "pic_height_vps_in_luma_samples" ); repFormat->setPicHeightVpsInLumaSamples( uiCode ); … … 3609 3608 repFormat->setBitDepthVpsChroma ( repFormatPrev->getBitDepthVpsChroma() ); 3610 3609 } 3611 3612 #else3613 #if AUXILIARY_PICTURES3614 READ_CODE( 2, uiCode, "chroma_format_idc" ); repFormat->setChromaFormatVpsIdc( ChromaFormat(uiCode) );3615 #else3616 READ_CODE( 2, uiCode, "chroma_format_idc" ); repFormat->setChromaFormatVpsIdc( uiCode );3617 #endif3618 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 #endif3630 3610 3631 3611 READ_FLAG( uiCode, "conformance_window_vps_flag" );
Note: See TracChangeset for help on using the changeset viewer.