Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
c1458b72
Commit
c1458b72
authored
Apr 25, 2001
by
Christophe Massiot
Browse files
* Removed my optimization attempt.
parent
6783b216
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/video_output/video_output.c
View file @
c1458b72
...
...
@@ -5,7 +5,7 @@
* thread, and destroy a previously oppened video output thread.
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: video_output.c,v 1.1
19
2001/04/25
1
0:
22:33
massiot Exp $
* $Id: video_output.c,v 1.1
20
2001/04/25
2
0:
54:07
massiot Exp $
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
*
...
...
@@ -1617,8 +1617,6 @@ static void SetBufferPicture( vout_thread_t *p_vout, picture_t *p_pic )
i_data_size
=
(
p_buffer
->
pi_area_end
[
i_area
]
-
p_buffer
->
pi_area_begin
[
i_area
]
+
1
)
*
p_vout
->
i_bytes_per_line
;
p_data
=
(
u64
*
)
(
p_buffer
->
p_data
+
p_vout
->
i_bytes_per_line
*
p_buffer
->
pi_area_begin
[
i_area
]);
#if 0
/* Removed for performance --Meuuh */
for
(
i_data_index
=
i_data_size
/
256
;
i_data_index
--
;
)
{
/* Clear 256 bytes block */
...
...
@@ -1642,7 +1640,6 @@ static void SetBufferPicture( vout_thread_t *p_vout, picture_t *p_pic )
/* Clear remaining bytes */
*
p_data8
++
=
0
;
}
#endif
}
/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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