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
890ba553
Commit
890ba553
authored
Jul 30, 2004
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_filter/invert.c: don't cast lvalues.
parent
d8da3832
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
modules/video_filter/invert.c
modules/video_filter/invert.c
+12
-9
No files found.
modules/video_filter/invert.c
View file @
890ba553
...
@@ -215,21 +215,24 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
...
@@ -215,21 +215,24 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
for
(
;
p_in
<
p_in_end
;
)
for
(
;
p_in
<
p_in_end
;
)
{
{
uint64_t
*
p_in64
,
*
p_out64
;
p_line_end
=
p_in
+
p_pic
->
p
[
i_index
].
i_visible_pitch
-
64
;
p_line_end
=
p_in
+
p_pic
->
p
[
i_index
].
i_visible_pitch
-
64
;
for
(
;
p_in
<
p_line_end
;
)
p_in64
=
(
uint64_t
*
)
p_in
;
p_out64
=
(
uint64_t
*
)
p_out
;
for
(
;
(
ptrdiff_t
)
p_in64
<
(
ptrdiff_t
)
p_line_end
;
)
{
{
/* Do 64 pixels at a time */
/* Do 64 pixels at a time */
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
p_out64
++
=
~*
p_in64
++
;
*
p_out64
++
=
~*
p_in64
++
;
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
p_out64
++
=
~*
p_in64
++
;
*
p_out64
++
=
~*
p_in64
++
;
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
p_out64
++
=
~*
p_in64
++
;
*
p_out64
++
=
~*
p_in64
++
;
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
p_out64
++
=
~*
p_in64
++
;
*
p_out64
++
=
~*
p_in64
++
;
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
*
((
uint64_t
*
)
p_out
)
++
=
~
(
*
((
uint64_t
*
)
p_in
)
++
);
}
}
p_in
=
(
uint8_t
*
)
p_in64
;
p_out
=
(
uint8_t
*
)
p_out64
;
p_line_end
+=
64
;
p_line_end
+=
64
;
for
(
;
p_in
<
p_line_end
;
)
for
(
;
p_in
<
p_line_end
;
)
...
...
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