Ignore:
Timestamp:
8 Nov 2013, 06:17:03 (11 years ago)
Author:
seregin
Message:

remove SCALED_REF_LAYER_OFFSETS macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp

    r445 r448  
    392392  string* cfg_predLayerIdsPtr    [MAX_LAYERS];
    393393#endif
    394 #if SCALED_REF_LAYER_OFFSETS
    395394  string    cfg_scaledRefLayerLeftOffset [MAX_LAYERS];
    396395  string    cfg_scaledRefLayerTopOffset [MAX_LAYERS];
     
    403402  string*    cfg_scaledRefLayerRightOffsetPtr  [MAX_LAYERS];
    404403  string*    cfg_scaledRefLayerBottomOffsetPtr [MAX_LAYERS];
    405 #endif
    406404#if RC_SHVC_HARMONIZATION
    407405  Bool*   cfg_RCEnableRateControl  [MAX_LAYERS];
     
    455453    cfg_predLayerIdsPtr     [layer]  = &cfg_predLayerIds[layer];
    456454#endif
    457 #if SCALED_REF_LAYER_OFFSETS
    458455    cfg_numScaledRefLayerOffsets [layer] = &m_acLayerCfg[layer].m_numScaledRefLayerOffsets;
    459456    for(Int i = 0; i < MAX_LAYERS; i++)
     
    464461      cfg_scaledRefLayerBottomOffsetPtr[layer] = &cfg_scaledRefLayerBottomOffset[layer];
    465462    }
    466 #endif
    467463#if RC_SHVC_HARMONIZATION
    468464    cfg_RCEnableRateControl[layer]   = &m_acLayerCfg[layer].m_RCEnableRateControl;
     
    487483  string  cfg_tileSets;
    488484#endif
    489 #else
     485#else //SVC_EXTENSION
    490486  string cfg_InputFile;
    491487  string cfg_BitstreamFile;
    492488  string cfg_ReconFile;
    493489  string cfg_dQPFile;
    494 #endif
     490#endif //SVC_EXTENSION
    495491  string cfg_ColumnWidth;
    496492  string cfg_RowHeight;
     
    546542  ("OutputBitDepthC",         m_outputBitDepthC,   0, "As per OutputBitDepth but for chroma component. (default:InternalBitDepthC)")
    547543  ("InternalBitDepthC",       m_internalBitDepthC, 0, "As per InternalBitDepth but for chroma component. (default:IntrenalBitDepth)")
    548 #if SCALED_REF_LAYER_OFFSETS
    549544  ("NumScaledRefLayerOffsets%d",    cfg_numScaledRefLayerOffsets,     0, MAX_LAYERS,  "Number of scaled offset layer sets ")
    550545  ("ScaledRefLayerLeftOffset%d",   cfg_scaledRefLayerLeftOffsetPtr,  string(""), MAX_LAYERS, "Horizontal offset of top-left luma sample of scaled base layer picture with respect to"
     
    556551  ("ScaledRefLayerBottomOffset%d", cfg_scaledRefLayerBottomOffsetPtr,string(""), MAX_LAYERS, "Vertical offset of bottom-right luma sample of scaled base layer picture with respect to"
    557552                                                                 " bottom-right luma sample of the EL picture, in units of two luma samples")
    558 #endif
    559553#if N0120_MAX_TID_REF_CFG
    560554  ("MaxTidRefPresentFlag", m_maxTidRefPresentFlag, true, "max_tid_ref_present_flag (0: not present, 1: present(default)) " )
     
    572566  ("IlSampleOnlyPred%d",       m_ilSampleOnlyPred, 0, MAX_LAYERS, "Set inter_layer_sample_pred_only_flag for all slices")
    573567#endif
    574 #else
     568#else //SVC_EXTENSION
    575569  ("InputFile,i",           cfg_InputFile,     string(""), "Original YUV input file name")
    576570  ("BitstreamFile,b",       cfg_BitstreamFile, string(""), "Bitstream output file name")
     
    593587  ("ConfBottom",            m_confBottom,          0, "Bottom offset for window conformance mode 3")
    594588  ("FrameRate,-fr",         m_iFrameRate,          0, "Frame rate")
    595 #endif
     589#endif //SVC_EXTENSION
    596590
    597591  //Field coding parameters
     
    978972  m_BLSyntaxFile = cfg_BLSyntaxFile.empty() ? NULL : strdup(cfg_BLSyntaxFile.c_str());
    979973#endif
    980 #else
     974#else //SVC_EXTENSION
    981975  m_pchInputFile = cfg_InputFile.empty() ? NULL : strdup(cfg_InputFile.c_str());
    982976  m_pchBitstreamFile = cfg_BitstreamFile.empty() ? NULL : strdup(cfg_BitstreamFile.c_str());
    983977  m_pchReconFile = cfg_ReconFile.empty() ? NULL : strdup(cfg_ReconFile.c_str());
    984978  m_pchdQPFile = cfg_dQPFile.empty() ? NULL : strdup(cfg_dQPFile.c_str());
    985 #endif
     979#endif //SVC_EXTENSION
    986980
    987981  Char* pColumnWidth = cfg_ColumnWidth.empty() ? NULL: strdup(cfg_ColumnWidth.c_str());
     
    10421036    m_pRowHeight = NULL;
    10431037  }
    1044 #if SCALED_REF_LAYER_OFFSETS
     1038#if SVC_EXTENSION
    10451039  for(Int layer = 0; layer < MAX_LAYERS; layer++)
    10461040  {
     
    11121106    }
    11131107  }
    1114 #endif
    11151108#if VPS_EXTN_DIRECT_REF_LAYERS
    11161109#if M0457_PREDICTION_INDICATIONS
     
    12421235  }
    12431236#endif
     1237#endif //SVC_EXTENSION
    12441238  m_scalingListFile = cfg_ScalingListFile.empty() ? NULL : strdup(cfg_ScalingListFile.c_str());
    12451239
     
    25162510}
    25172511
    2518 #if SCALED_REF_LAYER_OFFSETS
     2512#if SVC_EXTENSION
    25192513Void TAppEncCfg::cfgStringToArray(Int **arr, string cfgString, Int numEntries, const char* logString)
    25202514{
     
    25492543  }
    25502544}
    2551 #endif
    25522545
    25532546#if FINAL_RPL_CHANGE_N0082
     
    27652758}
    27662759#endif
     2760#endif //SVC_EXTENSION
    27672761//! \}
Note: See TracChangeset for help on using the changeset viewer.