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

Function WelsCheckRefFrameLimitationNumRefFirst

codec/encoder/core/src/au_set.cpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135int32_t WelsCheckRefFrameLimitationNumRefFirst (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam) {
136
137 if (WelsCheckNumRefSetting (pLogCtx, pParam, false)) {
138 // we take num-ref as the honored setting but it conflicts with temporal and LTR
139 return ENC_RETURN_UNSUPPORTED_PARA;
140 }
141 return ENC_RETURN_SUCCESS;
142}
143int32_t WelsCheckRefFrameLimitationLevelIdcFirst (SLogContext* pLogCtx, SWelsSvcCodingParam* pParam) {
144 if ((pParam->iNumRefFrame == AUTO_REF_PIC_COUNT) || (pParam->iMaxNumRefFrame == AUTO_REF_PIC_COUNT)) {
145 //no need to do the checking

Callers 1

ParamValidationFunction · 0.85

Calls 1

WelsCheckNumRefSettingFunction · 0.85

Tested by

no test coverage detected