Bink SDK 1.5v

# BINKREALTIME

The structure BINKREALTIME is a structure used to return realtime playback information from BinkGetRealtime.

    struct BINKREALTIME
    {
      U32 FrameNum;
      U32 FrameRate;
      U32 FrameRateDiv;
      U32 Frames;
      U32 FramesTime;
      U32 FrameVideoDecompTime;
      U32 FrameAudioDecompTime;
      U32 FrameReadTime;
      U32 FrameIdleReadTime;
      U32 FrameThreadReadTime;
      U32 FramesBlitTime;
      U32 ReadBufferSize;
      U32 ReadBufferUsed;
      U32 FramesDataRate;
    };

#### Out Members

FrameNum
  Specifies the current frame number.
FrameRate
  Along with FrameRateDiv, specifies the frame rate of the Bink file. The frame rate is calculated by (realtime->FrameRate/realtime->FrameRateDiv). So, for example, at 15 fps, FrameRate would be 15 and FrameRateDiv would be 1.
FrameRateDiv
  Specifies the frame rate divisor of the Bink file.
Frames
  Specifies the number of frames in the frame window.
FramesTime
  Specifies the total time that the frame window covers (in milliseconds).
FrameVideoDecompTime
  Specifies the amount of time spent decompressing the video inside the frame window.
FrameAudioDecompTime
  Specifies the amount of time spent decompressing the audio inside the frame window.
FrameReadTime
  Specifies the amount of time spent reading from the device in the foreground inside the frame window.
FrameIdleReadTime
  Specifies the amount of time spent reading from the device during idle time inside the frame window.
FrameThreadReadTime
  Specifies the amount of time spent reading from the device in the background thread inside the frame window.
FramesBlitTime
  Specifies the amount of time spent blitting to the screen inside the frame window.
ReadBufferSize
  Specifies the current maximum IO buffer size in bytes.
ReadBufferUsed
  Specifies the current IO buffer size that is preloaded (divide this value by ReadBufferSize for a percent-full indicator).
FramesDataRate
  Specifies the current frame window data rate in bytes per second.

#### Discussion

The BINKREALTIME structure is used in the BinkGetRealtime function. It returns the realtime playback statistics of a playing Bink file.

Group: Bink API
Related Functions: BinkGetRealtime
Related Basic Types: U32

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.