Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3c4189bc
Commit
3c4189bc
authored
Apr 19, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visual: privatize filter_sys_t, etc.
parent
2ce82a3f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
21 deletions
+15
-21
modules/visualization/visual/visual.c
modules/visualization/visual/visual.c
+15
-0
modules/visualization/visual/visual.h
modules/visualization/visual/visual.h
+0
-21
No files found.
modules/visualization/visual/visual.c
View file @
3c4189bc
...
...
@@ -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
*****************************************************************************/
...
...
modules/visualization/visual/visual.h
View file @
3c4189bc
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment