Changeset 1386 in 3DVCSoftware for trunk/source/Lib/TLibDecoder


Ignore:
Timestamp:
13 Nov 2015, 16:29:39 (9 years ago)
Author:
tech
Message:

Merged 15.1-dev1@1381.

Location:
trunk/source/Lib/TLibDecoder
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/SEIread.cpp

    r1356 r1386  
    6363#endif
    6464
    65 Void SEIReader::sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const Char *pSymbolName)
     65Void SEIReader::sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const TChar *pSymbolName)
    6666{
    6767  READ_CODE(uiLength, ruiCode, pSymbolName);
     
    7272}
    7373
    74 Void SEIReader::sei_read_uvlc(std::ostream *pOS, UInt& ruiCode, const Char *pSymbolName)
     74Void SEIReader::sei_read_uvlc(std::ostream *pOS, UInt& ruiCode, const TChar *pSymbolName)
    7575{
    7676  READ_UVLC(ruiCode, pSymbolName);
     
    8181}
    8282
    83 Void SEIReader::sei_read_svlc(std::ostream *pOS, Int& ruiCode, const Char *pSymbolName)
     83Void SEIReader::sei_read_svlc(std::ostream *pOS, Int& ruiCode, const TChar *pSymbolName)
    8484{
    8585  READ_SVLC(ruiCode, pSymbolName);
     
    9090}
    9191
    92 Void SEIReader::sei_read_flag(std::ostream *pOS, UInt& ruiCode, const Char *pSymbolName)
     92Void SEIReader::sei_read_flag(std::ostream *pOS, UInt& ruiCode, const TChar *pSymbolName)
    9393{
    9494  READ_FLAG(ruiCode, pSymbolName);
     
    9999}
    100100
    101 Void SEIReader::sei_read_string(std::ostream *pOS, UInt uiBufSize, UChar* pucCode, UInt& ruiLength, const Char *pSymbolName)
     101#if NH_MV
     102Void SEIReader::sei_read_string(std::ostream *pOS, UInt uiBufSize, UChar* pucCode, UInt& ruiLength, const TChar *pSymbolName)
    102103{
    103104  READ_STRING(uiBufSize, pucCode, ruiLength, pSymbolName);
     
    107108  }
    108109}
    109 
    110 #if NH_MV_SEI
    111110inline Void SEIReader::output_sei_message_header(SEI &sei, std::ostream *pDecodedMessageOutputStream, UInt payloadSize)
    112111#else
     
    118117    std::string seiMessageHdr(SEI::getSEIMessageString(sei.payloadType())); seiMessageHdr+=" SEI message";
    119118    (*pDecodedMessageOutputStream) << std::setfill('-') << std::setw(seiMessageHdr.size()) << "-" << std::setfill(' ') << "\n" << seiMessageHdr << " (" << payloadSize << " bytes)"<< "\n";
    120 #if NH_MV_SEI
     119#if NH_MV
    121120    (*pDecodedMessageOutputStream) << std::setfill(' ') << "LayerId: " << m_layerId << std::setw(2) << " Picture: " << m_decOrder << std::setw( 5 ) << std::endl;
    122121#endif
     
    133132 * unmarshal a single SEI message from bitstream bs
    134133 */
    135 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     134#if NH_MV
    136135Void SEIReader::parseSEImessage(TComInputBitstream* bs, SEIMessages& seis, const NalUnitType nalUnitType, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream)
    137136#else
     
    144143  do
    145144  {
    146 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     145#if NH_MV
    147146    xReadSEImessage(seis, nalUnitType, vps, sps, pDecodedMessageOutputStream);
    148147#else
     
    158157}
    159158
    160 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     159#if NH_MV
    161160Void SEIReader::xReadSEImessage(SEIMessages& seis, const NalUnitType nalUnitType, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream)
    162161#else
     
    281280    case SEI::SCALABLE_NESTING:
    282281      sei = new SEIScalableNesting;
    283 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     282#if NH_MV
    284283      xParseSEIScalableNesting((SEIScalableNesting&) *sei, nalUnitType, payloadSize, vps, sps, pDecodedMessageOutputStream);
    285284#else
     
    295294      xParseSEITimeCode((SEITimeCode&) *sei, payloadSize, pDecodedMessageOutputStream);
    296295      break;
    297     case SEI::CHROMA_SAMPLING_FILTER_HINT:
    298       sei = new SEIChromaSamplingFilterHint;
    299       xParseSEIChromaSamplingFilterHint((SEIChromaSamplingFilterHint&) *sei, payloadSize/*, sps*/, pDecodedMessageOutputStream);
     296    case SEI::CHROMA_RESAMPLING_FILTER_HINT:
     297      sei = new SEIChromaResamplingFilterHint;
     298      xParseSEIChromaResamplingFilterHint((SEIChromaResamplingFilterHint&) *sei, payloadSize, pDecodedMessageOutputStream);
    300299      //}
    301300      break;
     
    304303      xParseSEIKneeFunctionInfo((SEIKneeFunctionInfo&) *sei, payloadSize, pDecodedMessageOutputStream);
    305304      break;
     305    case SEI::COLOUR_REMAPPING_INFO:
     306      sei = new SEIColourRemappingInfo;
     307      xParseSEIColourRemappingInfo((SEIColourRemappingInfo&) *sei, payloadSize, pDecodedMessageOutputStream);
     308      break;
    306309    case SEI::MASTERING_DISPLAY_COLOUR_VOLUME:
    307310      sei = new SEIMasteringDisplayColourVolume;
    308311      xParseSEIMasteringDisplayColourVolume((SEIMasteringDisplayColourVolume&) *sei, payloadSize, pDecodedMessageOutputStream);
    309312      break;
    310 #if !NH_MV_SEI
    311     case SEI::SUB_BITSTREAM_PROPERTY:
    312       sei = new SEISubBitstreamProperty;
    313       xParseSEISubBitstreamProperty((SEISubBitstreamProperty&) *sei, payloadSize, pDecodedMessageOutputStream );
    314       break;
    315 #else
    316 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     313#if NH_MV
    317314    case SEI::LAYERS_NOT_PRESENT:
    318315      if (!vps)
     
    326323      }
    327324      break;
    328 #endif
    329325    case SEI::INTER_LAYER_CONSTRAINED_TILE_SETS:
    330326      sei = new SEIInterLayerConstrainedTileSets;
     
    367363      xParseSEIThreeDimensionalReferenceDisplaysInfo((SEIThreeDimensionalReferenceDisplaysInfo&) *sei, payloadSize, pDecodedMessageOutputStream );
    368364      break;
    369 #if SEI_DRI_F0169
    370365    case SEI::DEPTH_REPRESENTATION_INFO:
    371366        sei = new SEIDepthRepresentationInfo;
    372367        xParseSEIDepthRepresentationInfo((SEIDepthRepresentationInfo&) *sei, payloadSize, pDecodedMessageOutputStream );
    373368        break;
    374 #endif
    375369    case SEI::MULTIVIEW_SCENE_INFO:
    376370      sei = new SEIMultiviewSceneInfo;
     
    531525  UInt val;
    532526  sei_read_code( pDecodedMessageOutputStream, 8, val, "hash_type");
    533   sei.method = static_cast<SEIDecodedPictureHash::Method>(val); bytesRead++;
    534 
    535   const Char *traceString="\0";
     527  sei.method = static_cast<HashType>(val); bytesRead++;
     528
     529  const TChar *traceString="\0";
    536530  switch (sei.method)
    537531  {
    538     case SEIDecodedPictureHash::MD5: traceString="picture_md5"; break;
    539     case SEIDecodedPictureHash::CRC: traceString="picture_crc"; break;
    540     case SEIDecodedPictureHash::CHECKSUM: traceString="picture_checksum"; break;
     532    case HASHTYPE_MD5: traceString="picture_md5"; break;
     533    case HASHTYPE_CRC: traceString="picture_crc"; break;
     534    case HASHTYPE_CHECKSUM: traceString="picture_checksum"; break;
    541535    default: assert(false); break;
    542536  }
     
    916910}
    917911
    918 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     912#if NH_MV
    919913Void SEIReader::xParseSEIScalableNesting(SEIScalableNesting& sei, const NalUnitType nalUnitType, UInt payloadSize, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream)
    920914#else
     
    962956  do
    963957  {
    964 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     958#if NH_MV
    965959    xReadSEImessage(sei.m_nestedSEIs, nalUnitType, vps, sps, pDecodedMessageOutputStream);
    966960#else
     
    974968  }
    975969}
    976 
    977 #if NH_MV
    978 #if !NH_MV_SEI
    979 Void SEIReader::xParseSEISubBitstreamProperty(SEISubBitstreamProperty &sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream )
    980 {
    981   UInt code;
    982   output_sei_message_header(sei, pDecodedMessageOutputStream, payloadSize);
    983   sei_read_code( pDecodedMessageOutputStream, 4, code, "active_vps_id" );                      sei.m_activeVpsId = code;
    984   sei_read_uvlc( pDecodedMessageOutputStream, code, "num_additional_sub_streams_minus1" );     sei.m_numAdditionalSubStreams = code + 1;
    985 
    986   xResizeSubBitstreamPropertySeiArrays(sei);
    987   for( Int i = 0; i < sei.m_numAdditionalSubStreams; i++ )
    988   {
    989     sei_read_code( pDecodedMessageOutputStream,   2, code, "sub_bitstream_mode[i]"           ); sei.m_subBitstreamMode[i] = code;
    990     sei_read_uvlc( pDecodedMessageOutputStream,  code, "output_layer_set_idx_to_vps[i]"      ); sei.m_outputLayerSetIdxToVps[i] = code;
    991     sei_read_code( pDecodedMessageOutputStream,   3, code, "highest_sub_layer_id[i]"         ); sei.m_highestSublayerId[i] = code;
    992     sei_read_code( pDecodedMessageOutputStream,  16, code, "avg_bit_rate[i]"                 ); sei.m_avgBitRate[i] = code;
    993     sei_read_code( pDecodedMessageOutputStream,  16, code, "max_bit_rate[i]"                 ); sei.m_maxBitRate[i] = code;
    994   }
    995 }
    996 
    997 Void SEIReader::xResizeSubBitstreamPropertySeiArrays(SEISubBitstreamProperty &sei)
    998 {
    999   sei.m_subBitstreamMode.resize( sei.m_numAdditionalSubStreams );
    1000   sei.m_outputLayerSetIdxToVps.resize( sei.m_numAdditionalSubStreams );
    1001   sei.m_highestSublayerId.resize( sei.m_numAdditionalSubStreams );
    1002   sei.m_avgBitRate.resize( sei.m_numAdditionalSubStreams );
    1003   sei.m_maxBitRate.resize( sei.m_numAdditionalSubStreams );
    1004 }
    1005 #endif
    1006 #endif
    1007970
    1008971
     
    11231086}
    11241087
    1125 Void SEIReader::xParseSEIChromaSamplingFilterHint(SEIChromaSamplingFilterHint& sei, UInt payloadSize/*, TComSPS* sps*/, std::ostream *pDecodedMessageOutputStream)
     1088Void SEIReader::xParseSEIChromaResamplingFilterHint(SEIChromaResamplingFilterHint& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream)
    11261089{
    11271090  UInt uiCode;
     
    11301093  sei_read_code( pDecodedMessageOutputStream, 8, uiCode, "ver_chroma_filter_idc"); sei.m_verChromaFilterIdc = uiCode;
    11311094  sei_read_code( pDecodedMessageOutputStream, 8, uiCode, "hor_chroma_filter_idc"); sei.m_horChromaFilterIdc = uiCode;
    1132   sei_read_flag( pDecodedMessageOutputStream, uiCode, "ver_filtering_process_flag"); sei.m_verFilteringProcessFlag = uiCode;
     1095  sei_read_flag( pDecodedMessageOutputStream, uiCode, "ver_filtering_field_processing_flag"); sei.m_verFilteringFieldProcessingFlag = uiCode;
    11331096  if(sei.m_verChromaFilterIdc == 1 || sei.m_horChromaFilterIdc == 1)
    11341097  {
     
    11361099    if(sei.m_verChromaFilterIdc == 1)
    11371100    {
    1138       sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "num_vertical_filters"); sei.m_numVerticalFilters = uiCode;
    1139       if(sei.m_numVerticalFilters > 0)
    1140       {
    1141         sei.m_verTapLengthMinus1 = (Int*)malloc(sei.m_numVerticalFilters * sizeof(Int));
    1142         sei.m_verFilterCoeff = (Int**)malloc(sei.m_numVerticalFilters * sizeof(Int*));
    1143         for(Int i = 0; i < sei.m_numVerticalFilters; i ++)
    1144         {
    1145           sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "ver_tap_length_minus_1"); sei.m_verTapLengthMinus1[i] = uiCode;
    1146           sei.m_verFilterCoeff[i] = (Int*)malloc(sei.m_verTapLengthMinus1[i] * sizeof(Int));
    1147           for(Int j = 0; j < sei.m_verTapLengthMinus1[i]; j ++)
     1101      UInt numVerticalFilters;
     1102      sei_read_uvlc( pDecodedMessageOutputStream, numVerticalFilters, "num_vertical_filters"); sei.m_verFilterCoeff.resize(numVerticalFilters);
     1103      if(numVerticalFilters > 0)
     1104      {
     1105        for(Int i = 0; i < numVerticalFilters; i++)
     1106        {
     1107          UInt verTapLengthMinus1;
     1108          sei_read_uvlc( pDecodedMessageOutputStream, verTapLengthMinus1, "ver_tap_length_minus_1"); sei.m_verFilterCoeff[i].resize(verTapLengthMinus1+1);
     1109          for(Int j = 0; j < (verTapLengthMinus1 + 1); j++)
    11481110          {
    11491111            sei_read_svlc( pDecodedMessageOutputStream, sei.m_verFilterCoeff[i][j], "ver_filter_coeff");
     
    11541116    if(sei.m_horChromaFilterIdc == 1)
    11551117    {
    1156       sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "num_horizontal_filters"); sei.m_numHorizontalFilters = uiCode;
    1157       if(sei.m_numHorizontalFilters  > 0)
    1158       {
    1159         sei.m_horTapLengthMinus1 = (Int*)malloc(sei.m_numHorizontalFilters * sizeof(Int));
    1160         sei.m_horFilterCoeff = (Int**)malloc(sei.m_numHorizontalFilters * sizeof(Int*));
    1161         for(Int i = 0; i < sei.m_numHorizontalFilters; i ++)
    1162         {
    1163           sei_read_uvlc( pDecodedMessageOutputStream, uiCode, "hor_tap_length_minus_1"); sei.m_horTapLengthMinus1[i] = uiCode;
    1164           sei.m_horFilterCoeff[i] = (Int*)malloc(sei.m_horTapLengthMinus1[i] * sizeof(Int));
    1165           for(Int j = 0; j < sei.m_horTapLengthMinus1[i]; j ++)
     1118      UInt numHorizontalFilters;
     1119      sei_read_uvlc( pDecodedMessageOutputStream, numHorizontalFilters, "num_horizontal_filters"); sei.m_horFilterCoeff.resize(numHorizontalFilters);
     1120      if(numHorizontalFilters  > 0)
     1121      {
     1122        for(Int i = 0; i < numHorizontalFilters; i++)
     1123        {
     1124          UInt horTapLengthMinus1;
     1125          sei_read_uvlc( pDecodedMessageOutputStream, horTapLengthMinus1, "hor_tap_length_minus_1"); sei.m_horFilterCoeff[i].resize(horTapLengthMinus1+1);
     1126          for(Int j = 0; j < (horTapLengthMinus1 + 1); j++)
    11661127          {
    11671128            sei_read_svlc( pDecodedMessageOutputStream, sei.m_horFilterCoeff[i][j], "hor_filter_coeff");
     
    12001161}
    12011162
     1163Void SEIReader::xParseSEIColourRemappingInfo(SEIColourRemappingInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream)
     1164{
     1165  UInt  uiVal;
     1166  Int   iVal;
     1167  output_sei_message_header(sei, pDecodedMessageOutputStream, payloadSize);
     1168
     1169  sei_read_uvlc( pDecodedMessageOutputStream, uiVal, "colour_remap_id" );          sei.m_colourRemapId = uiVal;
     1170  sei_read_flag( pDecodedMessageOutputStream, uiVal, "colour_remap_cancel_flag" ); sei.m_colourRemapCancelFlag = uiVal;
     1171  if( !sei.m_colourRemapCancelFlag )
     1172  {
     1173    sei_read_flag( pDecodedMessageOutputStream, uiVal, "colour_remap_persistence_flag" );                sei.m_colourRemapPersistenceFlag = uiVal;
     1174    sei_read_flag( pDecodedMessageOutputStream, uiVal, "colour_remap_video_signal_info_present_flag" );  sei.m_colourRemapVideoSignalInfoPresentFlag = uiVal;
     1175    if ( sei.m_colourRemapVideoSignalInfoPresentFlag )
     1176    {
     1177      sei_read_flag( pDecodedMessageOutputStream, uiVal,    "colour_remap_full_range_flag" );            sei.m_colourRemapFullRangeFlag = uiVal;
     1178      sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "colour_remap_primaries" );                  sei.m_colourRemapPrimaries = uiVal;
     1179      sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "colour_remap_transfer_function" );          sei.m_colourRemapTransferFunction = uiVal;
     1180      sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "colour_remap_matrix_coefficients" );        sei.m_colourRemapMatrixCoefficients = uiVal;
     1181    }
     1182    sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "colour_remap_input_bit_depth" );              sei.m_colourRemapInputBitDepth = uiVal;
     1183    sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "colour_remap_bit_depth" );                    sei.m_colourRemapBitDepth = uiVal;
     1184 
     1185    for( Int c=0 ; c<3 ; c++ )
     1186    {
     1187      sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "pre_lut_num_val_minus1[c]" ); sei.m_preLutNumValMinus1[c] = (uiVal==0) ? 1 : uiVal;
     1188      sei.m_preLut[c].resize(sei.m_preLutNumValMinus1[c]+1);
     1189      if( uiVal> 0 )
     1190      {
     1191        for ( Int i=0 ; i<=sei.m_preLutNumValMinus1[c] ; i++ )
     1192        {
     1193          sei_read_code( pDecodedMessageOutputStream, (( sei.m_colourRemapInputBitDepth   + 7 ) >> 3 ) << 3, uiVal, "pre_lut_coded_value[c][i]" );  sei.m_preLut[c][i].codedValue  = uiVal;
     1194          sei_read_code( pDecodedMessageOutputStream, (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, uiVal, "pre_lut_target_value[c][i]" ); sei.m_preLut[c][i].targetValue = uiVal;
     1195        }
     1196      }
     1197      else // pre_lut_num_val_minus1[c] == 0
     1198      {
     1199        sei.m_preLut[c][0].codedValue  = 0;
     1200        sei.m_preLut[c][0].targetValue = 0;
     1201        sei.m_preLut[c][1].codedValue  = (1 << sei.m_colourRemapInputBitDepth) - 1 ;
     1202        sei.m_preLut[c][1].targetValue = (1 << sei.m_colourRemapBitDepth) - 1 ;
     1203      }
     1204    }
     1205
     1206    sei_read_flag( pDecodedMessageOutputStream, uiVal,      "colour_remap_matrix_present_flag" ); sei.m_colourRemapMatrixPresentFlag = uiVal;
     1207    if( sei.m_colourRemapMatrixPresentFlag )
     1208    {
     1209      sei_read_code( pDecodedMessageOutputStream, 4, uiVal, "log2_matrix_denom" ); sei.m_log2MatrixDenom = uiVal;
     1210      for ( Int c=0 ; c<3 ; c++ )
     1211      {
     1212        for ( Int i=0 ; i<3 ; i++ )
     1213        {
     1214          sei_read_svlc( pDecodedMessageOutputStream, iVal, "colour_remap_coeffs[c][i]" ); sei.m_colourRemapCoeffs[c][i] = iVal;
     1215        }
     1216      }
     1217    }
     1218    else // setting default matrix (I3)
     1219    {
     1220      sei.m_log2MatrixDenom = 10;
     1221      for ( Int c=0 ; c<3 ; c++ )
     1222      {
     1223        for ( Int i=0 ; i<3 ; i++ )
     1224        {
     1225          sei.m_colourRemapCoeffs[c][i] = (c==i) << sei.m_log2MatrixDenom;
     1226        }
     1227      }
     1228    }
     1229    for( Int c=0 ; c<3 ; c++ )
     1230    {
     1231      sei_read_code( pDecodedMessageOutputStream, 8, uiVal, "post_lut_num_val_minus1[c]" ); sei.m_postLutNumValMinus1[c] = (uiVal==0) ? 1 : uiVal;
     1232      sei.m_postLut[c].resize(sei.m_postLutNumValMinus1[c]+1);
     1233      if( uiVal > 0 )
     1234      {
     1235        for ( Int i=0 ; i<=sei.m_postLutNumValMinus1[c] ; i++ )
     1236        {
     1237          sei_read_code( pDecodedMessageOutputStream, (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, uiVal, "post_lut_coded_value[c][i]" );  sei.m_postLut[c][i].codedValue = uiVal;
     1238          sei_read_code( pDecodedMessageOutputStream, (( sei.m_colourRemapBitDepth + 7 ) >> 3 ) << 3, uiVal, "post_lut_target_value[c][i]" ); sei.m_postLut[c][i].targetValue = uiVal;
     1239        }
     1240      }
     1241      else
     1242      {
     1243        sei.m_postLut[c][0].codedValue  = 0;
     1244        sei.m_postLut[c][0].targetValue = 0;
     1245        sei.m_postLut[c][1].targetValue = (1 << sei.m_colourRemapBitDepth) - 1;
     1246        sei.m_postLut[c][1].codedValue  = (1 << sei.m_colourRemapBitDepth) - 1;
     1247      }
     1248    }
     1249  }
     1250}
     1251
     1252
    12021253Void SEIReader::xParseSEIMasteringDisplayColourVolume(SEIMasteringDisplayColourVolume& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream)
    12031254{
     
    12211272  sei_read_code( pDecodedMessageOutputStream, 32, code, "min_display_mastering_luminance" ); sei.values.minLuminance = code;
    12221273}
    1223 
    1224 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     1274#if NH_MV
    12251275Void SEIReader::xParseSEILayersNotPresent(SEILayersNotPresent &sei, UInt payloadSize, const TComVPS *vps, std::ostream *pDecodedMessageOutputStream)
    12261276{
     
    12391289  }
    12401290};
    1241 #endif
    12421291
    12431292Void SEIReader::xParseSEIInterLayerConstrainedTileSets(SEIInterLayerConstrainedTileSets& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream)
     
    15061555};
    15071556
    1508 #if SEI_DRI_F0169
    15091557Void SEIReader::xParseSEIDepthRepInfoElement(double& f,std::ostream *pDecodedMessageOutputStream)
    15101558{
     
    16091657    }
    16101658}
    1611 #endif
     1659
    16121660Void SEIReader::xParseSEIMultiviewSceneInfo(SEIMultiviewSceneInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream)
    16131661{
     
    18201868};
    18211869#endif
     1870#endif
    18221871
    18231872//! \}
  • trunk/source/Lib/TLibDecoder/SEIread.h

    r1356 r1386  
    5656  SEIReader() {};
    5757  virtual ~SEIReader() {};
    58 #if NH_MV_LAYERS_NOT_PRESENT_SEI
    59   Void parseSEImessage(TComInputBitstream* bs, SEIMessages& seis, const NalUnitType nalUnitType, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream);
     58#if NH_MV
     59  Void setLayerId( Int   layerId ) { m_layerId = layerId; };
     60  Void setDecOrder( Int64 decOrder ) { m_decOrder = decOrder; };
     61  Void parseSEImessage( TComInputBitstream* bs, SEIMessages& seis, const NalUnitType nalUnitType, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream );
    6062#else
    6163  Void parseSEImessage(TComInputBitstream* bs, SEIMessages& seis, const NalUnitType nalUnitType, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream);
    6264#endif
    63 #if NH_MV_SEI
    64   Void setLayerId                            ( Int   layerId )   { m_layerId  = layerId; };
    65   Void setDecOrder                           ( Int64 decOrder )  { m_decOrder = decOrder; };
    66 #endif
    6765protected:
    68 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     66#if NH_MV
    6967  Void xReadSEImessage                        (SEIMessages& seis, const NalUnitType nalUnitType, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream);
    7068#else
     
    8684  Void xParseSEIToneMappingInfo               (SEIToneMappingInfo& sei,               UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    8785  Void xParseSEISOPDescription                (SEISOPDescription &sei,                UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    88 #if NH_MV_LAYERS_NOT_PRESENT_SEI
     86#if NH_MV
    8987  Void xParseSEIScalableNesting               (SEIScalableNesting& sei, const NalUnitType nalUnitType, UInt payloadSize, const TComVPS *vps, const TComSPS *sps, std::ostream *pDecodedMessageOutputStream);
    9088#else
     
    9391  Void xParseSEITempMotionConstraintsTileSets (SEITempMotionConstrainedTileSets& sei, UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    9492  Void xParseSEITimeCode                      (SEITimeCode& sei,                      UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    95   Void xParseSEIChromaSamplingFilterHint      (SEIChromaSamplingFilterHint& sei,      UInt payloadSize/*,TComSPS* */,       std::ostream *pDecodedMessageOutputStream);
     93  Void xParseSEIChromaResamplingFilterHint    (SEIChromaResamplingFilterHint& sei,    UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    9694  Void xParseSEIKneeFunctionInfo              (SEIKneeFunctionInfo& sei,              UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    9795  Void xParseSEIMasteringDisplayColourVolume  (SEIMasteringDisplayColourVolume& sei,  UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
     96  Void xParseSEIColourRemappingInfo           (SEIColourRemappingInfo& sei,           UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    9897#if NH_MV
    99 #if !NH_MV_SEI
    100   Void  xParseSEISubBitstreamProperty         (SEISubBitstreamProperty &sei        ,  UInt payloadSize,                     std::ostream *pDecodedMessageOutputStream);
    101   Void  xResizeSubBitstreamPropertySeiArrays  (SEISubBitstreamProperty &sei);
    102 #endif
    103 #endif
    104 #if NH_MV_LAYERS_NOT_PRESENT_SEI
    10598  Void xParseSEILayersNotPresent              (SEILayersNotPresent &sei, UInt payloadSize, const TComVPS *vps ,std::ostream *pDecodedMessageOutputStream);
    106 #endif
    10799  Void xParseSEIInterLayerConstrainedTileSets (SEIInterLayerConstrainedTileSets& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    108100#if NH_MV_SEI_TBD
     
    118110#endif
    119111  Void xParseSEIThreeDimensionalReferenceDisplaysInfo (SEIThreeDimensionalReferenceDisplaysInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    120 #if SEI_DRI_F0169
    121112  Void xParseSEIDepthRepInfoElement           (double &f,std::ostream *pDecodedMessageOutputStream);
    122113  Void xParseSEIDepthRepresentationInfo       (SEIDepthRepresentationInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    123 #endif
    124114  Void xParseSEIMultiviewSceneInfo            (SEIMultiviewSceneInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    125 
    126115  Void xParseSEIMultiviewAcquisitionInfo      (SEIMultiviewAcquisitionInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    127 
    128 #if NH_MV_SEI
    129116  Void xParseSEIMultiviewViewPosition         (SEIMultiviewViewPosition& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    130 #endif
    131117#if NH_3D
    132118  Void xParseSEIAlternativeDepthInfo          (SEIAlternativeDepthInfo& sei, UInt payloadSize, std::ostream *pDecodedMessageOutputStream);
    133119#endif
    134 
    135   Void sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const Char *pSymbolName);
    136   Void sei_read_uvlc(std::ostream *pOS,                UInt& ruiCode, const Char *pSymbolName);
    137   Void sei_read_svlc(std::ostream *pOS,                Int&  ruiCode, const Char *pSymbolName);
    138   Void sei_read_flag(std::ostream *pOS,                UInt& ruiCode, const Char *pSymbolName);
    139   Void sei_read_string(std::ostream *pOS, UInt uiBufSize, UChar* pucCode, UInt& ruiLength, const Char *pSymbolName);
    140 #if NH_MV_SEI
     120#endif
     121  Void sei_read_code(std::ostream *pOS, UInt uiLength, UInt& ruiCode, const TChar *pSymbolName);
     122  Void sei_read_uvlc(std::ostream *pOS,                UInt& ruiCode, const TChar *pSymbolName);
     123  Void sei_read_svlc(std::ostream *pOS,                Int&  ruiCode, const TChar *pSymbolName);
     124  Void sei_read_flag(std::ostream *pOS,                UInt& ruiCode, const TChar *pSymbolName);
     125#if NH_MV
     126  Void sei_read_string(std::ostream *pOS, UInt uiBufSize, UChar* pucCode, UInt& ruiLength, const TChar *pSymbolName);
    141127  inline Void output_sei_message_header(SEI &sei, std::ostream *pDecodedMessageOutputStream, UInt payloadSize);
    142128private:
  • trunk/source/Lib/TLibDecoder/SyntaxElementParser.cpp

    r1356 r1386  
    4949#if ENC_DEC_TRACE
    5050
    51 Void  SyntaxElementParser::xReadCodeTr           (UInt length, UInt& rValue, const Char *pSymbolName)
     51Void  SyntaxElementParser::xReadCodeTr           (UInt length, UInt& rValue, const TChar *pSymbolName)
    5252{
    5353#if RExt__DECODER_DEBUG_BIT_STATISTICS
     
    5656  xReadCode (length, rValue);
    5757#endif
    58 #if H_MV_ENC_DEC_TRAC
     58#if NH_MV_ENC_DEC_TRAC
    5959  if ( g_disableHLSTrace || !g_HLSTraceEnable )
    6060  {
     
    8080}
    8181
    82 Void  SyntaxElementParser::xReadUvlcTr           (UInt& rValue, const Char *pSymbolName)
     82Void  SyntaxElementParser::xReadUvlcTr           (UInt& rValue, const TChar *pSymbolName)
    8383{
    8484#if RExt__DECODER_DEBUG_BIT_STATISTICS
     
    8787  xReadUvlc (rValue);
    8888#endif
    89 #if H_MV_ENC_DEC_TRAC
     89#if NH_MV_ENC_DEC_TRAC
    9090  if ( g_disableHLSTrace || !g_HLSTraceEnable )
    9191  {
     
    104104}
    105105
    106 Void  SyntaxElementParser::xReadSvlcTr           (Int& rValue, const Char *pSymbolName)
     106Void  SyntaxElementParser::xReadSvlcTr           (Int& rValue, const TChar *pSymbolName)
    107107{
    108108#if RExt__DECODER_DEBUG_BIT_STATISTICS
     
    111111  xReadSvlc (rValue);
    112112#endif
    113 #if H_MV_ENC_DEC_TRAC
     113#if NH_MV_ENC_DEC_TRAC
    114114  if ( g_disableHLSTrace || !g_HLSTraceEnable )
    115115  {
     
    128128}
    129129
    130 Void  SyntaxElementParser::xReadFlagTr           (UInt& rValue, const Char *pSymbolName)
     130Void  SyntaxElementParser::xReadFlagTr           (UInt& rValue, const TChar *pSymbolName)
    131131{
    132132#if RExt__DECODER_DEBUG_BIT_STATISTICS
     
    135135  xReadFlag (rValue);
    136136#endif
    137 #if H_MV_ENC_DEC_TRAC
     137#if NH_MV_ENC_DEC_TRAC
    138138  if ( g_disableHLSTrace || !g_HLSTraceEnable )
    139139  {
     
    152152}
    153153
    154 Void  SyntaxElementParser::xReadStringTr        (UInt buSize, UChar *pValue, UInt& rLength, const Char *pSymbolName)
     154#if NH_MV
     155Void  SyntaxElementParser::xReadStringTr        (UInt buSize, UChar *pValue, UInt& rLength, const TChar *pSymbolName)
    155156{
    156157#if RExt__DECODER_DEBUG_BIT_STATISTICS
     
    163164  fflush ( g_hTrace );
    164165}
    165 
     166#endif
    166167Void  xTraceAccessUnitDelimiter ()
    167168{
     
    181182// ====================================================================================================================
    182183#if RExt__DECODER_DEBUG_BIT_STATISTICS
    183 Void SyntaxElementParser::xReadCode (UInt uiLength, UInt& ruiCode, const Char *pSymbolName)
     184Void SyntaxElementParser::xReadCode (UInt uiLength, UInt& ruiCode, const TChar *pSymbolName)
    184185#else
    185186Void SyntaxElementParser::xReadCode (UInt uiLength, UInt& ruiCode)
     
    194195
    195196#if RExt__DECODER_DEBUG_BIT_STATISTICS
    196 Void SyntaxElementParser::xReadUvlc( UInt& ruiVal, const Char *pSymbolName)
     197Void SyntaxElementParser::xReadUvlc( UInt& ruiVal, const TChar *pSymbolName)
    197198#else
    198199Void SyntaxElementParser::xReadUvlc( UInt& ruiVal)
     
    232233
    233234#if RExt__DECODER_DEBUG_BIT_STATISTICS
    234 Void SyntaxElementParser::xReadSvlc( Int& riVal, const Char *pSymbolName)
     235Void SyntaxElementParser::xReadSvlc( Int& riVal, const TChar *pSymbolName)
    235236#else
    236237Void SyntaxElementParser::xReadSvlc( Int& riVal)
     
    270271
    271272#if RExt__DECODER_DEBUG_BIT_STATISTICS
    272 Void SyntaxElementParser::xReadFlag (UInt& ruiCode, const Char *pSymbolName)
     273Void SyntaxElementParser::xReadFlag (UInt& ruiCode, const TChar *pSymbolName)
    273274#else
    274275Void SyntaxElementParser::xReadFlag (UInt& ruiCode)
     
    281282}
    282283
    283 #if RExt__DECODER_DEBUG_BIT_STATISTICS
    284 Void  SyntaxElementParser::xReadString  (UInt bufSize, UChar *pVal, UInt& rLength, const Char *pSymbolName)
     284#if NH_MV
     285#if RExt__DECODER_DEBUG_BIT_STATISTICS
     286Void  SyntaxElementParser::xReadString  (UInt bufSize, UChar *pVal, UInt& rLength, const TChar *pSymbolName)
    285287#else
    286288Void  SyntaxElementParser::xReadString  (UInt bufSize, UChar *pVal, UInt& rLength)
     
    302304  assert( pVal[rLength] == 0 ); 
    303305}
     306#endif
    304307
    305308Void SyntaxElementParser::xReadRbspTrailingBits()
  • trunk/source/Lib/TLibDecoder/SyntaxElementParser.h

    r1356 r1386  
    4949#define READ_SVLC(        code, name)     xReadSvlcTr (         code, name )
    5050#define READ_FLAG(        code, name)     xReadFlagTr (         code, name )
     51#if NH_MV
    5152#define READ_STRING(bufSize, code, length, name)   xReadStringTr ( bufSize, code, length, name )
    52 
     53#endif
    5354#else
    5455
     
    5960#define READ_SVLC(        code, name)     xReadSvlc (         code, name )
    6061#define READ_FLAG(        code, name)     xReadFlag (         code, name )
     62#if NH_MV
    6163#define READ_STRING(bufSize, code, length, name)   xReadString ( bufSize, code, length, name )
    62 
     64#endif
    6365#else
    6466
     
    6769#define READ_SVLC(        code, name)     xReadSvlc (         code )
    6870#define READ_FLAG(        code, name)     xReadFlag (         code )
     71#if NH_MV
    6972#define READ_STRING(bufSize, code, length, name)   xReadString ( bufSize, code, length )
     73#endif
    7074
    7175#endif
     
    9195
    9296#if RExt__DECODER_DEBUG_BIT_STATISTICS
    93   Void  xReadCode    ( UInt   length, UInt& val, const Char *pSymbolName );
    94   Void  xReadUvlc    ( UInt&  val, const Char *pSymbolName );
    95   Void  xReadSvlc    ( Int&   val, const Char *pSymbolName );
    96   Void  xReadFlag    ( UInt&  val, const Char *pSymbolName );
    97   Void  xReadString  ( UInt bufSize, UChar *val, UInt& length, const Char *pSymbolName);
     97  Void  xReadCode    ( UInt   length, UInt& val, const TChar *pSymbolName );
     98  Void  xReadUvlc    ( UInt&  val, const TChar *pSymbolName );
     99  Void  xReadSvlc    ( Int&   val, const TChar *pSymbolName );
     100  Void  xReadFlag    ( UInt&  val, const TChar *pSymbolName );
     101#if NH_MV
     102  Void  xReadString  ( UInt bufSize, UChar *val, UInt& length, const TChar *pSymbolName);
     103#endif
    98104#else
    99105  Void  xReadCode    ( UInt   length, UInt& val );
     
    101107  Void  xReadSvlc    ( Int&   val );
    102108  Void  xReadFlag    ( UInt&  val );
     109#if NH_MV
    103110  Void  xReadString  ( UInt bufSize, UChar *val, UInt& length);
    104111#endif
     112#endif
    105113#if ENC_DEC_TRACE
    106   Void  xReadCodeTr  (UInt  length, UInt& rValue, const Char *pSymbolName);
    107   Void  xReadUvlcTr  (              UInt& rValue, const Char *pSymbolName);
    108   Void  xReadSvlcTr  (               Int& rValue, const Char *pSymbolName);
    109   Void  xReadFlagTr  (              UInt& rValue, const Char *pSymbolName);
    110   Void  xReadStringTr(UInt bufSize, UChar *pValue, UInt& rLength, const Char *pSymbolName);
     114  Void  xReadCodeTr  (UInt  length, UInt& rValue, const TChar *pSymbolName);
     115  Void  xReadUvlcTr  (              UInt& rValue, const TChar *pSymbolName);
     116  Void  xReadSvlcTr  (               Int& rValue, const TChar *pSymbolName);
     117  Void  xReadFlagTr  (              UInt& rValue, const TChar *pSymbolName);
     118#if NH_MV
     119  Void  xReadStringTr(UInt bufSize, UChar *pValue, UInt& rLength, const TChar *pSymbolName);
     120#endif
    111121#endif
    112122public:
  • trunk/source/Lib/TLibDecoder/TDecBinCoderCABAC.cpp

    r1313 r1386  
    169169  if (g_debugCounter >= debugCabacBinTargetLine)
    170170  {
    171     Char breakPointThis;
     171    UChar breakPointThis;
    172172    breakPointThis = 7;
    173173  }
  • trunk/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1321 r1386  
    5151
    5252#if ENC_DEC_TRACE
    53 #if !H_MV_ENC_DEC_TRAC
     53#if !NH_MV_ENC_DEC_TRAC
    5454Void  xTraceVPSHeader ()
    5555{
     
    234234{
    235235#if ENC_DEC_TRACE
    236 #if H_MV_ENC_DEC_TRAC
     236#if NH_MV_ENC_DEC_TRAC
    237237  tracePSHeader( "PPS", pcPPS->getLayerId() );
    238238#else
     
    454454#else
    455455#if ENC_DEC_TRACE || RExt__DECODER_DEBUG_BIT_STATISTICS
    456     static const char *syntaxStrings[]={ "pps_range_extension_flag",
     456    static const TChar *syntaxStrings[]={ "pps_range_extension_flag",
    457457                                         "pps_multilayer_extension_flag",
    458458                                         "pps_extension_6bits[0]",
     
    871871{
    872872#if ENC_DEC_TRACE
    873 #if H_MV_ENC_DEC_TRAC
     873#if NH_MV_ENC_DEC_TRAC
    874874  tracePSHeader( "SPS", pcSPS->getLayerId() );
    875875#else
     
    10171017    pcSPS->setSpsMaxLatencyIncreasePlus1( uiCode, i );
    10181018#else
    1019     pcSPS->setMaxLatencyIncrease( uiCode, i );
     1019    pcSPS->setMaxLatencyIncreasePlus1( uiCode, i );
    10201020#endif
    10211021
     
    10291029        pcSPS->setSpsMaxLatencyIncreasePlus1(pcSPS->getSpsMaxLatencyIncreasePlus1(0), i);
    10301030#else
    1031         pcSPS->setMaxLatencyIncrease(pcSPS->getMaxLatencyIncrease(0), i);
     1031        pcSPS->setMaxLatencyIncreasePlus1(pcSPS->getMaxLatencyIncreasePlus1(0), i);
    10321032#endif
    10331033      }
     
    11651165    if ( pcSPS->getSpsRangeExtensionsFlag() )
    11661166    {
    1167               TComSPSRExt &spsRangeExtension = pcSPS->getSpsRangeExtension();
    1168               READ_FLAG( uiCode, "transform_skip_rotation_enabled_flag");     spsRangeExtension.setTransformSkipRotationEnabledFlag(uiCode != 0);
    1169               READ_FLAG( uiCode, "transform_skip_context_enabled_flag");      spsRangeExtension.setTransformSkipContextEnabledFlag (uiCode != 0);
    1170               READ_FLAG( uiCode, "implicit_rdpcm_enabled_flag");              spsRangeExtension.setRdpcmEnabledFlag(RDPCM_SIGNAL_IMPLICIT, (uiCode != 0));
    1171               READ_FLAG( uiCode, "explicit_rdpcm_enabled_flag");              spsRangeExtension.setRdpcmEnabledFlag(RDPCM_SIGNAL_EXPLICIT, (uiCode != 0));
    1172               READ_FLAG( uiCode, "extended_precision_processing_flag");       spsRangeExtension.setExtendedPrecisionProcessingFlag (uiCode != 0);
    1173               READ_FLAG( uiCode, "intra_smoothing_disabled_flag");            spsRangeExtension.setIntraSmoothingDisabledFlag      (uiCode != 0);
    1174               READ_FLAG( uiCode, "high_precision_offsets_enabled_flag");      spsRangeExtension.setHighPrecisionOffsetsEnabledFlag (uiCode != 0);
    1175               READ_FLAG( uiCode, "persistent_rice_adaptation_enabled_flag");  spsRangeExtension.setPersistentRiceAdaptationEnabledFlag (uiCode != 0);
    1176               READ_FLAG( uiCode, "cabac_bypass_alignment_enabled_flag");      spsRangeExtension.setCabacBypassAlignmentEnabledFlag  (uiCode != 0);
     1167      TComSPSRExt &spsRangeExtension = pcSPS->getSpsRangeExtension();
     1168      READ_FLAG( uiCode, "transform_skip_rotation_enabled_flag");     spsRangeExtension.setTransformSkipRotationEnabledFlag(uiCode != 0);
     1169      READ_FLAG( uiCode, "transform_skip_context_enabled_flag");      spsRangeExtension.setTransformSkipContextEnabledFlag (uiCode != 0);
     1170      READ_FLAG( uiCode, "implicit_rdpcm_enabled_flag");              spsRangeExtension.setRdpcmEnabledFlag(RDPCM_SIGNAL_IMPLICIT, (uiCode != 0));
     1171      READ_FLAG( uiCode, "explicit_rdpcm_enabled_flag");              spsRangeExtension.setRdpcmEnabledFlag(RDPCM_SIGNAL_EXPLICIT, (uiCode != 0));
     1172      READ_FLAG( uiCode, "extended_precision_processing_flag");       spsRangeExtension.setExtendedPrecisionProcessingFlag (uiCode != 0);
     1173      READ_FLAG( uiCode, "intra_smoothing_disabled_flag");            spsRangeExtension.setIntraSmoothingDisabledFlag      (uiCode != 0);
     1174      READ_FLAG( uiCode, "high_precision_offsets_enabled_flag");      spsRangeExtension.setHighPrecisionOffsetsEnabledFlag (uiCode != 0);
     1175      READ_FLAG( uiCode, "persistent_rice_adaptation_enabled_flag");  spsRangeExtension.setPersistentRiceAdaptationEnabledFlag (uiCode != 0);
     1176      READ_FLAG( uiCode, "cabac_bypass_alignment_enabled_flag");      spsRangeExtension.setCabacBypassAlignmentEnabledFlag  (uiCode != 0);
    11771177    }
    11781178
     
    12061206
    12071207#if ENC_DEC_TRACE || RExt__DECODER_DEBUG_BIT_STATISTICS
    1208     static const char *syntaxStrings[]={ "sps_range_extension_flag",
     1208    static const TChar *syntaxStrings[]={ "sps_range_extension_flag",
    12091209                                         "sps_multilayer_extension_flag",
    12101210                                         "sps_extension_6bits[0]",
     
    12771277  for( Int d = 0; d  <=  1; d++ )
    12781278  {
    1279     READ_FLAG( uiCode, "iv_mv_pred_flag" ); sps3dExt.setIvMvPredFlag( d, uiCode == 1 );
    1280     READ_FLAG( uiCode, "iv_mv_scaling_flag" ); sps3dExt.setIvMvScalingFlag( d, uiCode == 1 );
     1279    READ_FLAG( uiCode, "iv_di_mc_enabled_flag" );              sps3dExt.setIvDiMcEnabledFlag( d, uiCode == 1 );
     1280    READ_FLAG( uiCode, "iv_mv_scal_enabled_flag" );            sps3dExt.setIvMvScalEnabledFlag( d, uiCode == 1 );
    12811281    if( d  ==  0 )
    12821282    {
    1283       READ_UVLC( uiCode, "log2_sub_pb_size_minus3" ); sps3dExt.setLog2SubPbSizeMinus3( d, uiCode );
    1284       READ_FLAG( uiCode, "iv_res_pred_flag" ); sps3dExt.setIvResPredFlag( d, uiCode == 1 );
    1285       READ_FLAG( uiCode, "depth_refinement_flag" ); sps3dExt.setDepthRefinementFlag( d, uiCode == 1 );
    1286       READ_FLAG( uiCode, "view_synthesis_pred_flag" ); sps3dExt.setViewSynthesisPredFlag( d, uiCode == 1 );
    1287       READ_FLAG( uiCode, "depth_based_blk_part_flag" ); sps3dExt.setDepthBasedBlkPartFlag( d, uiCode == 1 );
     1283      READ_UVLC( uiCode, "log2_sub_pb_size_minus3" );          sps3dExt.setLog2IvmcSubPbSizeMinus3( d, uiCode );
     1284      READ_FLAG( uiCode, "iv_res_pred_enabled_flag" );         sps3dExt.setIvResPredEnabledFlag( d, uiCode == 1 );
     1285      READ_FLAG( uiCode, "depth_ref_enabled_flag" );           sps3dExt.setDepthRefEnabledFlag( d, uiCode == 1 );
     1286      READ_FLAG( uiCode, "vsp_mc_enabled_flag" );              sps3dExt.setVspMcEnabledFlag( d, uiCode == 1 );
     1287      READ_FLAG( uiCode, "dbbp_enabled_flag" );                sps3dExt.setDbbpEnabledFlag( d, uiCode == 1 );
    12881288    }
    12891289    else
    12901290    {
    1291       READ_FLAG( uiCode, "mpi_flag" ); sps3dExt.setMpiFlag( d, uiCode == 1 );
    1292       READ_UVLC( uiCode, "log2_mpi_sub_pb_size_minus3" ); sps3dExt.setLog2MpiSubPbSizeMinus3( d, uiCode );
    1293       READ_FLAG( uiCode, "intra_contour_flag" ); sps3dExt.setIntraContourFlag( d, uiCode == 1 );
    1294       READ_FLAG( uiCode, "intra_sdc_wedge_flag" ); sps3dExt.setIntraSdcWedgeFlag( d, uiCode == 1 );
    1295       READ_FLAG( uiCode, "qt_pred_flag" ); sps3dExt.setQtPredFlag( d, uiCode == 1 );
    1296       READ_FLAG( uiCode, "inter_sdc_flag" ); sps3dExt.setInterSdcFlag( d, uiCode == 1 );
    1297       READ_FLAG( uiCode, "intra_skip_flag" ); sps3dExt.setDepthIntraSkipFlag( d, uiCode == 1 );
     1291      READ_FLAG( uiCode, "tex_mc_enabled_flag" );              sps3dExt.setTexMcEnabledFlag( d, uiCode == 1 );
     1292      READ_UVLC( uiCode, "log2_texmc_sub_pb_size_minus3" );    sps3dExt.setLog2TexmcSubPbSizeMinus3( d, uiCode );
     1293      READ_FLAG( uiCode, "intra_contour_enabled_flag" );       sps3dExt.setIntraContourEnabledFlag( d, uiCode == 1 );
     1294      READ_FLAG( uiCode, "intra_dc_only_wedge_enabled_flag" ); sps3dExt.setIntraDcOnlyWedgeEnabledFlag( d, uiCode == 1 );
     1295      READ_FLAG( uiCode, "cqt_cu_part_pred_enabled_flag" );    sps3dExt.setCqtCuPartPredEnabledFlag( d, uiCode == 1 );
     1296      READ_FLAG( uiCode, "inter_dc_only_enabled_flag" );       sps3dExt.setInterDcOnlyEnabledFlag( d, uiCode == 1 );
     1297      READ_FLAG( uiCode, "skip_intra_enabled_flag" );          sps3dExt.setSkipIntraEnabledFlag( d, uiCode == 1 );
    12981298    }
    12991299  }
     
    13581358{
    13591359#if ENC_DEC_TRACE
    1360 #if H_MV_ENC_DEC_TRAC
     1360#if NH_MV_ENC_DEC_TRAC
    13611361  tracePSHeader( "VPS", getDecTop()->getLayerId() );
    13621362#else
  • trunk/source/Lib/TLibDecoder/TDecCu.cpp

    r1321 r1386  
    213213  UInt uiTPelY   = pcCU->getCUPelY() + g_auiRasterToPelY[ g_auiZscanToRaster[uiAbsPartIdx] ];
    214214  UInt uiBPelY   = uiTPelY + (maxCuHeight>>uiDepth) - 1;
    215 #if H_MV_ENC_DEC_TRAC
     215#if NH_MV_ENC_DEC_TRAC
    216216  DTRACE_CU_S("=========== coding_quadtree ===========\n")
    217217  DTRACE_CU("x0", uiLPelX)
     
    270270  }
    271271
    272 #if H_MV_ENC_DEC_TRAC
     272#if NH_MV_ENC_DEC_TRAC
    273273  DTRACE_CU_S("=========== coding_unit ===========\n")
    274 #if H_MV_ENC_DEC_TRAC
     274#if NH_MV_ENC_DEC_TRAC
    275275#if ENC_DEC_TRACE
    276276    stopAtPos  ( pcCU->getSlice()->getPOC(),
     
    359359      }
    360360#endif
    361 #if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC   
     361#if ENC_DEC_TRACE && NH_MV_ENC_DEC_TRAC   
    362362      if ( g_decTraceDispDer )
    363363      {
     
    396396  if( pcCU->isSkipped(uiAbsPartIdx) )
    397397  {
    398 #if H_MV_ENC_DEC_TRAC
     398#if NH_MV_ENC_DEC_TRAC
    399399    DTRACE_PU_S("=========== prediction_unit ===========\n")
    400400    DTRACE_PU("x0", uiLPelX)
     
    493493        }
    494494#endif
    495 #if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC   
     495#if ENC_DEC_TRACE && NH_MV_ENC_DEC_TRAC   
    496496        if ( g_decTraceMvFromMerge )
    497497        {       
     
    531531        pcCU->getCUMvField( REF_PIC_LIST_1 )->setMvFieldSP(pcCU, uiSPAddr, pcMvFieldSP[2*iPartitionIdx + 1], iSPWidth, iSPHeight);
    532532      }
    533 #if ENC_DEC_TRACE && H_MV_ENC_DEC_TRAC
     533#if ENC_DEC_TRACE && NH_MV_ENC_DEC_TRAC
    534534      if ( g_traceSubPBMotion )
    535535      {
  • trunk/source/Lib/TLibDecoder/TDecEntropy.cpp

    r1321 r1386  
    267267  for ( UInt uiPartIdx = 0, uiSubPartIdx = uiAbsPartIdx; uiPartIdx < uiNumPU; uiPartIdx++, uiSubPartIdx += uiPUOffset )
    268268  {
    269 #if H_MV_ENC_DEC_TRAC
     269#if NH_MV_ENC_DEC_TRAC
    270270    DTRACE_PU_S("=========== prediction_unit ===========\n")
    271271    // ToDo:
     
    484484  for ( UInt uiPartIdx = 0, uiSubPartIdx = uiAbsPartIdx; uiPartIdx < uiNumPU; uiPartIdx++, uiSubPartIdx += uiPUOffset )
    485485  {
    486 #if H_MV_ENC_DEC_TRAC
     486#if NH_MV_ENC_DEC_TRAC
    487487    DTRACE_PU_S("=========== prediction_unit ===========\n")
    488488    // ToDo:
     
    505505#endif
    506506
    507       UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx);
     507      const UInt uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx);
    508508      if ( pcCU->getSlice()->getPPS()->getLog2ParallelMergeLevelMinus2() && ePartSize != SIZE_2Nx2N && pcSubCU->getWidth( 0 ) <= 8 )
    509509      {
     
    547547      else
    548548      {
    549         uiMergeIndex = pcCU->getMergeIndex(uiSubPartIdx);
    550549
    551550#if NH_3D_MLC
     
    742741  {
    743742    m_pcEntropyDecoderIf->parseMVPIdx( iMVPIdx );
    744 #if H_MV_ENC_DEC_TRAC
     743#if NH_MV_ENC_DEC_TRAC
    745744#if ENC_DEC_TRACE
    746745    if ( eRefList == REF_PIC_LIST_0 )
     
    799798  {
    800799    m_pcEntropyDecoderIf->parseMVPIdx( iMVPIdx );
    801 #if H_MV_ENC_DEC_TRAC
     800#if NH_MV_ENC_DEC_TRAC
    802801#if ENC_DEC_TRACE
    803802    if ( eRefList == REF_PIC_LIST_0 )
     
    834833  const UInt uiTrDepth = rTu.GetTransformDepthRel();
    835834
    836 #if H_MV_ENC_DEC_TRAC
     835#if NH_MV_ENC_DEC_TRAC
    837836#if ENC_DEC_TRACE
    838837  UInt uiLPelX   = pcCU->getCUPelX() + g_auiRasterToPelX[ g_auiZscanToRaster[uiAbsPartIdx] ];
     
    941940    pcCU->setTrIdxSubParts( uiTrDepth, uiAbsPartIdx, uiDepth );
    942941
    943 #if !H_MV_ENC_DEC_TRAC
     942#if !NH_MV_ENC_DEC_TRAC
    944943    {
    945944      DTRACE_CABAC_VL( g_nSymbolCounter++ );
  • trunk/source/Lib/TLibDecoder/TDecGop.cpp

    r1313 r1386  
    177177  pcPic->compressMotion();
    178178#endif
    179   Char c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B');
     179  TChar c = (pcSlice->isIntra() ? 'I' : pcSlice->isInterP() ? 'P' : 'B');
    180180  if (!pcSlice->isReferenced())
    181181  {
     
    255255  TComPictureHash recon_digest;
    256256  Int numChar=0;
    257   const Char* hashType = "\0";
     257  const TChar* hashType = "\0";
    258258
    259259  if (pictureHashSEI)
     
    261261    switch (pictureHashSEI->method)
    262262    {
    263       case SEIDecodedPictureHash::MD5:
     263      case HASHTYPE_MD5:
    264264        {
    265265          hashType = "MD5";
     
    267267          break;
    268268        }
    269       case SEIDecodedPictureHash::CRC:
     269      case HASHTYPE_CRC:
    270270        {
    271271          hashType = "CRC";
     
    273273          break;
    274274        }
    275       case SEIDecodedPictureHash::CHECKSUM:
     275      case HASHTYPE_CHECKSUM:
    276276        {
    277277          hashType = "Checksum";
     
    288288
    289289  /* compare digest against received version */
    290   const Char* ok = "(unk)";
     290  const TChar* ok = "(unk)";
    291291  Bool mismatch = false;
    292292
  • trunk/source/Lib/TLibDecoder/TDecSbac.cpp

    r1313 r1386  
    423423  m_pcTDecBinIf->decodeBinTrm(uiSymbol);
    424424
    425 #if H_MV_ENC_DEC_TRAC
     425#if NH_MV_ENC_DEC_TRAC
    426426  DTRACE_CU("pcm_flag", uiSymbol)
    427427#endif
     
    467467  UInt uiSymbol;
    468468  m_pcTDecBinIf->decodeBin( uiSymbol, m_CUTransquantBypassFlagSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__TQ_BYPASS_FLAG) );
    469 #if H_MV_ENC_DEC_TRAC
     469#if NH_MV_ENC_DEC_TRAC
    470470  DTRACE_CU("cu_transquant_bypass_flag", uiSymbol);
    471471#endif
     
    490490  UInt uiCtxSkip = pcCU->getCtxSkipFlag( uiAbsPartIdx );
    491491  m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUSkipFlagSCModel.get( 0, 0, uiCtxSkip ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__SKIP_FLAG) );
    492 #if !H_MV_ENC_DEC_TRAC
     492#if !NH_MV_ENC_DEC_TRAC
    493493  DTRACE_CABAC_VL( g_nSymbolCounter++ );
    494494  DTRACE_CABAC_T( "\tSkipFlag" );
     
    507507    pcCU->setMergeFlagSubParts( true , uiAbsPartIdx, 0, uiDepth );
    508508  }
    509 #if H_MV_ENC_DEC_TRAC
     509#if NH_MV_ENC_DEC_TRAC
    510510  DTRACE_CU("cu_skip_flag", uiSymbol);
    511511#endif
     
    570570  UInt uiSymbol;
    571571  m_pcTDecBinIf->decodeBin( uiSymbol, *m_cCUMergeFlagExtSCModel.get( 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__MERGE_FLAG) );
    572 #if H_MV_ENC_DEC_TRAC
     572#if NH_MV_ENC_DEC_TRAC
    573573  DTRACE_PU("merge_flag", uiSymbol)
    574574#endif
    575575  pcCU->setMergeFlagSubParts( uiSymbol ? true : false, uiAbsPartIdx, uiPUIdx, uiDepth );
    576 #if !H_MV_ENC_DEC_TRAC
     576#if !NH_MV_ENC_DEC_TRAC
    577577  DTRACE_CABAC_VL( g_nSymbolCounter++ );
    578578  DTRACE_CABAC_T( "\tMergeFlag: " );
     
    608608      }
    609609    }
    610 #if H_MV_ENC_DEC_TRAC
     610#if NH_MV_ENC_DEC_TRAC
    611611    DTRACE_PU("merge_idx", uiUnaryIdx)
    612612#endif
     
    614614  ruiMergeIndex = uiUnaryIdx;
    615615
    616 #if !H_MV_ENC_DEC_TRAC
     616#if !NH_MV_ENC_DEC_TRAC
    617617  DTRACE_CABAC_VL( g_nSymbolCounter++ )
    618618  DTRACE_CABAC_T( "\tparseMergeIndex()" )
     
    666666#endif
    667667  m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUSplitFlagSCModel.get( 0, 0, pcCU->getCtxSplitFlag( uiAbsPartIdx, uiDepth ) ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    668 #if H_MV_ENC_DEC_TRAC
     668#if NH_MV_ENC_DEC_TRAC
    669669    DTRACE_CU("split_cu_flag", uiSymbol);
    670670#else
     
    748748    {
    749749      m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUPartSizeSCModel.get( 0, 0, 0) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    750 #if H_MV_ENC_DEC_TRAC         
     750#if NH_MV_ENC_DEC_TRAC         
    751751        DTRACE_CU("part_mode", uiSymbol)
    752752#endif       
     
    884884      }
    885885#endif
    886 #if H_MV_ENC_DEC_TRAC         
     886#if NH_MV_ENC_DEC_TRAC         
    887887      DTRACE_CU("part_mode", eMode )
    888888#endif
     
    914914  m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUPredModeSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__PRED_MODE) );
    915915  iPredMode += uiSymbol;
    916 #if H_MV_ENC_DEC_TRAC         
     916#if NH_MV_ENC_DEC_TRAC         
    917917  DTRACE_CU("pred_mode_flag", uiSymbol)
    918918#endif       
     
    948948    m_pcTDecBinIf->decodeBin( symbol, m_cCUIntraPredSCModel.get( 0, 0, 0) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    949949    mpmPred[j] = symbol;
    950 #if H_MV_ENC_DEC_TRAC         
     950#if NH_MV_ENC_DEC_TRAC         
    951951      DTRACE_CU("prev_intra_luma_pred_flag", symbol)
    952952#endif
     
    971971        symbol++;
    972972      }
    973 #if H_MV_ENC_DEC_TRAC         
     973#if NH_MV_ENC_DEC_TRAC         
    974974        DTRACE_CU("mpm_idx", symbol)
    975975#endif
     
    980980      m_pcTDecBinIf->decodeBinsEP( symbol, 5 RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    981981      intraPredMode = symbol;
    982 #if H_MV_ENC_DEC_TRAC         
     982#if NH_MV_ENC_DEC_TRAC         
    983983        DTRACE_CU("rem_intra_luma_pred_mode", symbol)
    984984#endif       
     
    10201020  if( uiSymbol == 0 )
    10211021  {
    1022 #if H_MV_ENC_DEC_TRAC         
     1022#if NH_MV_ENC_DEC_TRAC         
    10231023    DTRACE_CU("intra_chroma_pred_mode", uiSymbol )
    10241024#endif       
     
    10291029    UInt uiIPredMode;
    10301030    m_pcTDecBinIf->decodeBinsEP( uiIPredMode, 2 RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(ctype) );
    1031 #if H_MV_ENC_DEC_TRAC         
     1031#if NH_MV_ENC_DEC_TRAC         
    10321032      DTRACE_CU("intra_chroma_pred_mode", uiIPredMode )
    10331033#endif       
     
    10641064  uiSymbol++;
    10651065  ruiInterDir = uiSymbol;
    1066 #if H_MV_ENC_DEC_TRAC
     1066#if NH_MV_ENC_DEC_TRAC
    10671067    DTRACE_PU("inter_pred_idc", ruiInterDir - 1 )   
    10681068#endif
     
    11011101  }
    11021102  riRefFrmIdx = uiSymbol;
    1103 #if H_MV_ENC_DEC_TRAC
     1103#if NH_MV_ENC_DEC_TRAC
    11041104#if ENC_DEC_TRACE
    11051105  if ( eRefList == REF_PIC_LIST_0 )
     
    11941194  if (!pcCU->isIntra(uiAbsPartIdx) || (pcCU->getIntraDir( CHANNEL_TYPE_CHROMA, uiAbsPartIdx ) == DM_CHROMA_IDX))
    11951195  {
    1196     Char alpha = 0;
     1196    SChar alpha = 0;
    11971197    UInt symbol = 0;
    11981198
     
    12391239      RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(TComCodingStatisticsClassType(STATS__CABAC_BITS__TRANSFORM_SUBDIV_FLAG, 5-uiLog2TransformBlockSize))
    12401240                          );
    1241 #if !H_MV_ENC_DEC_TRAC
     1241#if !NH_MV_ENC_DEC_TRAC
    12421242  DTRACE_CABAC_VL( g_nSymbolCounter++ )
    12431243  DTRACE_CABAC_T( "\tparseTransformSubdivFlag()" )
     
    12581258  const UInt uiCtx = 0;
    12591259  m_pcTDecBinIf->decodeBin( uiSymbol , m_cCUQtRootCbfSCModel.get( 0, 0, uiCtx ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__QT_ROOT_CBF) );
    1260 #if !H_MV_ENC_DEC_TRAC
     1260#if !NH_MV_ENC_DEC_TRAC
    12611261  DTRACE_CABAC_VL( g_nSymbolCounter++ )
    12621262  DTRACE_CABAC_T( "\tparseQtRootCbf()" )
     
    13861386      pcCU->setCbfPartRange((uiCbf << subTUDepth), compID, subTUAbsPartIdx, partIdxesPerSubTU);
    13871387      combinedSubTUCBF |= uiCbf;
    1388 #if !H_MV_ENC_DEC_TRAC 
     1388#if !NH_MV_ENC_DEC_TRAC 
    13891389      DTRACE_CABAC_VL( g_nSymbolCounter++ )
    13901390      DTRACE_CABAC_T( "\tparseQtCbf()" )
     
    14301430
    14311431    pcCU->setCbfSubParts((uiCbf << lowestTUDepth), compID, absPartIdx, rTu.GetTransformDepthTotalAdj(compID));
    1432 #if !H_MV_ENC_DEC_TRAC
     1432#if !NH_MV_ENC_DEC_TRAC
    14331433    DTRACE_CABAC_VL( g_nSymbolCounter++ )
    14341434    DTRACE_CABAC_T( "\tparseQtCbf()" )
     
    14911491                          );
    14921492
    1493 #if !H_MV_ENC_DEC_TRAC
     1493#if !NH_MV_ENC_DEC_TRAC
    14941494  DTRACE_CABAC_VL( g_nSymbolCounter++ )
    14951495  DTRACE_CABAC_T("\tparseTransformSkip()");
     
    16051605  TCoeff* pcCoef=(pcCU->getCoeff(compID)+rTu.getCoefficientOffset(compID));
    16061606  const TComSPS &sps=*(pcCU->getSlice()->getSPS());
    1607 #if !H_MV_ENC_DEC_TRAC
     1607#if !NH_MV_ENC_DEC_TRAC
    16081608  DTRACE_CABAC_VL( g_nSymbolCounter++ )
    16091609  DTRACE_CABAC_T( "\tparseCoeffNxN()\teType=" )
     
    22842284    uiW += ( 1 == uiCode ? 1 : 0 );
    22852285  }
    2286 #if H_MV_ENC_DEC_TRAC
     2286#if NH_MV_ENC_DEC_TRAC
    22872287  DTRACE_CU("iv_res_pred_weight_idx", uiW )
    22882288#endif
     
    23032303  m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUICFlagSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__3D_IC) );
    23042304
    2305 #if !H_MV_ENC_DEC_TRAC
     2305#if !NH_MV_ENC_DEC_TRAC
    23062306  DTRACE_CABAC_VL( g_nSymbolCounter++ );
    23072307  DTRACE_CABAC_T( "\tICFlag" );
     
    23942394    }
    23952395  }
    2396 #if H_MV_ENC_DEC_TRAC
     2396#if NH_MV_ENC_DEC_TRAC
    23972397  DTRACE_CU("delta_dc", rValDeltaDC);
    23982398#endif
     
    24952495
    24962496  m_pcTDecBinIf->decodeBin( uiSymbol, m_cSDCFlagSCModel.get( 0, 0, 0 ) RExt__DECODER_DEBUG_BIT_STATISTICS_PASS_OPT_ARG(STATS__CABAC_BITS__SDC_INTRA_FLAG) );
    2497 #if H_MV_ENC_DEC_TRAC
     2497#if NH_MV_ENC_DEC_TRAC
    24982498  DTRACE_CU("dc_only_flag", uiSymbol)
    24992499#endif
  • trunk/source/Lib/TLibDecoder/TDecSlice.cpp

    r1313 r1386  
    9090  g_bJustDoIt = g_bEncDecTraceEnable;
    9191#endif
    92 #if H_MV_ENC_DEC_TRAC
     92#if NH_MV_ENC_DEC_TRAC
    9393#if ENC_DEC_TRACE
    9494  incSymbolCounter();
     
    100100  DTRACE_CABAC_T( "\tPOC: " );
    101101  DTRACE_CABAC_V( pcPic->getPOC() );
    102 #if H_MV_ENC_DEC_TRAC
     102#if NH_MV_ENC_DEC_TRAC
    103103  DTRACE_CABAC_T( " Layer: " );
    104104  DTRACE_CABAC_V( pcPic->getLayerId() );
  • trunk/source/Lib/TLibDecoder/TDecTop.cpp

    r1356 r1386  
    687687      }
    688688    }
    689 #if NH_MV_SEI
    690689    m_seiReader.setLayerId ( newPic->getLayerId      ( ) );
    691690    m_seiReader.setDecOrder( newPic->getDecodingOrder( ) );
    692 #endif
    693691#endif
    694692
     
    839837    InputNALUnit &nalu=*m_prefixSEINALUs.front();
    840838#if NH_MV
    841 #if NH_MV_LAYERS_NOT_PRESENT_SEI
    842839    m_seiReader.parseSEImessage(&(nalu.getBitstream()), m_SEIs, nalu.m_nalUnitType, m_parameterSetManager.getActiveVPS(), m_parameterSetManager.getActiveSPS(getLayerId()), m_pDecodedSEIOutputStream);
    843 #else
    844     m_seiReader.parseSEImessage( &(nalu.getBitstream()), m_SEIs, nalu.m_nalUnitType, m_parameterSetManager.getActiveSPS( getLayerId() ), m_pDecodedSEIOutputStream );
    845 #endif
    846840#else
    847841    m_seiReader.parseSEImessage( &(nalu.getBitstream()), m_SEIs, nalu.m_nalUnitType, m_parameterSetManager.getActiveSPS(), m_pDecodedSEIOutputStream );
     
    13151309      {
    13161310#if NH_MV
    1317 #if NH_MV_LAYERS_NOT_PRESENT_SEI
    13181311      m_seiReader.parseSEImessage( &(nalu.getBitstream()), m_pcPic->getSEIs(), nalu.m_nalUnitType, m_parameterSetManager.getActiveVPS(), m_parameterSetManager.getActiveSPS(getLayerId()), m_pDecodedSEIOutputStream);
    1319 #else
    1320       m_seiReader.parseSEImessage( &(nalu.getBitstream()), m_pcPic->getSEIs(), nalu.m_nalUnitType, m_parameterSetManager.getActiveSPS( getLayerId() ), m_pDecodedSEIOutputStream );
    1321 #endif
    13221312#else
    13231313        m_seiReader.parseSEImessage( &(nalu.getBitstream()), m_pcPic->getSEIs(), nalu.m_nalUnitType, m_parameterSetManager.getActiveSPS(), m_pDecodedSEIOutputStream );
     
    17711761        xG813DecProcForInterLayerRefPicSet();
    17721762      }
     1763      else
     1764      {
     1765#if NH_MV_FIX_INIT_NUM_ACTIVE_REF_LAYER_PICS
     1766        TComDecodedRps* decRps = m_pcPic->getDecodedRps();
     1767        decRps->m_numActiveRefLayerPics0 = 0;
     1768        decRps->m_numActiveRefLayerPics1 = 0;     
     1769#endif
     1770      }
    17731771    }
    17741772  }
Note: See TracChangeset for help on using the changeset viewer.