MCPcopy Create free account
hub / github.com/cisco/openh264 / InitRefJudgement

Method InitRefJudgement

codec/encoder/core/src/wels_preprocess.cpp:1049–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1047
1048
1049void CWelsPreProcessScreen::InitRefJudgement (SRefJudgement* pRefJudgement) {
1050 pRefJudgement->iMinFrameComplexity = INT_MAX;
1051 pRefJudgement->iMinFrameComplexity08 = INT_MAX;
1052 pRefJudgement->iMinFrameComplexity11 = INT_MAX;
1053
1054 pRefJudgement->iMinFrameNumGap = INT_MAX;
1055 pRefJudgement->iMinFrameQp = INT_MAX;
1056}
1057bool CWelsPreProcessScreen::JudgeBestRef (SPicture* pRefPic, const SRefJudgement& sRefJudgement,
1058 const int64_t iFrameComplexity, const bool bIsClosestLtrFrame) {
1059 return (bIsClosestLtrFrame ? (iFrameComplexity < sRefJudgement.iMinFrameComplexity11) :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected