- Timestamp:
- 7 Jul 2015, 01:08:05 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1113 r1114 823 823 #endif 824 824 825 #if O0109_MOVE_VPS_VUI_FLAG826 825 Bool m_vpsVuiPresentFlag; 827 #endif828 826 Bool m_vpsExtensionFlag; 829 827 … … 1352 1350 #endif 1353 1351 1354 #if O0109_MOVE_VPS_VUI_FLAG1355 1352 Bool getVpsVuiPresentFlag() { return m_vpsVuiPresentFlag; } 1356 1353 Void setVpsVuiPresentFlag(Bool x) { m_vpsVuiPresentFlag = x; } 1357 #endif1358 1354 Bool getVpsExtensionFlag() { return m_vpsExtensionFlag; } 1359 1355 Void setVpsExtensionFlag(Bool x) { m_vpsExtensionFlag = x; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1113 r1114 94 94 #define P0295_DEFAULT_OUT_LAYER_IDC 1 ///< JCTVC-P0295: modifify default_one_target_output_layer_idc to default_output_layer_idc 95 95 #define O0109_DEFAULT_ONE_OUT_LAYER_IDC 1 ///< JCTVC-O0109: default_one_target_output_layer_flag to default_one_target_output_layer_idc 96 #define O0109_MOVE_VPS_VUI_FLAG 1 ///< JCTVC-O0109: move vps_vui_present_flag before vps_vui_offset97 96 98 97 #define O0135_DEFAULT_ONE_OUT_SEMANTIC 1 ///< JCTVC-O0135: semantics change of default_one_target_output_layer_idc for auxiliary pictures -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1113 r1114 3458 3458 READ_FLAG( uiCode, "vps_vui_present_flag"); vps->setVpsVuiPresentFlag(uiCode ? true : false); 3459 3459 3460 #if O0109_MOVE_VPS_VUI_FLAG3461 3460 if ( vps->getVpsVuiPresentFlag() ) 3462 #else3463 READ_FLAG( uiCode, "vps_vui_present_flag" );3464 if (uiCode)3465 #endif3466 3461 { 3467 3462 while ( m_pcBitstream->getNumBitsRead() % 8 != 0 ) -
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.