projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d39bf3d
)
h264dsp_mmx: Add #ifdefs around some mmxext functions on x86_64.
author
Gil Pedersen
<gil@cmi.aau.dk>
Mon, 16 May 2011 12:40:56 +0000
(14:40 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 16 May 2011 13:35:53 +0000
(15:35 +0200)
This fixes linking errors due to undefined symbols on x86_64 OS X.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/x86/h264dsp_mmx.c
patch
|
blob
|
history
diff --git
a/libavcodec/x86/h264dsp_mmx.c
b/libavcodec/x86/h264dsp_mmx.c
index 01b11163c80b9fb7d7a0be8aa8148720b1d609a8..1c07d14cd0f10607d1d48f518ff92b5b0413a4e1 100644
(file)
--- a/
libavcodec/x86/h264dsp_mmx.c
+++ b/
libavcodec/x86/h264dsp_mmx.c
@@
-252,6
+252,7
@@
LF_IFUNC(v, chroma_intra, depth, avx)
LF_FUNCS( uint8_t, 8)
LF_FUNCS(uint16_t, 10)
+#if ARCH_X86_32
LF_FUNC (v8, luma, 8, mmxext)
static void ff_deblock_v_luma_8_mmxext(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0)
{
@@
-266,6
+267,7
@@
static void ff_deblock_v_luma_intra_8_mmxext(uint8_t *pix, int stride, int alpha
ff_deblock_v8_luma_intra_8_mmxext(pix+0, stride, alpha, beta);
ff_deblock_v8_luma_intra_8_mmxext(pix+8, stride, alpha, beta);
}
+#endif /* ARCH_X86_32 */
LF_FUNC (v, luma, 10, mmxext)
LF_IFUNC(v, luma_intra, 10, mmxext)