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
7b8c82f7
Commit
7b8c82f7
authored
May 20, 2004
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deinterlace.c: BeOS compile fix
parent
57c5eaa3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/video_filter/deinterlace.c
modules/video_filter/deinterlace.c
+5
-4
No files found.
modules/video_filter/deinterlace.c
View file @
7b8c82f7
...
...
@@ -66,7 +66,7 @@ static void MergeAltivec ( void *, const void *, const void *, size_t );
#if defined(CAN_COMPILE_MMX)
static
void
MergeMMX
(
void
*
,
const
void
*
,
const
void
*
,
size_t
);
#endif
#if defined(CAN_COMPILE_SSE)
#if defined(CAN_COMPILE_SSE)
&& !defined(SYS_BEOS)
static
void
MergeSSE2
(
void
*
,
const
void
*
,
const
void
*
,
size_t
);
#endif
#if defined(CAN_COMPILE_MMX) || defined(CAN_COMPILE_SSE)
...
...
@@ -176,7 +176,7 @@ static int Create( vlc_object_t *p_this )
}
else
#endif
#if defined(CAN_COMPILE_SSE)
#if defined(CAN_COMPILE_SSE)
&& !defined(SYS_BEOS)
if
(
p_vout
->
p_libvlc
->
i_cpu
&
CPU_CAPABILITY_SSE2
)
{
p_vout
->
p_sys
->
pf_merge
=
MergeSSE2
;
...
...
@@ -900,18 +900,19 @@ static void MergeMMX( void *_p_dest, const void *_p_s1, const void *_p_s2,
}
#endif
#if defined(CAN_COMPILE_SSE)
#if defined(CAN_COMPILE_SSE)
&& !defined(SYS_BEOS)
static
void
MergeSSE2
(
void
*
_p_dest
,
const
void
*
_p_s1
,
const
void
*
_p_s2
,
size_t
i_bytes
)
{
uint8_t
*
p_dest
=
(
uint8_t
*
)
_p_dest
;
const
uint8_t
*
p_s1
=
(
const
uint8_t
*
)
_p_s1
;
const
uint8_t
*
p_s2
=
(
const
uint8_t
*
)
_p_s2
;
uint8_t
*
p_end
;
while
(
(
int
)
p_s1
%
16
)
{
*
p_dest
++
=
(
(
uint16_t
)(
*
p_s1
++
)
+
(
uint16_t
)(
*
p_s2
++
)
)
>>
1
;
}
uint8_t
*
p_end
=
p_dest
+
i_bytes
-
16
;
p_end
=
p_dest
+
i_bytes
-
16
;
while
(
p_dest
<
p_end
)
{
__asm__
__volatile__
(
"movdqu %2,%%xmm1;"
...
...
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