Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
65574801
Commit
65574801
authored
Mar 24, 2011
by
Juha Jeronen
Committed by
Laurent Aimar
Mar 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RenderX(): cache vlc_CPU()
Signed-off-by:
Laurent Aimar
<
fenrir@videolan.org
>
parent
1a779ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/video_filter/deinterlace.c
modules/video_filter/deinterlace.c
+3
-2
No files found.
modules/video_filter/deinterlace.c
View file @
65574801
...
@@ -1440,6 +1440,7 @@ static inline void XDeintBand8x8MMXEXT( uint8_t *dst, int i_dst,
...
@@ -1440,6 +1440,7 @@ static inline void XDeintBand8x8MMXEXT( uint8_t *dst, int i_dst,
static
void
RenderX
(
picture_t
*
p_outpic
,
picture_t
*
p_pic
)
static
void
RenderX
(
picture_t
*
p_outpic
,
picture_t
*
p_pic
)
{
{
int
i_plane
;
int
i_plane
;
unsigned
u_cpu
=
vlc_CPU
();
/* Copy image and skip lines */
/* Copy image and skip lines */
for
(
i_plane
=
0
;
i_plane
<
p_pic
->
i_planes
;
i_plane
++
)
for
(
i_plane
=
0
;
i_plane
<
p_pic
->
i_planes
;
i_plane
++
)
...
@@ -1461,7 +1462,7 @@ static void RenderX( picture_t *p_outpic, picture_t *p_pic )
...
@@ -1461,7 +1462,7 @@ static 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
if
(
vlc_CPU
()
&
CPU_CAPABILITY_MMXEXT
)
if
(
u_cpu
&
CPU_CAPABILITY_MMXEXT
)
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
...
@@ -1488,7 +1489,7 @@ static void RenderX( picture_t *p_outpic, picture_t *p_pic )
...
@@ -1488,7 +1489,7 @@ static void RenderX( picture_t *p_outpic, picture_t *p_pic )
}
}
#ifdef CAN_COMPILE_MMXEXT
#ifdef CAN_COMPILE_MMXEXT
if
(
vlc_CPU
()
&
CPU_CAPABILITY_MMXEXT
)
if
(
u_cpu
&
CPU_CAPABILITY_MMXEXT
)
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