Changeset 448 in SHVCSoftware for branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp
- Timestamp:
- 8 Nov 2013, 06:17:03 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r445 r448 392 392 string* cfg_predLayerIdsPtr [MAX_LAYERS]; 393 393 #endif 394 #if SCALED_REF_LAYER_OFFSETS395 394 string cfg_scaledRefLayerLeftOffset [MAX_LAYERS]; 396 395 string cfg_scaledRefLayerTopOffset [MAX_LAYERS]; … … 403 402 string* cfg_scaledRefLayerRightOffsetPtr [MAX_LAYERS]; 404 403 string* cfg_scaledRefLayerBottomOffsetPtr [MAX_LAYERS]; 405 #endif406 404 #if RC_SHVC_HARMONIZATION 407 405 Bool* cfg_RCEnableRateControl [MAX_LAYERS]; … … 455 453 cfg_predLayerIdsPtr [layer] = &cfg_predLayerIds[layer]; 456 454 #endif 457 #if SCALED_REF_LAYER_OFFSETS458 455 cfg_numScaledRefLayerOffsets [layer] = &m_acLayerCfg[layer].m_numScaledRefLayerOffsets; 459 456 for(Int i = 0; i < MAX_LAYERS; i++) … … 464 461 cfg_scaledRefLayerBottomOffsetPtr[layer] = &cfg_scaledRefLayerBottomOffset[layer]; 465 462 } 466 #endif467 463 #if RC_SHVC_HARMONIZATION 468 464 cfg_RCEnableRateControl[layer] = &m_acLayerCfg[layer].m_RCEnableRateControl; … … 487 483 string cfg_tileSets; 488 484 #endif 489 #else 485 #else //SVC_EXTENSION 490 486 string cfg_InputFile; 491 487 string cfg_BitstreamFile; 492 488 string cfg_ReconFile; 493 489 string cfg_dQPFile; 494 #endif 490 #endif //SVC_EXTENSION 495 491 string cfg_ColumnWidth; 496 492 string cfg_RowHeight; … … 546 542 ("OutputBitDepthC", m_outputBitDepthC, 0, "As per OutputBitDepth but for chroma component. (default:InternalBitDepthC)") 547 543 ("InternalBitDepthC", m_internalBitDepthC, 0, "As per InternalBitDepth but for chroma component. (default:IntrenalBitDepth)") 548 #if SCALED_REF_LAYER_OFFSETS549 544 ("NumScaledRefLayerOffsets%d", cfg_numScaledRefLayerOffsets, 0, MAX_LAYERS, "Number of scaled offset layer sets ") 550 545 ("ScaledRefLayerLeftOffset%d", cfg_scaledRefLayerLeftOffsetPtr, string(""), MAX_LAYERS, "Horizontal offset of top-left luma sample of scaled base layer picture with respect to" … … 556 551 ("ScaledRefLayerBottomOffset%d", cfg_scaledRefLayerBottomOffsetPtr,string(""), MAX_LAYERS, "Vertical offset of bottom-right luma sample of scaled base layer picture with respect to" 557 552 " bottom-right luma sample of the EL picture, in units of two luma samples") 558 #endif559 553 #if N0120_MAX_TID_REF_CFG 560 554 ("MaxTidRefPresentFlag", m_maxTidRefPresentFlag, true, "max_tid_ref_present_flag (0: not present, 1: present(default)) " ) … … 572 566 ("IlSampleOnlyPred%d", m_ilSampleOnlyPred, 0, MAX_LAYERS, "Set inter_layer_sample_pred_only_flag for all slices") 573 567 #endif 574 #else 568 #else //SVC_EXTENSION 575 569 ("InputFile,i", cfg_InputFile, string(""), "Original YUV input file name") 576 570 ("BitstreamFile,b", cfg_BitstreamFile, string(""), "Bitstream output file name") … … 593 587 ("ConfBottom", m_confBottom, 0, "Bottom offset for window conformance mode 3") 594 588 ("FrameRate,-fr", m_iFrameRate, 0, "Frame rate") 595 #endif 589 #endif //SVC_EXTENSION 596 590 597 591 //Field coding parameters … … 978 972 m_BLSyntaxFile = cfg_BLSyntaxFile.empty() ? NULL : strdup(cfg_BLSyntaxFile.c_str()); 979 973 #endif 980 #else 974 #else //SVC_EXTENSION 981 975 m_pchInputFile = cfg_InputFile.empty() ? NULL : strdup(cfg_InputFile.c_str()); 982 976 m_pchBitstreamFile = cfg_BitstreamFile.empty() ? NULL : strdup(cfg_BitstreamFile.c_str()); 983 977 m_pchReconFile = cfg_ReconFile.empty() ? NULL : strdup(cfg_ReconFile.c_str()); 984 978 m_pchdQPFile = cfg_dQPFile.empty() ? NULL : strdup(cfg_dQPFile.c_str()); 985 #endif 979 #endif //SVC_EXTENSION 986 980 987 981 Char* pColumnWidth = cfg_ColumnWidth.empty() ? NULL: strdup(cfg_ColumnWidth.c_str()); … … 1042 1036 m_pRowHeight = NULL; 1043 1037 } 1044 #if S CALED_REF_LAYER_OFFSETS1038 #if SVC_EXTENSION 1045 1039 for(Int layer = 0; layer < MAX_LAYERS; layer++) 1046 1040 { … … 1112 1106 } 1113 1107 } 1114 #endif1115 1108 #if VPS_EXTN_DIRECT_REF_LAYERS 1116 1109 #if M0457_PREDICTION_INDICATIONS … … 1242 1235 } 1243 1236 #endif 1237 #endif //SVC_EXTENSION 1244 1238 m_scalingListFile = cfg_ScalingListFile.empty() ? NULL : strdup(cfg_ScalingListFile.c_str()); 1245 1239 … … 2516 2510 } 2517 2511 2518 #if S CALED_REF_LAYER_OFFSETS2512 #if SVC_EXTENSION 2519 2513 Void TAppEncCfg::cfgStringToArray(Int **arr, string cfgString, Int numEntries, const char* logString) 2520 2514 { … … 2549 2543 } 2550 2544 } 2551 #endif2552 2545 2553 2546 #if FINAL_RPL_CHANGE_N0082 … … 2765 2758 } 2766 2759 #endif 2760 #endif //SVC_EXTENSION 2767 2761 //! \}
Note: See TracChangeset for help on using the changeset viewer.