* Force key frame */
| 485 | * Force key frame |
| 486 | */ |
| 487 | int CWelsH264SVCEncoder::ForceIntraFrame (bool bIDR, int iLayerId) { |
| 488 | if (bIDR) { |
| 489 | if (! (m_pEncContext && m_bInitialFlag)) { |
| 490 | return 1; |
| 491 | } |
| 492 | |
| 493 | ForceCodingIDR (m_pEncContext, iLayerId); |
| 494 | } else { |
| 495 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, |
| 496 | "CWelsH264SVCEncoder::ForceIntraFrame(),nothing to do as bIDR set to false"); |
| 497 | } |
| 498 | |
| 499 | return 0; |
| 500 | } |
| 501 | void CWelsH264SVCEncoder::TraceParamInfo (SEncParamExt* pParam) { |
| 502 | WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO, |
| 503 | "iUsageType = %d,iPicWidth= %d;iPicHeight= %d;iTargetBitrate= %d;iMaxBitrate= %d;iRCMode= %d;iPaddingFlag= %d;iTemporalLayerNum= %d;iSpatialLayerNum= %d;fFrameRate= %.6ff;uiIntraPeriod= %d;" |
no test coverage detected