BB FlashBack SDK: FBPlayer

CacheFramesFrequency

Description

Sets how frequently frames will be stored in the cache by setting the number of pixels that need to change before storing the frame.

Syntax

[C#/C++]
public: long CacheFramesFrequency

[VB.NET]
Public Property CacheFramesFrequency As Long
 

Remarks

The FBPlayer class keeps a cache of frames that have been decompressed from the movie file, to speed up displaying frames out of sequence. For more details, see About The Player Cache.
 

How this property is used
Only frames that are 'significant', in that they contain changes from the previously stored frame, are stored in the cache. This property sets the number of pixels that need to change before a frame will be saved to the cache.

Say this value is set to 1,000,000.  FBPlayer starts with a changed pixel count of zero. As it renders individual the graphic 'events' that make up frames - the screen changes saved to the FlashBack movie file - it counts the pixels each event changes. Once the count reaches 1,000,000 the full screen image is saved to the cache and the count reset to zero.

The larger this value, the more pixels need to change, and therefore less full-screen images will be stored in the cache.

Smaller values mean more full-screen images will be saved to the cache.

If set to zero, a default is set at 1024x1024x6 = 6921456.
 

See Also

FBPlayer::CacheCompressionType  FBPlayer::CacheDiskLimit  FBPlayer::CacheEnabled  FBPlayer::CacheFramesFrequency  FBPlayer::CacheMemoryLimit  FBPlayer::CacheType