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
33266c5a
Commit
33266c5a
authored
Dec 12, 2002
by
Simon Latapie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed one or two things (thanks sam)
parent
a89bc506
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/video_filter/adjust.c
modules/video_filter/adjust.c
+4
-5
No files found.
modules/video_filter/adjust.c
View file @
33266c5a
...
...
@@ -2,7 +2,7 @@
* adjust.c : Contrast/Hue/Saturation/Brightness video plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: adjust.c,v 1.
3 2002/11/28 21:49:0
4 garf Exp $
* $Id: adjust.c,v 1.
4 2002/12/12 10:56:2
4 garf Exp $
*
* Authors: Simon Latapie <garf@via.ecp.fr>, Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -84,8 +84,6 @@ struct vout_sys_t
vout_thread_t
*
p_vout
;
};
static
int
p_lum_func
[
256
];
inline
static
int32_t
maxmin
(
int32_t
a
)
{
if
(
a
>
255
)
...
...
@@ -210,6 +208,7 @@ cleaner :) */
int
i_sat
;
int
i_Sin
;
int
i_Cos
;
int
p_lum_func
[
256
];
int
i
;
/* This is a new frame. Get a structure from the video_output. */
...
...
@@ -289,8 +288,8 @@ cleaner :) */
p_out_u
=
p_outpic
->
p
[
i_index
].
p_pixels
;
p_out_v
=
p_outpic
->
p
[
i_index
+
1
].
p_pixels
;
cospsin
=
128
*
(
i_Cos
+
i_Sin
);
cosmsin
=
128
*
(
i_Cos
-
i_Sin
);
cospsin
=
32768
*
(
cos
(
hue
)
+
sin
(
hue
)
);
cosmsin
=
32768
*
(
cos
(
hue
)
-
sin
(
hue
)
);
if
(
i_sat
>
256
)
{
...
...
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