Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ae6af360
Commit
ae6af360
authored
Dec 11, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* motion_detect: use playlist_Control's "lock" argument
* const string fixes * make a couple of functions static
parent
94a01b36
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
19 deletions
+19
-19
modules/video_filter/colorthres.c
modules/video_filter/colorthres.c
+1
-1
modules/video_filter/deinterlace.c
modules/video_filter/deinterlace.c
+2
-2
modules/video_filter/gradient.c
modules/video_filter/gradient.c
+2
-2
modules/video_filter/logo.c
modules/video_filter/logo.c
+3
-3
modules/video_filter/mosaic.c
modules/video_filter/mosaic.c
+3
-3
modules/video_filter/motiondetect.c
modules/video_filter/motiondetect.c
+1
-1
modules/video_filter/puzzle.c
modules/video_filter/puzzle.c
+1
-1
modules/video_filter/rss.c
modules/video_filter/rss.c
+4
-4
modules/video_filter/transform.c
modules/video_filter/transform.c
+2
-2
No files found.
modules/video_filter/colorthres.c
View file @
ae6af360
...
...
@@ -54,7 +54,7 @@ static picture_t *Filter( filter_t *, picture_t * );
static
int
pi_color_values
[]
=
{
0x00FF0000
,
0x00FF00FF
,
0x00FFFF00
,
0x0000FF00
,
0x000000FF
,
0x0000FFFF
};
static
char
*
ppsz_color_descriptions
[]
=
{
static
c
onst
c
har
*
ppsz_color_descriptions
[]
=
{
N_
(
"Red"
),
N_
(
"Fuchsia"
),
N_
(
"Yellow"
),
N_
(
"Lime"
),
N_
(
"Blue"
),
N_
(
"Aqua"
)
};
...
...
modules/video_filter/deinterlace.c
View file @
ae6af360
...
...
@@ -113,8 +113,8 @@ static int FilterCallback ( vlc_object_t *, char const *,
#define FILTER_CFG_PREFIX "sout-deinterlace-"
static
char
*
mode_list
[]
=
{
"discard"
,
"blend"
,
"mean"
,
"bob"
,
"linear"
,
"x"
};
static
char
*
mode_list_text
[]
=
{
N_
(
"Discard"
),
N_
(
"Blend"
),
N_
(
"Mean"
),
static
c
onst
c
har
*
mode_list
[]
=
{
"discard"
,
"blend"
,
"mean"
,
"bob"
,
"linear"
,
"x"
};
static
c
onst
c
har
*
mode_list_text
[]
=
{
N_
(
"Discard"
),
N_
(
"Blend"
),
N_
(
"Mean"
),
N_
(
"Bob"
),
N_
(
"Linear"
),
"X"
};
vlc_module_begin
();
...
...
modules/video_filter/gradient.c
View file @
ae6af360
...
...
@@ -64,8 +64,8 @@ static void FilterHough ( filter_t *, picture_t *, picture_t * );
#define CARTOON_LONGTEXT N_("Apply cartoon effect. It is only used by " \
"\"gradient\" and \"edge\".")
static
char
*
mode_list
[]
=
{
"gradient"
,
"edge"
,
"hough"
};
static
char
*
mode_list_text
[]
=
{
N_
(
"Gradient"
),
N_
(
"Edge"
),
N_
(
"Hough"
)
};
static
c
onst
c
har
*
mode_list
[]
=
{
"gradient"
,
"edge"
,
"hough"
};
static
c
onst
c
har
*
mode_list_text
[]
=
{
N_
(
"Gradient"
),
N_
(
"Edge"
),
N_
(
"Hough"
)
};
#define FILTER_PREFIX "gradient-"
...
...
modules/video_filter/logo.c
View file @
ae6af360
...
...
@@ -93,7 +93,7 @@ static int LogoCallback( vlc_object_t *, char const *,
#define CFG_PREFIX "logo-"
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
char
*
ppsz_pos_descriptions
[]
=
static
c
onst
c
har
*
ppsz_pos_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
N_
(
"Top-Left"
),
N_
(
"Top-Right"
),
N_
(
"Bottom-Left"
),
N_
(
"Bottom-Right"
)
};
...
...
@@ -190,7 +190,7 @@ static picture_t *LoadImage( vlc_object_t *p_this, char *psz_filename )
* logo-transparency values.
*****************************************************************************/
#define LoadLogoList( a, b ) __LoadLogoList( VLC_OBJECT( a ), b )
void
__LoadLogoList
(
vlc_object_t
*
p_this
,
logo_list_t
*
p_logo_list
)
static
void
__LoadLogoList
(
vlc_object_t
*
p_this
,
logo_list_t
*
p_logo_list
)
{
char
*
psz_list
;
/* the list: <logo>[,[<delay>[,[<alpha>]]]][;...] */
unsigned
int
i
;
...
...
@@ -263,7 +263,7 @@ void __LoadLogoList( vlc_object_t *p_this, logo_list_t *p_logo_list )
/*****************************************************************************
* FreeLogoList
*****************************************************************************/
void
FreeLogoList
(
logo_list_t
*
p_logo_list
)
static
void
FreeLogoList
(
logo_list_t
*
p_logo_list
)
{
unsigned
int
i
;
FREENULL
(
p_logo_list
->
psz_filename
);
...
...
modules/video_filter/mosaic.c
View file @
ae6af360
...
...
@@ -173,11 +173,11 @@ struct filter_sys_t
"seems sensible." )
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
};
static
char
*
ppsz_pos_descriptions
[]
=
static
c
onst
c
har
*
ppsz_pos_descriptions
[]
=
{
N_
(
"auto"
),
N_
(
"fixed"
),
N_
(
"offsets"
)
};
static
int
pi_align_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
char
*
ppsz_align_descriptions
[]
=
static
c
onst
c
har
*
ppsz_align_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
N_
(
"Top-Left"
),
N_
(
"Top-Right"
),
N_
(
"Bottom-Left"
),
N_
(
"Bottom-Right"
)
};
...
...
@@ -241,7 +241,7 @@ static const char *ppsz_filter_options[] = {
* parse the "--mosaic-offsets x1,y1,x2,y2,x3,y3" parameter
* and set the corresponding struct filter_sys_t entries.
*****************************************************************************/
void
mosaic_ParseSetOffsets
(
vlc_object_t
*
p_this
,
filter_sys_t
*
p_sys
,
char
*
psz_offsets
)
static
void
mosaic_ParseSetOffsets
(
vlc_object_t
*
p_this
,
filter_sys_t
*
p_sys
,
char
*
psz_offsets
)
{
if
(
psz_offsets
[
0
]
!=
0
)
{
...
...
modules/video_filter/motiondetect.c
View file @
ae6af360
...
...
@@ -408,7 +408,7 @@ static void MotionDetect( vout_thread_t *p_vout, picture_t *p_inpic,
msg_Dbg
(
p_vout
,
"Area(%d) matched, going to %s
\n
"
,
i_area
,
pp_curent_area
->
psz_mrl
);
playlist_Control
(
p_vout
->
p_sys
->
p_playlist
,
PLAYLIST_VIEWPLAY
,
NULL
,
p_item
);
PLAYLIST_VIEWPLAY
,
VLC_TRUE
,
NULL
,
p_item
);
pp_curent_area
->
i_matches
=
0
;
}
}
...
...
modules/video_filter/puzzle.c
View file @
ae6af360
...
...
@@ -281,7 +281,7 @@ static void End( vout_thread_t *p_vout )
#define SHUFFLE_WIDTH 81
#define SHUFFLE_HEIGHT 13
static
char
*
shuffle_button
[]
=
static
c
onst
c
har
*
shuffle_button
[]
=
{
"................................................................................."
,
".............. ............................ ........ ...... ..............."
,
...
...
modules/video_filter/rss.c
View file @
ae6af360
...
...
@@ -60,7 +60,7 @@ static int pi_color_values[] = { 0xf0000000, 0x00000000, 0x00808080, 0x00C0C0C0,
0x00FFFFFF
,
0x00800000
,
0x00FF0000
,
0x00FF00FF
,
0x00FFFF00
,
0x00808000
,
0x00008000
,
0x00008080
,
0x0000FF00
,
0x00800080
,
0x00000080
,
0x000000FF
,
0x0000FFFF
};
static
char
*
ppsz_color_descriptions
[]
=
{
N_
(
"Default"
),
N_
(
"Black"
),
static
c
onst
c
har
*
ppsz_color_descriptions
[]
=
{
N_
(
"Default"
),
N_
(
"Black"
),
N_
(
"Gray"
),
N_
(
"Silver"
),
N_
(
"White"
),
N_
(
"Maroon"
),
N_
(
"Red"
),
N_
(
"Fuchsia"
),
N_
(
"Yellow"
),
N_
(
"Olive"
),
N_
(
"Green"
),
N_
(
"Teal"
),
N_
(
"Lime"
),
N_
(
"Purple"
),
N_
(
"Navy"
),
N_
(
"Blue"
),
...
...
@@ -156,7 +156,7 @@ struct filter_sys_t
"also use combinations of these values, eg 6 = top-right).")
static
int
pi_pos_values
[]
=
{
0
,
1
,
2
,
4
,
8
,
5
,
6
,
9
,
10
};
static
char
*
ppsz_pos_descriptions
[]
=
static
c
onst
c
har
*
ppsz_pos_descriptions
[]
=
{
N_
(
"Center"
),
N_
(
"Left"
),
N_
(
"Right"
),
N_
(
"Top"
),
N_
(
"Bottom"
),
N_
(
"Top-Left"
),
N_
(
"Top-Right"
),
N_
(
"Bottom-Left"
),
N_
(
"Bottom-Right"
)
};
...
...
@@ -505,7 +505,7 @@ static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
/****************************************************************************
* download and resize image located at psz_url
***************************************************************************/
picture_t
*
LoadImage
(
filter_t
*
p_filter
,
const
char
*
psz_url
)
static
picture_t
*
LoadImage
(
filter_t
*
p_filter
,
const
char
*
psz_url
)
{
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
...
...
@@ -551,7 +551,7 @@ picture_t *LoadImage( filter_t *p_filter, const char *psz_url )
* remove all ' ' '\t' '\n' '\r' characters from the begining and end of the
* string.
***************************************************************************/
char
*
removeWhiteChars
(
char
*
psz_src
)
static
char
*
removeWhiteChars
(
char
*
psz_src
)
{
char
*
psz_src2
=
strdup
(
psz_src
);
char
*
psz_clean
=
strdup
(
psz_src2
);
...
...
modules/video_filter/transform.c
View file @
ae6af360
...
...
@@ -57,8 +57,8 @@ static int SendEvents( vlc_object_t *, char const *,
#define TYPE_TEXT N_("Transform type")
#define TYPE_LONGTEXT N_("One of '90', '180', '270', 'hflip' and 'vflip'")
static
char
*
type_list
[]
=
{
"90"
,
"180"
,
"270"
,
"hflip"
,
"vflip"
};
static
char
*
type_list_text
[]
=
{
N_
(
"Rotate by 90 degrees"
),
static
c
onst
c
har
*
type_list
[]
=
{
"90"
,
"180"
,
"270"
,
"hflip"
,
"vflip"
};
static
c
onst
c
har
*
type_list_text
[]
=
{
N_
(
"Rotate by 90 degrees"
),
N_
(
"Rotate by 180 degrees"
),
N_
(
"Rotate by 270 degrees"
),
N_
(
"Flip horizontally"
),
N_
(
"Flip vertically"
)
};
...
...
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