#define HEIGHT 720
#define MAX_CARDS 16
-// For deinterlacing. See also comments on Mixer::frame_history.
+// For deinterlacing. See also comments on InputState.
#define FRAME_HISTORY_LENGTH 5
#define AUDIO_OUTPUT_CODEC AV_CODEC_ID_PCM_S32LE
// In particular, this is captured by Theme::get_chain(),
// so that it can hold on to all the frames it needs for rendering.
struct InputState {
- // For each card, the last three frames (or fields), with 0 being the
+ // For each card, the last five frames (or fields), with 0 being the
// most recent one. Note that we only need the actual history if we have
// interlaced output (for deinterlacing), so if we detect progressive input,
// we immediately clear out all history and all entries will point to the same