Opened 5 years ago
Last modified 4 years ago
#542 new defect
The proposal displaying information on the input video.
Reported by: | Jamaika | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | VTM | Version: | VTM-6.1 |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
The proposal displaying information on the input video.
Change EncAppCfg.cpp:
("FrameRate,-fr", m_iFrameRate, 0.0, "Frame rate")
m_switchPocPeriod = (int) m_iFrameRate / 2 / m_iGOPSize * m_iGOPSize;
m_reshapeCW.rspFps = (int) m_iFrameRate;
msg( VERBOSE, "Input real format : %dx%d %.3fHz\n", m_iSourceWidth - m_confWinLeft - m_confWinRight, m_iSourceHeight - m_confWinTop - m_confWinBottom, (double)m_iFrameRate / m_temporalSubsampleRatio );
msg( VERBOSE, "Input format pixel & bitdepth : "); if (m_chromaFormatConstraint == CHROMA_444) { msg(VERBOSE, "%s", ( m_chromaFormatConstraint ? "yuv444" : "") ); } else if (m_chromaFormatConstraint == CHROMA_422) { msg(VERBOSE, "%s", ( m_chromaFormatConstraint ? "yuv422" : "") ); } else if (m_chromaFormatConstraint == CHROMA_420) { msg(VERBOSE, "%s", ( m_chromaFormatConstraint ? "yuv420" : "") ); } else { msg(VERBOSE, "%s", ( m_chromaFormatConstraint ? "yuv400" : "") ); } if (m_interlacedSourceFlag == 1) { msg( VERBOSE, "i" ); } else { msg( VERBOSE, "p" ); } msg( VERBOSE, "%dle\n", m_inputBitDepth[CHANNEL_TYPE_LUMA] ); if (m_lumaReshapeEnable == 1) { msg( VERBOSE, "Input signal type : "); if (m_reshapeSignalType == RESHAPE_SIGNAL_SDR) { msg(VERBOSE, "%s", ( m_reshapeSignalType ? "SDR" : "") ); } else if (m_reshapeSignalType == RESHAPE_SIGNAL_PQ) { msg(VERBOSE, "%s", ( m_reshapeSignalType ? "HDR-PQ" : "") ); } else if (m_reshapeSignalType == RESHAPE_SIGNAL_HLG) { msg(VERBOSE, "%s", ( m_reshapeSignalType ? "HDR-HLG" : "") ); } else { msg(VERBOSE, "%s", ( m_reshapeSignalType ? "Undef" : "") ); } msg( VERBOSE, "\n" ); } msg( VERBOSE, "Input color space / primaries : "/*, m_transferCharacteristics*/); if (m_matrixCoefficients == 0) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "RGB24" : "") ); } else if (m_matrixCoefficients == 1) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "BT709" : "") ); } else if (m_matrixCoefficients == 2) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "Undef" : "") ); } else if (m_matrixCoefficients == 3) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "Reserve" : "") ); } else if (m_matrixCoefficients == 4) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "USFCCT47" : "") ); } else if (m_matrixCoefficients == 5) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "BT601^625" : "") ); } else if (m_matrixCoefficients == 6) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "BT601^525" : "") ); } else if (m_matrixCoefficients == 7) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "SMPTE 340" : "") ); } else if (m_matrixCoefficients == 8) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "YCgCo" : "") ); } else if (m_matrixCoefficients == 9) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "BT2020nc " : "") ); } else if (m_matrixCoefficients == 10) { msg(VERBOSE, "%s", ( m_matrixCoefficients ? "BT2020c" : "") ); } msg( VERBOSE, "/"); if (m_colorPrimaries == -1) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "Undef" : "") ); } else if (m_colorPrimaries == 0) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "BT709" : "") ); } else if (m_colorPrimaries == 1) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "BT2020" : "") ); } else if (m_colorPrimaries == 2) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "P3D60" : "") ); } else if (m_colorPrimaries == 3) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "P3D65" : "") ); } else if (m_colorPrimaries == 4) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "XYZ" : "") ); } else if (m_colorPrimaries == 5) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "None" : "") ); } else if (m_colorPrimaries == 6) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "AMD" : "") ); } else if (m_colorPrimaries == 7) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "YCgCo" : "") ); } else if (m_colorPrimaries == 8) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "EXT" : "") ); } else if (m_colorPrimaries == 9) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "LMSD" : "") ); } else if (m_colorPrimaries == 10) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "BT601" : "") ); } else if (m_colorPrimaries == 11) { msg(VERBOSE, "%s", ( m_colorPrimaries ? "P3D65N" : "") ); } msg( VERBOSE, "\n" ); msg( VERBOSE, "Input color range : %s\n", (m_sampleRange ? "full" : "limited" ) );
msg( VERBOSE, "Frame/Field : Field based coding\n" ); msg( VERBOSE, "Field index : %u - %d (%d fields)\n", m_FrameSkip, m_FrameSkip + m_framesToBeEncoded - 1, m_framesToBeEncoded ); msg( VERBOSE, "Field Order : %s field first\n", m_isTopFieldFirst ? "top" : "bottom" );
msg( VERBOSE, "Frame/Field : Frame based coding\n" ); msg( VERBOSE, "Frame index : %u - %d (%d frames)\n", m_FrameSkip, m_FrameSkip + m_framesToBeEncoded - 1, m_framesToBeEncoded );
msg( VERBOSE, "Profile : %s (%s)\n", profileToString(m_profile), (rextSubProfile.empty())?"INVALID REXT PROFILE":rextSubProfile.c_str() );
msg( VERBOSE, "Profile : %s\n", profileToString(m_profile) );
Change EncAppCfg.h:
double m_iFrameRate; ///< source frame-rates (Hz)
Change EncLib.cpp:
m_cRateCtrl.initHrdParam(sps0.getHrdParameters(), (int) m_iFrameRate, m_RCInitialCpbFullness);
Change EncCfg.h:
double m_iFrameRate;
void setFrameRate ( double i ) { m_iFrameRate = i; }
Attachments (1)
Change history (2)
Changed 5 years ago by Jamaika
comment:1 Changed 4 years ago by ksuehring
- Milestone VTM-6.2 deleted
Note: See TracTickets for help on using tickets.
Update Info VVC