23 minStaticFrames = minFrames;
24 consecutiveIsStatic = 0;
31 void appendFrame(
bool isStatic)
34 consecutiveIsStatic = 0;
36 consecutiveIsStatic += 1;
39 bool isRecentlyStatic()
41 return consecutiveIsStatic >= minStaticFrames;
46 int consecutiveIsStatic;
47 int64_t lastTimestampNs;