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
ce1e8045
Commit
ce1e8045
authored
Sep 16, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: fdct: Employ more specific ifdefs
This avoids building mmxext and sse2 code when disabled by configure.
parent
9adbc3f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
fdct.c
libavcodec/x86/fdct.c
+10
-2
No files found.
libavcodec/x86/fdct.c
View file @
ce1e8045
...
...
@@ -34,7 +34,7 @@
#include "libavutil/x86/asm.h"
#include "libavcodec/dct.h"
#if HAVE_
INLINE_ASM
#if HAVE_
MMX_INLINE
//////////////////////////////////////////////////////////////////////
//
...
...
@@ -556,6 +556,10 @@ void ff_fdct_mmx(int16_t *block)
}
}
#endif
/* HAVE_MMX_INLINE */
#if HAVE_MMXEXT_INLINE
void
ff_fdct_mmxext
(
int16_t
*
block
)
{
DECLARE_ALIGNED
(
8
,
int64_t
,
align_tmp
)[
16
];
...
...
@@ -574,6 +578,10 @@ void ff_fdct_mmxext(int16_t *block)
}
}
#endif
/* HAVE_MMXEXT_INLINE */
#if HAVE_SSE2_INLINE
void
ff_fdct_sse2
(
int16_t
*
block
)
{
DECLARE_ALIGNED
(
16
,
int64_t
,
align_tmp
)[
16
];
...
...
@@ -583,4 +591,4 @@ void ff_fdct_sse2(int16_t *block)
fdct_row_sse2
(
block1
,
block
);
}
#endif
/* HAVE_
INLINE_ASM
*/
#endif
/* HAVE_
SSE2_INLINE
*/
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