Lines Matching refs:limit
240 // limit is the number of frames we should drop between each kept frame
241 // to keep our drop ratio. limit is positive in this case.
247 int32_t limit = static_cast<int32_t>(1.0f / denom - 1.0f + 0.5f);
252 if (limit > max_limit) {
253 limit = max_limit;
267 if (_dropCount < limit)
269 // As long we are below the limit we should drop frames.
283 // limit is the number of frames we should keep between each drop
284 // in order to keep the drop ratio. limit is negative in this case,
291 int32_t limit = -static_cast<int32_t>(1.0f / denom - 1.0f + 0.5f);
305 if (_dropCount > limit)
315 // Keep frames as long as we haven't reached limit.