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

Function FmoParamSetsChanged

codec/decoder/core/src/fmo.cpp:240–248  ·  view source on GitHub ↗

! * \brief detect parameter sets are changed or not * * \param pFmo fmo context * \param kiCountNumMb (iMbWidth * iMbHeight) in Sps * \param iSliceGroupType slice group type if fmo is exactly enabled * \param iSliceGroupCount slice group count if fmo is exactly enabled * * \return true - changed or not initialized yet; false - not change at all */

Source from the content-addressed store, hash-verified

238 * \return true - changed or not initialized yet; false - not change at all
239 */
240bool FmoParamSetsChanged (PFmo pFmo, const int32_t kiCountNumMb, const int32_t kiSliceGroupType,
241 const int32_t kiSliceGroupCount) {
242 WELS_VERIFY_RETURN_IF (false, (NULL == pFmo))
243
244 return ((!pFmo->bActiveFlag)
245 || (kiCountNumMb != pFmo->iCountMbNum)
246 || (kiSliceGroupType != pFmo->iSliceGroupType)
247 || (kiSliceGroupCount != pFmo->iSliceGroupCount));
248}
249
250/*!
251 * \brief update/insert FMO parameter unit

Callers 1

FmoParamUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected