]> git.sesse.net Git - nageru/commitdiff
Some comment fixes about frame history.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 22 Dec 2015 00:03:47 +0000 (01:03 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 22 Dec 2015 00:03:47 +0000 (01:03 +0100)
defs.h
input_state.h

diff --git a/defs.h b/defs.h
index 9056c5957e0c566c4388ce28ec2c804e23707ce4..ef5aefd715179bebedcfacabcd2c6121a4d18600 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -7,7 +7,7 @@
 #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
index 26015ef569b85d61f95af40e21c17a4a537d7423..70b4436ec147f4972caa2c9d854a4ba6107a7ff2 100644 (file)
@@ -13,7 +13,7 @@ struct BufferedFrame {
 // 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