Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d54e32e1
Commit
d54e32e1
authored
Aug 27, 2002
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a minor bug
parent
2d8a1a70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/video_filter/motionblur.c
modules/video_filter/motionblur.c
+6
-3
No files found.
modules/video_filter/motionblur.c
View file @
d54e32e1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* motion_blur.c : motion blur filter for vlc
* motion_blur.c : motion blur filter for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* Copyright (C) 2000, 2001 VideoLAN
* $Id: motionblur.c,v 1.
1 2002/08/26 22:35:58
sigmunau Exp $
* $Id: motionblur.c,v 1.
2 2002/08/27 21:53:54
sigmunau Exp $
*
*
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
*
*
...
@@ -291,10 +291,13 @@ static void RenderBlur( vout_thread_t *p_vout, picture_t *p_oldpic,
...
@@ -291,10 +291,13 @@ static void RenderBlur( vout_thread_t *p_vout, picture_t *p_oldpic,
p_old
=
p_oldpic
->
p
[
i_plane
].
p_pixels
;
p_old
=
p_oldpic
->
p
[
i_plane
].
p_pixels
;
p_out_end
=
p_out
+
p_outpic
->
p
[
i_plane
].
i_pitch
*
p_out_end
=
p_out
+
p_outpic
->
p
[
i_plane
].
i_pitch
*
p_outpic
->
p
[
i_plane
].
i_lines
;
p_outpic
->
p
[
i_plane
].
i_lines
;
while
(
p_out
<
p_out_end
+
4
)
while
(
p_out
<
p_out_end
)
{
{
*
p_out
++
=
(((
*
p_old
++
)
*
i_oldfactor
)
+
((
*
p_new
++
)
*
i_newfactor
))
>>
7
;
*
p_out
++
=
(((
*
p_old
++
)
*
i_oldfactor
)
+
((
*
p_new
++
)
*
i_newfactor
))
>>
7
;
// *p_out++ = (*p_old++ >> 1) + (*p_new++ >> 1);
// *p_out++ = (*p_old++ >> 1) + (*p_new++ >> 1);
}
}
}
}
}
}
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