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
dfc82177
Commit
dfc82177
authored
Apr 26, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unneeded tests.
parent
c90b95df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
modules/video_filter/sharpen.c
modules/video_filter/sharpen.c
+0
-9
No files found.
modules/video_filter/sharpen.c
View file @
dfc82177
...
@@ -171,8 +171,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
...
@@ -171,8 +171,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
const
int
v2
=
3
;
/* 2^3 = 8 */
const
int
v2
=
3
;
/* 2^3 = 8 */
if
(
!
p_pic
)
return
NULL
;
if
(
!
p_pic
)
return
NULL
;
if
(
!
p_filter
)
return
NULL
;
if
(
!
p_filter
->
p_sys
)
return
NULL
;
p_outpic
=
filter_NewPicture
(
p_filter
);
p_outpic
=
filter_NewPicture
(
p_filter
);
if
(
!
p_outpic
)
if
(
!
p_outpic
)
...
@@ -184,13 +182,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
...
@@ -184,13 +182,6 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
/* process the Y plane */
/* process the Y plane */
p_src
=
p_pic
->
p
[
Y_PLANE
].
p_pixels
;
p_src
=
p_pic
->
p
[
Y_PLANE
].
p_pixels
;
p_out
=
p_outpic
->
p
[
Y_PLANE
].
p_pixels
;
p_out
=
p_outpic
->
p
[
Y_PLANE
].
p_pixels
;
if
(
!
p_src
||
!
p_out
)
{
msg_Warn
(
p_filter
,
"can't get Y plane"
);
picture_Release
(
p_pic
);
return
NULL
;
}
i_src_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
;
i_src_pitch
=
p_pic
->
p
[
Y_PLANE
].
i_visible_pitch
;
/* perform convolution only on Y plane. Avoid border line. */
/* perform convolution only on Y plane. Avoid border line. */
...
...
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