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
d12a67f4
Commit
d12a67f4
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
2903960f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
modules/video_filter/deinterlace/algo_phosphor.c
modules/video_filter/deinterlace/algo_phosphor.c
+4
-14
No files found.
modules/video_filter/deinterlace/algo_phosphor.c
View file @
d12a67f4
...
...
@@ -79,9 +79,7 @@ static void DarkenField( picture_t *p_dst,
/* Bitwise ANDing with this clears the i_strength highest bits
of each byte */
#ifdef CAN_COMPILE_MMXEXT
# ifndef __SSE__
const
unsigned
u_cpu
=
vlc_CPU
();
# endif
const
bool
mmxext
=
vlc_CPU_MMXEXT
();
uint64_t
i_strength_u64
=
i_strength
;
/* for MMX version (needs to know
number of bits) */
#endif
...
...
@@ -115,9 +113,7 @@ static void DarkenField( picture_t *p_dst,
int
x
=
0
;
#ifdef CAN_COMPILE_MMXEXT
# ifndef __SSE__
if
(
u_cpu
&
VLC_CPU_MMXEXT
)
# endif
if
(
mmxext
)
{
movq_m2r
(
i_strength_u64
,
mm1
);
movq_m2r
(
remove_high_u64
,
mm2
);
...
...
@@ -133,12 +129,10 @@ static void DarkenField( picture_t *p_dst,
}
else
#endif
#if !defined (CAN_COMPILE_MMXEXT) || !defined (__SSE__)
{
for
(
;
x
<
w8
;
x
+=
8
,
++
po
)
(
*
po
)
=
(
((
*
po
)
>>
i_strength
)
&
remove_high_u64
);
}
#endif
/* handle the width remainder */
uint8_t
*
po_temp
=
(
uint8_t
*
)
po
;
...
...
@@ -178,9 +172,7 @@ static void DarkenField( picture_t *p_dst,
#ifdef CAN_COMPILE_MMXEXT
/* See also easy-to-read C version below. */
# ifndef __SSE__
if
(
u_cpu
&
VLC_CPU_MMXEXT
)
# endif
if
(
mmxext
)
{
static
const
mmx_t
b128
=
{
.
uq
=
0x8080808080808080ULL
};
movq_m2r
(
b128
,
mm5
);
...
...
@@ -222,9 +214,7 @@ static void DarkenField( picture_t *p_dst,
}
/* if process_chroma */
#ifdef CAN_COMPILE_MMXEXT
# ifndef __SSE__
if
(
u_cpu
&
VLC_CPU_MMXEXT
)
# endif
if
(
mmxext
)
emms
();
#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