Changeset 1118 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 7 Jul 2015, 01:40:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp ¶
r1117 r1118 2452 2452 Void TEncCavlc::codeRepFormat( RepFormat *repFormat ) 2453 2453 { 2454 #if REPN_FORMAT_CONTROL_FLAG2455 2454 WRITE_CODE( repFormat->getPicWidthVpsInLumaSamples (), 16, "pic_width_vps_in_luma_samples" ); 2456 2455 WRITE_CODE( repFormat->getPicHeightVpsInLumaSamples(), 16, "pic_height_vps_in_luma_samples" ); … … 2471 2470 WRITE_CODE( repFormat->getBitDepthVpsChroma() - 8, 4, "bit_depth_vps_chroma_minus8" ); 2472 2471 } 2473 #else2474 WRITE_CODE( repFormat->getChromaFormatVpsIdc(), 2, "chroma_format_idc" );2475 2476 if( repFormat->getChromaFormatVpsIdc() == 3 )2477 {2478 WRITE_FLAG( repFormat->getSeparateColourPlaneVpsFlag(), "separate_colour_plane_flag");2479 }2480 2481 WRITE_CODE ( repFormat->getPicWidthVpsInLumaSamples (), 16, "pic_width_in_luma_samples" );2482 WRITE_CODE ( repFormat->getPicHeightVpsInLumaSamples(), 16, "pic_height_in_luma_samples" );2483 2484 assert( repFormat->getBitDepthVpsLuma() >= 8 );2485 assert( repFormat->getBitDepthVpsChroma() >= 8 );2486 WRITE_CODE( repFormat->getBitDepthVpsLuma() - 8, 4, "bit_depth_luma_minus8" );2487 WRITE_CODE( repFormat->getBitDepthVpsChroma() - 8, 4, "bit_depth_chroma_minus8" );2488 #endif2489 2472 2490 2473 Window conf = repFormat->getConformanceWindowVps();
Note: See TracChangeset for help on using the changeset viewer.