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
2903960f
Commit
2903960f
authored
Aug 05, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deinterlace: fix build
Regression hidden by
6fe7eb60
.
parent
996bff47
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/video_filter/deinterlace/algo_x.c
modules/video_filter/deinterlace/algo_x.c
+4
-10
No files found.
modules/video_filter/deinterlace/algo_x.c
View file @
2903960f
...
@@ -535,8 +535,8 @@ static inline void XDeintBand8x8MMXEXT( uint8_t *dst, int i_dst,
...
@@ -535,8 +535,8 @@ static inline void XDeintBand8x8MMXEXT( uint8_t *dst, int i_dst,
void
RenderX
(
picture_t
*
p_outpic
,
picture_t
*
p_pic
)
void
RenderX
(
picture_t
*
p_outpic
,
picture_t
*
p_pic
)
{
{
int
i_plane
;
int
i_plane
;
#if defined (CAN_COMPILE_MMXEXT)
&& !defined(__SSE__)
#if defined (CAN_COMPILE_MMXEXT)
const
unsigned
u_cpu
=
vlc_CPU
();
const
bool
mmxext
=
vlc_CPU_MMXEXT
();
#endif
#endif
/* Copy image and skip lines */
/* Copy image and skip lines */
...
@@ -559,15 +559,11 @@ void RenderX( picture_t *p_outpic, picture_t *p_pic )
...
@@ -559,15 +559,11 @@ void RenderX( picture_t *p_outpic, picture_t *p_pic )
uint8_t
*
src
=
&
p_pic
->
p
[
i_plane
].
p_pixels
[
8
*
y
*
i_src
];
uint8_t
*
src
=
&
p_pic
->
p
[
i_plane
].
p_pixels
[
8
*
y
*
i_src
];
#ifdef CAN_COMPILE_MMXEXT
#ifdef CAN_COMPILE_MMXEXT
# ifndef __SSE__
if
(
mmxext
)
if
(
u_cpu
&
VLC_CPU_MMXEXT
)
# endif
XDeintBand8x8MMXEXT
(
dst
,
i_dst
,
src
,
i_src
,
i_mbx
,
i_modx
);
XDeintBand8x8MMXEXT
(
dst
,
i_dst
,
src
,
i_src
,
i_mbx
,
i_modx
);
else
else
#endif
#endif
#ifndef __SSE__
XDeintBand8x8C
(
dst
,
i_dst
,
src
,
i_src
,
i_mbx
,
i_modx
);
XDeintBand8x8C
(
dst
,
i_dst
,
src
,
i_src
,
i_mbx
,
i_modx
);
#endif
}
}
/* Last line (C only)*/
/* Last line (C only)*/
...
@@ -590,9 +586,7 @@ void RenderX( picture_t *p_outpic, picture_t *p_pic )
...
@@ -590,9 +586,7 @@ void RenderX( picture_t *p_outpic, picture_t *p_pic )
}
}
#ifdef CAN_COMPILE_MMXEXT
#ifdef CAN_COMPILE_MMXEXT
# ifndef __SSE__
if
(
mmxext
)
if
(
u_cpu
&
VLC_CPU_MMXEXT
)
# endif
emms
();
emms
();
#endif
#endif
}
}
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