Changeset 1353 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 22 Jul 2015, 03:47:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1352 r1353 3057 3057 } 3058 3058 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 3092 3059 Void 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 ) 3093 3060 { … … 3262 3229 pcSlice->getTLayer(), 3263 3230 c, 3264 NaluToStr( pcSlice->getNalUnitType() ).data(),3231 nalUnitTypeToString( pcSlice->getNalUnitType() ), 3265 3232 pcSlice->getSliceQpBase(), 3266 3233 pcSlice->getSliceQp(), … … 3272 3239 pcSlice->getTLayer(), 3273 3240 c, 3274 NaluToStr( pcSlice->getNalUnitType() ).data(),3241 nalUnitTypeToString( pcSlice->getNalUnitType() ), 3275 3242 pcSlice->getSliceQp(), 3276 3243 uibits );
Note: See TracChangeset for help on using the changeset viewer.