phoenix: more accurate timestamps, duration and dropped frame count

Timestamp and duration now set using Phoenix timer, recorded at frame start and end (FVAL high then low).

Only more than one dropped frame can be reliably detected.
This commit is contained in:
Joshua M. Doe
2011-11-07 12:51:24 -05:00
parent 9ebfbe4c7d
commit cca79973df
2 changed files with 93 additions and 124 deletions

View File

@@ -67,9 +67,13 @@ struct _GstPhoenixSrc
gchar *config_filepath;
guint num_capture_buffers;
GstClockTime first_phoenix_ts;
guint64 *frame_start_times;
guint64 *frame_end_times;
guint32 buffer_size;
gboolean buffer_ready;
guint buffer_ready_count;
guint frame_start_count;
guint frame_end_count;
guint buffer_processed_count;
gboolean timeout_occurred;