[vlc-commits] visual: privatize filter_sys_t, etc.

Rémi Denis-Courmont git at videolan.org
Fri Apr 19 22:08:27 CEST 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 19 22:35:32 2013 +0300| [3c4189bcefcac467e2b80ee37f18c3fa2c37eb6d] | committer: Rémi Denis-Courmont

visual: privatize filter_sys_t, etc.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3c4189bcefcac467e2b80ee37f18c3fa2c37eb6d
---

 modules/visualization/visual/visual.c |   15 +++++++++++++++
 modules/visualization/visual/visual.h |   21 ---------------------
 2 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/modules/visualization/visual/visual.c b/modules/visualization/visual/visual.c
index 2961f36..f7ea3ed 100644
--- a/modules/visualization/visual/visual.c
+++ b/modules/visualization/visual/visual.c
@@ -93,6 +93,10 @@
 #define COLOR1_LONGTEXT N_( \
         "YUV-Color cube shifting across the V-plane ( 0 - 127 )." )
 
+/* Default vout size */
+#define VOUT_WIDTH  800
+#define VOUT_HEIGHT 500
+
 static int  Open         ( vlc_object_t * );
 static void Close        ( vlc_object_t * );
 
@@ -167,6 +171,17 @@ static const struct
     { NULL,           dummy_Run}
 };
 
+struct filter_sys_t
+{
+    vout_thread_t*  p_vout;
+
+    int             i_width;
+    int             i_height;
+
+    int             i_effect;
+    visual_effect_t **effect;
+};
+
 /*****************************************************************************
  * Open: open the visualizer
  *****************************************************************************/
diff --git a/modules/visualization/visual/visual.h b/modules/visualization/visual/visual.h
index f0d0240..f4c8c0b 100644
--- a/modules/visualization/visual/visual.h
+++ b/modules/visualization/visual/visual.h
@@ -55,23 +55,6 @@ typedef struct
     int16_t *p_prev_s16_buff;
 } spectrometer_data;
 
-/*****************************************************************************
- * aout_filter_sys_t: visualizer audio filter method descriptor
- *****************************************************************************
- * This structure is part of the audio filter descriptor.
- * It describes some visualizer specific variables.
- *****************************************************************************/
-struct filter_sys_t
-{
-    vout_thread_t*  p_vout;
-
-    int             i_width;
-    int             i_height;
-
-    int             i_effect;
-    visual_effect_t **effect;
-};
-
 /* Prototypes */
 int scope_Run
         (visual_effect_t * , vlc_object_t *, const block_t *, picture_t *);
@@ -85,7 +68,3 @@ int spectrum_Run
         (visual_effect_t * , vlc_object_t *, const block_t *, picture_t *);
 int spectrometer_Run
         (visual_effect_t * , vlc_object_t *, const block_t *, picture_t *);
-
-/* Default vout size */
-#define VOUT_WIDTH  800
-#define VOUT_HEIGHT 500



More information about the vlc-commits mailing list