Changeset 299 in SHVCSoftware for branches


Ignore:
Timestamp:
25 Jun 2013, 19:53:37 (12 years ago)
Author:
suehring
Message:

M0464: add tile_boundaries_aligned_flag to enhancement layer VUI

Location:
branches/SHM-2.1-dev/source/Lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.h

    r297 r299  
    820820  Int  m_numTicksPocDiffOneMinus1;
    821821#endif
     822#if M0464_TILE_BOUNDARY_ALIGNED_FLAG
     823  Bool m_tileBoundariesAlignedFlag;
     824#endif
     825
    822826
    823827public:
     
    856860    ,m_numTicksPocDiffOneMinus1(0)
    857861#endif
     862#if M0464_TILE_BOUNDARY_ALIGNED_FLAG
     863    ,m_tileBoundariesAlignedFlag(true)
     864#endif
    858865  {}
    859866
     
    957964  Int  getNumTicksPocDiffOneMinus1() {return m_numTicksPocDiffOneMinus1;}
    958965  Void setNumTicksPocDiffOneMinus1(Int x) { m_numTicksPocDiffOneMinus1 = x;}
     966#endif
     967#if M0464_TILE_BOUNDARY_ALIGNED_FLAG
     968  Bool getTileBoundariesAlignedFlag(  ) { return m_tileBoundariesAlignedFlag; }
     969  Void setTileBoundariesAlignedFlag( Bool flag ) { m_tileBoundariesAlignedFlag = flag; }
    959970#endif
    960971};
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h

    r297 r299  
    4444
    4545#if SVC_EXTENSION
     46#define M0464_TILE_BOUNDARY_ALIGNED_FLAG 1      ///< VUI flag to indicate tile boundary alignment
    4647#define SPS_EXTENSION                    1      ///< Define sps_extension() syntax structure
    4748#define SCALED_REF_LAYER_OFFSET_FLAG     0      ///< M0309: Signal scaled reference layer offsets in SPS
  • branches/SHM-2.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r297 r299  
    445445  {
    446446    READ_FLAG(   uiCode, "tiles_fixed_structure_flag");               pcVUI->setTilesFixedStructureFlag(uiCode);
     447#if M0464_TILE_BOUNDARY_ALIGNED_FLAG
     448    if ( pcSPS->getLayerId() > 0 )
     449    {
     450      READ_FLAG( uiCode, "tile_boundaries_aligned_flag" ); pcVUI->setTileBoundariesAlignedFlag( uiCode == 1 );
     451    }
     452#endif
    447453    READ_FLAG(   uiCode, "motion_vectors_over_pic_boundaries_flag");  pcVUI->setMotionVectorsOverPicBoundariesFlag(uiCode);
    448454    READ_FLAG(   uiCode, "restricted_ref_pic_lists_flag");            pcVUI->setRestrictedRefPicListsFlag(uiCode);
  • branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r297 r299  
    329329  {
    330330    WRITE_FLAG(pcVUI->getTilesFixedStructureFlag(),             "tiles_fixed_structure_flag");
     331#if M0464_TILE_BOUNDARY_ALIGNED_FLAG
     332    if ( pcSPS->getLayerId() > 0 )
     333    {
     334      WRITE_FLAG( pcVUI->getTileBoundariesAlignedFlag( ) ? 1 : 0 , "tile_boundaries_aligned_flag" );
     335    }
     336#endif
    331337    WRITE_FLAG(pcVUI->getMotionVectorsOverPicBoundariesFlag(),  "motion_vectors_over_pic_boundaries_flag");
    332338    WRITE_FLAG(pcVUI->getRestrictedRefPicListsFlag(),           "restricted_ref_pic_lists_flag");
Note: See TracChangeset for help on using the changeset viewer.