phoenix: count dropped frames, optimize copying

Dropped frame indicator isn't very accurate, maybe take max of frame_start and frame_end?
This commit is contained in:
Joshua M. Doe
2011-11-04 16:07:57 -04:00
parent 5aece979c5
commit c3f3f9897d
2 changed files with 89 additions and 45 deletions

View File

@@ -62,17 +62,15 @@ struct _GstPhoenixSrc
/* camera handle */
tHandle hCamera;
guint32 buffer_size;
//INT32 last_time_code;
//INT32 boardType;
//INT32 boardIdx;
//INT32 cameraType;
//INT32 connector;
/* properties */
gchar *config_filepath;
guint32 buffer_size;
gboolean buffer_ready;
guint buffer_ready_count;
guint frame_end_count;
guint buffer_processed_count;
gboolean timeout_occurred;
gboolean fifo_overflow_occurred;