Ignore:
Timestamp:
15 Nov 2013, 14:55:37 (11 years ago)
Author:
nokia
Message:

Integrate auxiliary picture layers (JCTVC-O0041)

File:
1 edited

Legend:

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

    r466 r475  
    436436class RepFormat
    437437{
     438#if AUXILIARY_PICTURES
     439  ChromaFormat m_chromaFormatVpsIdc;
     440#else
    438441  Int  m_chromaFormatVpsIdc;
     442#endif
    439443  Bool m_separateColourPlaneVpsFlag;
    440444  Int  m_picWidthVpsInLumaSamples;
     
    446450  RepFormat();
    447451
     452#if AUXILIARY_PICTURES
     453  ChromaFormat getChromaFormatVpsIdc()        { return m_chromaFormatVpsIdc; }
     454  Void setChromaFormatVpsIdc(ChromaFormat x)  { m_chromaFormatVpsIdc = x;    }
     455#else
    448456  Int  getChromaFormatVpsIdc()        { return m_chromaFormatVpsIdc; }
    449457  Void setChromaFormatVpsIdc(Int x)   { m_chromaFormatVpsIdc = x;    }
     458#endif
    450459
    451460  Bool getSeparateColourPlaneVpsFlag()        { return m_separateColourPlaneVpsFlag; }
     
    10721081  Int         m_SPSId;
    10731082  Int         m_VPSId;
     1083#if AUXILIARY_PICTURES
     1084  ChromaFormat m_chromaFormatIdc;
     1085#else
    10741086  Int         m_chromaFormatIdc;
     1087#endif
    10751088
    10761089  UInt        m_uiMaxTLayers;           // maximum number of temporal layers
     
    11821195  Int  getSPSId       ()         { return m_SPSId;          }
    11831196  Void setSPSId       (Int i)    { m_SPSId = i;             }
     1197#if AUXILIARY_PICTURES
     1198  ChromaFormat getChromaFormatIdc ()         { return m_chromaFormatIdc;       }
     1199#else
    11841200  Int  getChromaFormatIdc ()         { return m_chromaFormatIdc;       }
    1185   Void setChromaFormatIdc (Int i)    { m_chromaFormatIdc = i;          }
    1186 
     1201#endif
     1202  Void setChromaFormatIdc (ChromaFormat i)    { m_chromaFormatIdc = i;          }
     1203
     1204#if AUXILIARY_PICTURES
     1205  static Int getWinUnitX (Int chromaFormatIdc) { assert (chromaFormatIdc >= 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitX[chromaFormatIdc];      }
     1206  static Int getWinUnitY (Int chromaFormatIdc) { assert (chromaFormatIdc >= 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitY[chromaFormatIdc];      }
     1207#else
    11871208  static Int getWinUnitX (Int chromaFormatIdc) { assert (chromaFormatIdc > 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitX[chromaFormatIdc];      }
    11881209  static Int getWinUnitY (Int chromaFormatIdc) { assert (chromaFormatIdc > 0 && chromaFormatIdc <= MAX_CHROMA_FORMAT_IDC); return m_winUnitY[chromaFormatIdc];      }
     1210#endif
    11891211 
    11901212  // structure
     
    20692091  UInt getPicWidthInLumaSamples();
    20702092  UInt getPicHeightInLumaSamples();
     2093#if AUXILIARY_PICTURES
     2094  ChromaFormat getChromaFormatIdc();
     2095#else
    20712096  UInt getChromaFormatIdc();
     2097#endif
    20722098  UInt getBitDepthY();
    20732099  UInt getBitDepthC();
Note: See TracChangeset for help on using the changeset viewer.