| 133 | } |
| 134 | |
| 135 | int32_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 | } |
| 143 | int32_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 |
no test coverage detected