]> git.sesse.net Git - vlc/blobdiff - src/video_output/vout_internal.h
Added picture_Export (internal) helper.
[vlc] / src / video_output / vout_internal.h
index 9fd0c3a6b2500ad9934d0f4b2b1ffde3a32bc056..8b9a578e49ae4df529ab99bd997da6f41ef325e1 100644 (file)
 
 #include "vout_control.h"
 
+/* Number of pictures required to computes the FPS rate */
+#define VOUT_FPS_SAMPLES                20
+
+/* */
 struct vout_thread_sys_t
 {
+    /* Thread & synchronization */
+    vlc_thread_t    thread;
+    vlc_cond_t      change_wait;
+    bool            b_ready;
+    bool            b_done;
+
     /* */
+    bool            b_picture_displayed;
+    bool            b_picture_empty;
+    mtime_t         i_picture_displayed_date;
     picture_t       *p_picture_displayed;
+    int             i_picture_qtype;
     vlc_cond_t      picture_wait;
 
     /* */
@@ -79,6 +93,8 @@ struct vout_thread_sys_t
     bool            b_title_show;
     mtime_t         i_title_timeout;
     int             i_title_position;
+
+    char            *psz_title;
 };
 
 /* DO NOT use vout_RenderPicture unless you are in src/video_ouput */
@@ -91,5 +107,7 @@ picture_t *vout_RenderPicture( vout_thread_t *, picture_t *,
  */
 void vout_UsePictureLocked( vout_thread_t *p_vout, picture_t *p_pic  );
 
+int vout_Snapshot( vout_thread_t *, picture_t *p_pic );
+
 #endif