Mercurial > libavcodec.hg
changeset 10114:8b9fc0c8f1cc libavcodec
Move declarations of some mmx functions to dsputil_mmx.h
author | mru |
---|---|
date | Sat, 29 Aug 2009 16:55:50 +0000 |
parents | 4b99f60333ca |
children | 0b76ca7e07b5 |
files | dsputil.h x86/dsputil_mmx.h x86/idct_sse2_xvid.c x86/motion_est_mmx.c x86/simple_idct_mmx.c |
diffstat | 5 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dsputil.h Sat Aug 29 16:55:46 2009 +0000 +++ b/dsputil.h Sat Aug 29 16:55:50 2009 +0000 @@ -618,10 +618,6 @@ extern int mm_flags; -void add_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size); -void put_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size); -void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size); - static inline void emms(void) { __asm__ volatile ("emms;":::"memory"); @@ -634,8 +630,6 @@ emms();\ } -void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); - #elif ARCH_ARM extern int mm_flags;
--- a/x86/dsputil_mmx.h Sat Aug 29 16:55:46 2009 +0000 +++ b/x86/dsputil_mmx.h Sat Aug 29 16:55:50 2009 +0000 @@ -150,5 +150,10 @@ "psrlw $15, %%" #regd ::) void dsputilenc_init_mmx(DSPContext* c, AVCodecContext *avctx); +void dsputil_init_pix_mmx(DSPContext* c, AVCodecContext *avctx); + +void add_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size); +void put_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size); +void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size); #endif /* AVCODEC_X86_DSPUTIL_MMX_H */
--- a/x86/idct_sse2_xvid.c Sat Aug 29 16:55:46 2009 +0000 +++ b/x86/idct_sse2_xvid.c Sat Aug 29 16:55:50 2009 +0000 @@ -40,6 +40,7 @@ #include "libavcodec/dsputil.h" #include "idct_xvid.h" +#include "dsputil_mmx.h" /*! * @file libavcodec/x86/idct_sse2_xvid.c