Changeset 1187 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 03:38:09 (9 years ago)
Author:
seregin
Message:

macro cleanup: N0065_LAYER_POC_ALIGNMENT

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

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

    r1186 r1187  
    107107
    108108#define VIEW_ID_RELATED_SIGNALING        1      ///< Introduce syntax elements view_id and view_id_val
    109 #define N0065_LAYER_POC_ALIGNMENT        1
    110109#define AUXILIARY_PICTURES               1      ///< JCTVC-O0041: auxiliary picture layers
    111110#define R0062_AUX_PSEUDO_MONOCHROME      1      ///> JCVVC-R0063: pseudo monochrome for auxiliary pictures
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1185 r1187  
    12771277      pcSlice->setRPS(rps);
    12781278    }
    1279 #if N0065_LAYER_POC_ALIGNMENT
     1279#if SVC_EXTENSION
    12801280#if O0062_POC_LSB_NOT_PRESENT_FLAG
    12811281    if( ( pcSlice->getLayerId() > 0 && !pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId())) ) || !pcSlice->getIdrPicFlag() )
     
    12881288    {
    12891289      READ_CODE(sps->getBitsForPOC(), uiCode, "pic_order_cnt_lsb");
     1290#if SVC_EXTENSION
    12901291#if POC_RESET_IDC_DECODER
    12911292      pcSlice->setPicOrderCntLsb( uiCode );
    12921293#endif
    1293 #if SVC_EXTENSION
    12941294      iPOClsb = uiCode;
    12951295#else
     
    13221322      pcSlice->setPOC              (iPOCmsb+iPOClsb);
    13231323
    1324 #if N0065_LAYER_POC_ALIGNMENT
     1324#if SVC_EXTENSION
    13251325    }
    13261326#if POC_RESET_IDC_DECODER
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1185 r1187  
    979979    }
    980980
    981 #if N0065_LAYER_POC_ALIGNMENT
     981#if SVC_EXTENSION
    982982#if O0062_POC_LSB_NOT_PRESENT_FLAG
    983983    if( (pcSlice->getLayerId() > 0 && !pcSlice->getVPS()->getPocLsbNotPresentFlag( pcSlice->getVPS()->getLayerIdxInVps(pcSlice->getLayerId())) ) || !pcSlice->getIdrPicFlag())
     
    989989#endif
    990990    {
    991 #if POC_RESET_IDC_ENCODER
     991#if SVC_EXTENSION && POC_RESET_IDC_ENCODER
    992992      Int picOrderCntLSB;
    993993      if( pcSlice->getPocResetIdc() == 2 )  // i.e. the LSB is reset
     
    10041004      WRITE_CODE( picOrderCntLSB, pcSlice->getSPS()->getBitsForPOC(), "pic_order_cnt_lsb");
    10051005
    1006 #if N0065_LAYER_POC_ALIGNMENT
     1006#if SVC_EXTENSION
    10071007    }
    10081008    if( !pcSlice->getIdrPicFlag() )
Note: See TracChangeset for help on using the changeset viewer.