Changeset 1114 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 7 Jul 2015, 01:08:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1113 r1114 2447 2447 #endif 2448 2448 2449 #if !O0109_MOVE_VPS_VUI_FLAG2450 WRITE_FLAG( 1, "vps_vui_present_flag" );2451 if(1) // Should be conditioned on the value of vps_vui_present_flag2452 {2453 while ( m_pcBitIf->getNumberOfWrittenBits() % 8 != 0 )2454 {2455 WRITE_FLAG(1, "vps_vui_alignment_bit_equal_to_one");2456 }2457 #if VPS_VUI_OFFSET2458 Int vpsVuiOffsetValeInBits = this->m_pcBitIf->getNumberOfWrittenBits() - m_vpsVuiCounter + 16; // 2 bytes for NUH2459 assert( vpsVuiOffsetValeInBits % 8 == 0 );2460 vps->setVpsVuiOffset( vpsVuiOffsetValeInBits >> 3 );2461 #endif2462 codeVPSVUI(vps);2463 }2464 #else2465 2466 2449 vps->setVpsVuiPresentFlag(true); 2467 2450 WRITE_FLAG( vps->getVpsVuiPresentFlag() ? 1 : 0, "vps_vui_present_flag" ); … … 2476 2459 codeVPSVUI(vps); 2477 2460 } 2478 #endif // 0109_MOVE_VPS_FLAG2479 2461 } 2480 2462
Note: See TracChangeset for help on using the changeset viewer.