Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
9e5687ad
Commit
9e5687ad
authored
Jan 29, 2015
by
Peter Cordes
Committed by
Michael Niedermayer
Mar 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pixelutils: Comment on (lack of) sad_8x8_sse2
Signed-off-by:
Peter Cordes
<
peter@cordes.ca
>
parent
4da3a14f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
pixelutils_init.c
libavutil/x86/pixelutils_init.c
+6
-0
No files found.
libavutil/x86/pixelutils_init.c
View file @
9e5687ad
...
...
@@ -43,6 +43,12 @@ void ff_pixelutils_sad_init_x86(av_pixelutils_sad_fn *sad, int aligned)
sad
[
2
]
=
ff_pixelutils_sad_8x8_mmx
;
}
// The best way to use SSE2 would be to do 2 SADs in parallel,
// but we'd have to modify the pixelutils API to return SIMD functions.
// It's probably not faster to shuffle data around
// to get two lines of 8 pixels into a single 16byte register,
// so just use the MMX 8x8 version even when SSE2 is available.
if
(
EXTERNAL_MMXEXT
(
cpu_flags
))
{
sad
[
2
]
=
ff_pixelutils_sad_8x8_mmxext
;
sad
[
3
]
=
ff_pixelutils_sad_16x16_mmxext
;
...
...
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