Searched refs:kpLevelLimit (Results 1 – 2 of 2) sorted by relevance
51 …c inline int32_t WelsCheckLevelLimitation (const SWelsSPS* kpSps, const SLevelLimits* kpLevelLimit, in WelsCheckLevelLimitation() argument58 if (kpLevelLimit->uiMaxMBPS < (uint32_t) (uiPicInMBs * fFrameRate)) in WelsCheckLevelLimitation()60 if (kpLevelLimit->uiMaxFS < uiPicInMBs) in WelsCheckLevelLimitation()62 if ((kpLevelLimit->uiMaxFS << 3) < (uiPicWidthInMBs * uiPicWidthInMBs)) in WelsCheckLevelLimitation()64 if ((kpLevelLimit->uiMaxFS << 3) < (uiPicHeightInMBs * uiPicHeightInMBs)) in WelsCheckLevelLimitation()66 if (kpLevelLimit->uiMaxDPBMbs < uiNumRefFrames * uiPicInMBs) in WelsCheckLevelLimitation()69 …&& ((int32_t) kpLevelLimit->uiMaxBR * 1200) < iTargetBitRate) //RC enabled, considering bitrat… in WelsCheckLevelLimitation()
1899 const SLevelLimits* kpLevelLimit = g_ksLevelLimits; in CheckLevelLimitation() local1904 for (iOrder = 0; iOrder < LEVEL_NUMBER; iOrder++, kpLevelLimit++) { in CheckLevelLimitation()1907 if (kpLevelLimit->uiMaxMBPS < (uint32_t) (uiPicInMBs * pParam->fMaxFrameRate)) in CheckLevelLimitation()1910 if (kpLevelLimit->uiMaxFS < uiPicInMBs) in CheckLevelLimitation()1913 if ((kpLevelLimit->uiMaxFS << 3) < (uiPicWidthInMBs * uiPicWidthInMBs)) in CheckLevelLimitation()1915 if ((kpLevelLimit->uiMaxFS << 3) < (uiPicHeightInMBs * uiPicHeightInMBs)) in CheckLevelLimitation()1917 if (kpLevelLimit->uiMaxDPBMbs < uiNumRefFrames * uiPicInMBs) in CheckLevelLimitation()1921 && ((int32_t) kpLevelLimit->uiMaxBR * 1200) < in CheckLevelLimitation()1927 iLevel = kpLevelLimit->uiLevelIdc; in CheckLevelLimitation()