Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 67 files). Show all
Unified · Split
| @@ -57,7 +57,7 @@ · 56 unmodified lines | |||
| 57 | namespace WelsEnc { | 57 | namespace WelsEnc { |
| 58 | 58 | ||
| 59 | /* | 59 | /* |
| 60 | * CWelsH264SVCEncoder class implementation | 60 | * CWelsH264SVCEncoder class implementation |
| 61 | */ | 61 | */ |
| 62 | CWelsH264SVCEncoder::CWelsH264SVCEncoder() | 62 | CWelsH264SVCEncoder::CWelsH264SVCEncoder() |
| 63 | : m_pEncContext (NULL), | 63 | : m_pEncContext (NULL), |
| @@ -178,7 +178,7 @@ int CWelsH264SVCEncoder::GetDefaultParams (SEncParamExt* argv) { · 114 unmodified lines | |||
| 178 | } | 178 | } |
| 179 | 179 | ||
| 180 | /* | 180 | /* |
| 181 | * SVC Encoder Initialization | 181 | * SVC Encoder Initialization |
| 182 | */ | 182 | */ |
| 183 | int CWelsH264SVCEncoder::Initialize (const SEncParamBase* argv) { | 183 | int CWelsH264SVCEncoder::Initialize (const SEncParamBase* argv) { |
| 184 | if (m_pWelsTrace == NULL) { | 184 | if (m_pWelsTrace == NULL) { |
| @@ -348,7 +348,7 @@ int CWelsH264SVCEncoder::InitializeInternal (SWelsSvcCodingParam* pCfg) { · 163 unmodified lines | |||
| 348 | } | 348 | } |
| 349 | 349 | ||
| 350 | /* | 350 | /* |
| 351 | * SVC Encoder Uninitialization | 351 | * SVC Encoder Uninitialization |
| 352 | */ | 352 | */ |
| 353 | int32_t CWelsH264SVCEncoder::Uninitialize() { | 353 | int32_t CWelsH264SVCEncoder::Uninitialize() { |
| 354 | if (!m_bInitialFlag) { | 354 | if (!m_bInitialFlag) { |
| @@ -370,7 +370,7 @@ int32_t CWelsH264SVCEncoder::Uninitialize() { · 15 unmodified lines | |||
| 370 | 370 | ||
| 371 | 371 | ||
| 372 | /* | 372 | /* |
| 373 | * SVC core encoding | 373 | * SVC core encoding |
| 374 | */ | 374 | */ |
| 375 | int CWelsH264SVCEncoder::EncodeFrame (const SSourcePicture* kpSrcPic, SFrameBSInfo* pBsInfo) { | 375 | int CWelsH264SVCEncoder::EncodeFrame (const SSourcePicture* kpSrcPic, SFrameBSInfo* pBsInfo) { |
| 376 | if (! (kpSrcPic && m_bInitialFlag && pBsInfo)) { | 376 | if (! (kpSrcPic && m_bInitialFlag && pBsInfo)) { |
| @@ -469,7 +469,7 @@ int CWelsH264SVCEncoder::EncodeParameterSets (SFrameBSInfo* pBsInfo) { · 92 unmodified lines | |||
| 469 | } | 469 | } |
| 470 | 470 | ||
| 471 | /* | 471 | /* |
| 472 | * Force key frame | 472 | * Force key frame |
| 473 | */ | 473 | */ |
| 474 | int CWelsH264SVCEncoder::ForceIntraFrame (bool bIDR) { | 474 | int CWelsH264SVCEncoder::ForceIntraFrame (bool bIDR) { |
| 475 | if (! (m_pEncContext && m_bInitialFlag)) { | 475 | if (! (m_pEncContext && m_bInitialFlag)) { |