Changeset 1353 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
22 Jul 2015, 03:47:00 (9 years ago)
Author:
seregin
Message:

port rev 4431

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r1352 r1353  
    30573057}
    30583058
    3059 static const Char* nalUnitTypeToString(NalUnitType type)
    3060 {
    3061   switch (type)
    3062   {
    3063     case NAL_UNIT_CODED_SLICE_TRAIL_R:    return "TRAIL_R";
    3064     case NAL_UNIT_CODED_SLICE_TRAIL_N:    return "TRAIL_N";
    3065     case NAL_UNIT_CODED_SLICE_TSA_R:      return "TSA_R";
    3066     case NAL_UNIT_CODED_SLICE_TSA_N:      return "TSA_N";
    3067     case NAL_UNIT_CODED_SLICE_STSA_R:     return "STSA_R";
    3068     case NAL_UNIT_CODED_SLICE_STSA_N:     return "STSA_N";
    3069     case NAL_UNIT_CODED_SLICE_BLA_W_LP:   return "BLA_W_LP";
    3070     case NAL_UNIT_CODED_SLICE_BLA_W_RADL: return "BLA_W_RADL";
    3071     case NAL_UNIT_CODED_SLICE_BLA_N_LP:   return "BLA_N_LP";
    3072     case NAL_UNIT_CODED_SLICE_IDR_W_RADL: return "IDR_W_RADL";
    3073     case NAL_UNIT_CODED_SLICE_IDR_N_LP:   return "IDR_N_LP";
    3074     case NAL_UNIT_CODED_SLICE_CRA:        return "CRA";
    3075     case NAL_UNIT_CODED_SLICE_RADL_R:     return "RADL_R";
    3076     case NAL_UNIT_CODED_SLICE_RADL_N:     return "RADL_N";
    3077     case NAL_UNIT_CODED_SLICE_RASL_R:     return "RASL_R";
    3078     case NAL_UNIT_CODED_SLICE_RASL_N:     return "RASL_N";
    3079     case NAL_UNIT_VPS:                    return "VPS";
    3080     case NAL_UNIT_SPS:                    return "SPS";
    3081     case NAL_UNIT_PPS:                    return "PPS";
    3082     case NAL_UNIT_ACCESS_UNIT_DELIMITER:  return "AUD";
    3083     case NAL_UNIT_EOS:                    return "EOS";
    3084     case NAL_UNIT_EOB:                    return "EOB";
    3085     case NAL_UNIT_FILLER_DATA:            return "FILLER";
    3086     case NAL_UNIT_PREFIX_SEI:             return "SEI";
    3087     case NAL_UNIT_SUFFIX_SEI:             return "SEI";
    3088     default:                              return "UNK";
    3089   }
    3090 }
    3091 
    30923059Void TEncGOP::xCalculateAddPSNRs( const Bool isField, const Bool isFieldTopFieldFirst, const Int iGOPid, TComPic* pcPic, const AccessUnit&accessUnit, TComList<TComPic*> &rcListPic, const Double dEncTime, const InputColourSpaceConversion snr_conversion, const Bool printFrameMSE )
    30933060{
     
    32623229         pcSlice->getTLayer(),
    32633230         c,
    3264          NaluToStr( pcSlice->getNalUnitType() ).data(),
     3231         nalUnitTypeToString( pcSlice->getNalUnitType() ),
    32653232         pcSlice->getSliceQpBase(),
    32663233         pcSlice->getSliceQp(),
     
    32723239         pcSlice->getTLayer(),
    32733240         c,
    3274          NaluToStr( pcSlice->getNalUnitType() ).data(),
     3241         nalUnitTypeToString( pcSlice->getNalUnitType() ),
    32753242         pcSlice->getSliceQp(),
    32763243         uibits );
Note: See TracChangeset for help on using the changeset viewer.