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
b60c46f0
Commit
b60c46f0
authored
Mar 24, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust: removed unused values
parent
2111fffa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
modules/video_filter/adjust.c
modules/video_filter/adjust.c
+3
-11
No files found.
modules/video_filter/adjust.c
View file @
b60c46f0
...
...
@@ -372,11 +372,11 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
int
pi_gamma
[
256
];
picture_t
*
p_outpic
;
uint8_t
*
p_in
,
*
p_in_
v
,
*
p_in_
end
,
*
p_line_end
;
uint8_t
*
p_out
,
*
p_out_v
;
uint8_t
*
p_in
,
*
p_in_end
,
*
p_line_end
;
uint8_t
*
p_out
;
int
i_y_offset
,
i_u_offset
,
i_v_offset
;
int
i_
visible_lines
,
i_
pitch
,
i_visible_pitch
;
int
i_pitch
,
i_visible_pitch
;
bool
b_thres
;
double
f_hue
;
...
...
@@ -389,7 +389,6 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
if
(
!
p_pic
)
return
NULL
;
i_visible_lines
=
p_pic
->
p
->
i_visible_lines
;
i_pitch
=
p_pic
->
p
->
i_pitch
;
i_visible_pitch
=
p_pic
->
p
->
i_visible_pitch
;
...
...
@@ -502,13 +501,6 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
* Do the U and V planes
*/
p_in
=
p_pic
->
p
->
p_pixels
+
i_u_offset
;
p_in_v
=
p_pic
->
p
->
p_pixels
+
i_v_offset
;
p_in_end
=
p_in
+
i_visible_lines
*
i_pitch
-
8
*
4
;
p_out
=
p_outpic
->
p
->
p_pixels
+
i_u_offset
;
p_out_v
=
p_outpic
->
p
->
p_pixels
+
i_v_offset
;
i_sin
=
sin
(
f_hue
)
*
256
;
i_cos
=
cos
(
f_hue
)
*
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