Changeset 1381 in SHVCSoftware
- Timestamp:
- 24 Jul 2015, 21:05:03 (9 years ago)
- Location:
- branches/SHM-dev
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/cfg/encoder_intra_scalable.cfg
r1322 r1381 96 96 97 97 #=========== Quantization Matrix ================= 98 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read99 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.98 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 99 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 100 100 101 101 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_intra_scalable10.cfg
r1322 r1381 95 95 96 96 #=========== Quantization Matrix ================= 97 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read98 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.97 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 98 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 99 99 100 100 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_lowdelay_P_scalable.cfg
r1322 r1381 101 101 102 102 #=========== Quantization Matrix ================= 103 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read104 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.103 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 104 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 105 105 106 106 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_lowdelay_P_scalable10.cfg
r1322 r1381 101 101 102 102 #=========== Quantization Matrix ================= 103 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read104 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.103 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 104 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 105 105 106 106 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_lowdelay_scalable.cfg
r1322 r1381 101 101 102 102 #=========== Quantization Matrix ================= 103 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read104 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.103 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 104 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 105 105 106 106 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_lowdelay_scalable10.cfg
r1322 r1381 101 101 102 102 #=========== Quantization Matrix ================= 103 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read104 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.103 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 104 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 105 105 106 106 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_randomaccess_scalable.cfg
r1322 r1381 105 105 106 106 #=========== Quantization Matrix ================= 107 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read108 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.107 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 108 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 109 109 110 110 #============ Lossless ================ -
branches/SHM-dev/cfg/encoder_randomaccess_scalable10.cfg
r1322 r1381 105 105 106 106 #=========== Quantization Matrix ================= 107 ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read108 ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix.107 #ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read 108 #ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. 109 109 110 110 #============ Lossless ================ -
branches/SHM-dev/cfg/layers.cfg
r1293 r1381 26 26 WaveFrontSynchro0 : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). 27 27 # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. 28 28 #=========== Quantization Matrix ================= 29 ScalingList0 : 0 # ScalingList 0 : off, 1 : default, 2 : file read 30 ScalingListFile0 : scaling_list0.txt # Scaling List file name. If file is not exist, use Default Matrix. 31 29 32 #============= LAYER 1 ================== 30 33 QP1 : 20 … … 48 51 WaveFrontSynchro1 : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). 49 52 # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. 50 53 #=========== Quantization Matrix ================= 54 ScalingList1 : 2 # ScalingList 0 : off, 1 : default, 2 : file read 55 ScalingListFile1 : scaling_list1.txt # Scaling List file name. If file is not exist, use Default Matrix. 56 51 57 NumLayerSets : 2 # Include default layer set, value of 0 not allowed 52 58 NumLayerInIdList1 : 2 # 0-th layer set is default, need not specify LayerSetLayerIdList0 or NumLayerInIdList0 -
branches/SHM-dev/cfg/layers_avcbase.cfg
r1293 r1381 45 45 WaveFrontSynchro1 : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). 46 46 # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. 47 #=========== Quantization Matrix ================= 48 ScalingList1 : 0 # ScalingList 0 : off, 1 : default, 2 : file read 49 ScalingListFile1 : scaling_list1.txt # Scaling List file name. If file is not exist, use Default Matrix. 47 50 48 51 NumLayerSets : 2 # Include default layer set, value of 0 not allowed -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1380 r1381 119 119 , m_snrInternalColourSpace(false) 120 120 , m_outputInternalColourSpace(false) 121 , m_scalingListFile()122 121 , m_elRapSliceBEnabled(0) 123 122 { … … 172 171 free(m_pchReconFile); 173 172 free(m_pchdQPFile); 174 #endif175 173 free(m_scalingListFile); 174 #endif 176 175 } 177 176 … … 900 899 Int* cfg_layerSwitchOffEnd[MAX_LAYERS]; 901 900 Int* cfg_layerPTLIdx[MAX_VPS_LAYER_IDX_PLUS1]; 901 string cfg_ScalingListFile[MAX_LAYERS]; 902 ScalingListMode* cfg_UseScalingListId[MAX_LAYERS]; 902 903 903 904 for( UInt layer = 0; layer < m_numLayers; layer++ ) … … 989 990 cfg_layerSwitchOffBegin[layer] = &m_apcLayerCfg[layer]->m_layerSwitchOffBegin; 990 991 cfg_layerSwitchOffEnd[layer] = &m_apcLayerCfg[layer]->m_layerSwitchOffEnd; 991 cfg_layerPTLIdx[layer] = &m_apcLayerCfg[layer]->m_layerPTLIdx; 992 cfg_layerPTLIdx[layer] = &m_apcLayerCfg[layer]->m_layerPTLIdx; 993 994 cfg_UseScalingListId[layer] = &m_apcLayerCfg[layer]->m_useScalingListId; 992 995 } 993 996 … … 1025 1028 string cfg_colourRemapSEIFileRoot; 1026 1029 #endif 1030 string cfg_ScalingListFile; 1027 1031 #endif //SVC_EXTENSION 1028 string cfg_ScalingListFile;1029 1032 1030 1033 Int tmpChromaFormat; … … 1459 1462 #if SVC_EXTENSION 1460 1463 ("WaveFrontSynchro%d", cfg_waveFrontSynchro, 0, m_numLayers, "0: no synchro; 1 synchro with TR; 2 TRR etc") 1464 ("ScalingList%d", cfg_UseScalingListId, SCALING_LIST_OFF, m_numLayers, "0/off: no scaling list, 1/default: default scaling lists, 2/file: scaling lists specified in ScalingListFile") 1465 ("ScalingListFile%d", cfg_ScalingListFile, string(""), m_numLayers, "Scaling list file name. Use an empty string to produce help.") 1461 1466 #else 1462 1467 ("WaveFrontSynchro", m_iWaveFrontSynchro, 0, "0: no synchro; 1 synchro with top-right-right") 1463 #endif1464 1468 ("ScalingList", m_useScalingListId, SCALING_LIST_OFF, "0/off: no scaling list, 1/default: default scaling lists, 2/file: scaling lists specified in ScalingListFile") 1465 1469 ("ScalingListFile", cfg_ScalingListFile, string(""), "Scaling list file name. Use an empty string to produce help.") 1470 #endif 1466 1471 ("SignHideFlag,-SBH", m_signHideFlag, true) 1467 1472 ("MaxNumMergeCand", m_maxNumMergeCand, 5u, "Maximum number of merge candidates") … … 1897 1902 m_tileRowHeight.clear(); 1898 1903 } 1899 1900 m_scalingListFile = cfg_ScalingListFile.empty() ? NULL : strdup(cfg_ScalingListFile.c_str()); 1901 1902 1903 1904 1904 1905 /* rules for input, output and internal bitdepths as per help text */ 1905 1906 #if SVC_EXTENSION 1906 1907 for( Int layer = 0; layer < m_numLayers; layer++ ) 1907 1908 { 1909 m_apcLayerCfg[layer]->m_scalingListFile = cfg_ScalingListFile[layer].empty() ? NULL : strdup(cfg_ScalingListFile[layer].c_str()); 1910 1908 1911 if( m_apcLayerCfg[layer]->m_layerId < 0 ) 1909 1912 { … … 2026 2029 } 2027 2030 #else 2031 m_scalingListFile = cfg_ScalingListFile.empty() ? NULL : strdup(cfg_ScalingListFile.c_str()); 2032 2028 2033 /* rules for input, output and internal bitdepths as per help text */ 2029 2034 if (m_MSBExtendedBitDepth[CHANNEL_TYPE_LUMA ] == 0) … … 4379 4384 } 4380 4385 printf("=== Common configuration settings === \n"); 4381 printf("Bitstream File: %s\n", m_pchBitstreamFile );4386 printf("Bitstream File : %s\n", m_pchBitstreamFile ); 4382 4387 #else //SVC_EXTENSION 4383 4388 printf("\n"); … … 4563 4568 printf(" WaveFrontSynchro:%d WaveFrontSubstreams:%d", 4564 4569 m_iWaveFrontSynchro, iWaveFrontSubstreams); 4565 #endif4566 4570 printf(" ScalingList:%d ", m_useScalingListId ); 4571 #endif 4567 4572 printf("TMVPMode:%d ", m_TMVPModeId ); 4568 4573 #if ADAPTIVE_QP_SELECTION -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1377 r1381 400 400 Bool m_RCForceIntraQP; ///< force all intra picture to use initial QP or not 401 401 #endif 402 #if !SVC_EXTENSION 402 403 ScalingListMode m_useScalingListId; ///< using quantization matrix 403 404 Char* m_scalingListFile; ///< quantization matrix file name 405 #endif 404 406 405 407 Bool m_TransquantBypassEnableFlag; ///< transquant_bypass_enable_flag setting in PPS. -
branches/SHM-dev/source/App/TAppEncoder/TAppEncLayerCfg.cpp
r1290 r1381 42 42 #if SVC_EXTENSION 43 43 TAppEncLayerCfg::TAppEncLayerCfg() 44 :m_cInputFile(string("")), 45 m_cReconFile(string("")), 46 m_conformanceMode( 0 ), 47 m_aidQP(NULL), 48 m_repFormatIdx (-1) 49 #if Q0074_COLOUR_REMAPPING_SEI 50 , m_colourRemapSEIFileRoot(string("")) 44 : m_cInputFile(string("")) 45 , m_cReconFile(string("")) 46 , m_conformanceMode( 0 ) 47 , m_scalingListFile(NULL) 48 , m_aidQP(NULL) 49 , m_repFormatIdx(-1) 50 #if Q0074_COLOUR_REMAPPING_SEI 51 , m_colourRemapSEIFileRoot(string("")) 51 52 #endif 52 53 { … … 108 109 } 109 110 #endif 111 free(m_scalingListFile); 110 112 } 111 113 … … 270 272 const Int iWaveFrontSubstreams = m_waveFrontSynchro ? (m_iSourceHeight + m_uiMaxCUHeight - 1) / m_uiMaxCUHeight : 1; 271 273 printf("WaveFrontSubstreams : %d\n", iWaveFrontSubstreams); 272 printf("PCM : %d ", (m_cAppEncCfg->getUsePCM() && (1<<m_cAppEncCfg->getPCMLog2MinSize()) <= m_uiMaxCUWidth)? 1 : 0); 274 printf("ScalingList : %d\n", m_useScalingListId ); 275 printf("PCM : %d\n", (m_cAppEncCfg->getUsePCM() && (1<<m_cAppEncCfg->getPCMLog2MinSize()) <= m_uiMaxCUWidth)? 1 : 0); 273 276 } 274 277 -
branches/SHM-dev/source/App/TAppEncoder/TAppEncLayerCfg.h
r1375 r1381 87 87 #endif 88 88 89 ScalingListMode m_useScalingListId; ///< using quantization matrix 90 Char* m_scalingListFile; ///< quantization matrix file name 91 89 92 Int m_maxTidIlRefPicsPlus1; 90 93 Int m_waveFrontSynchro; ///< 0: no WPP. >= 1: WPP is enabled, the "Top right" from which inheritance occurs is this LCU offset in the line above the current. … … 92 95 93 96 Int m_iQP; ///< QP value of key-picture (integer) 94 char* m_pchdQPFile; ///< QP offset for each slice (initialized from external file)97 Char* m_pchdQPFile; ///< QP offset for each slice (initialized from external file) 95 98 Int* m_aidQP; ///< array of slice QP values 96 99 TAppEncCfg* m_cAppEncCfg; ///< pointer to app encoder config -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1378 r1381 487 487 Int m_RCInitialQP = m_apcLayerCfg[layer]->getRCInitialQP(); 488 488 Bool m_RCForceIntraQP = m_apcLayerCfg[layer]->getRCForceIntraQP(); 489 490 ScalingListMode m_useScalingListId = m_apcLayerCfg[layer]->m_useScalingListId; 491 Char* m_scalingListFile = m_apcLayerCfg[layer]->m_scalingListFile; 489 492 #endif 490 493
Note: See TracChangeset for help on using the changeset viewer.