Commit 3c4189bc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

visual: privatize filter_sys_t, etc.

parent 2ce82a3f
...@@ -93,6 +93,10 @@ ...@@ -93,6 +93,10 @@
#define COLOR1_LONGTEXT N_( \ #define COLOR1_LONGTEXT N_( \
"YUV-Color cube shifting across the V-plane ( 0 - 127 )." ) "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 int Open ( vlc_object_t * );
static void Close ( vlc_object_t * ); static void Close ( vlc_object_t * );
...@@ -167,6 +171,17 @@ static const struct ...@@ -167,6 +171,17 @@ static const struct
{ NULL, dummy_Run} { 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 * Open: open the visualizer
*****************************************************************************/ *****************************************************************************/
......
...@@ -55,23 +55,6 @@ typedef struct ...@@ -55,23 +55,6 @@ typedef struct
int16_t *p_prev_s16_buff; int16_t *p_prev_s16_buff;
} spectrometer_data; } 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 */ /* Prototypes */
int scope_Run int scope_Run
(visual_effect_t * , vlc_object_t *, const block_t *, picture_t *); (visual_effect_t * , vlc_object_t *, const block_t *, picture_t *);
...@@ -85,7 +68,3 @@ int spectrum_Run ...@@ -85,7 +68,3 @@ int spectrum_Run
(visual_effect_t * , vlc_object_t *, const block_t *, picture_t *); (visual_effect_t * , vlc_object_t *, const block_t *, picture_t *);
int spectrometer_Run int spectrometer_Run
(visual_effect_t * , vlc_object_t *, const block_t *, picture_t *); (visual_effect_t * , vlc_object_t *, const block_t *, picture_t *);
/* Default vout size */
#define VOUT_WIDTH 800
#define VOUT_HEIGHT 500
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment