diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-08-31 14:32:24 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-08-31 14:32:24 +0000 |
commit | 0bfbbc13906c4ca2c8d28aa22803a2594a9634b1 (patch) | |
tree | eaa4ba0f94ea230865705de18315afcf94d8a405 /src/libffmpeg/libavcodec/idct_mlib.c | |
parent | 2d3f4a1d87de306103990f1c8690d4e997e45db3 (diff) | |
download | xine-lib-0bfbbc13906c4ca2c8d28aa22803a2594a9634b1.tar.gz xine-lib-0bfbbc13906c4ca2c8d28aa22803a2594a9634b1.tar.bz2 |
Add mediaLib acceleration for UltarSPARCs to ffmpeg's libavcodec
CVS patchset: 531
CVS date: 2001/08/31 14:32:24
Diffstat (limited to 'src/libffmpeg/libavcodec/idct_mlib.c')
-rw-r--r-- | src/libffmpeg/libavcodec/idct_mlib.c | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/idct_mlib.c b/src/libffmpeg/libavcodec/idct_mlib.c new file mode 100644 index 000000000..63421273f --- /dev/null +++ b/src/libffmpeg/libavcodec/idct_mlib.c @@ -0,0 +1,38 @@ +/* + * Sun mediaLib optimized DSP utils + * Copyright (c) 2001 Juergen Keil. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + +#include "dsputil.h" + +#include <mlib_types.h> +#include <mlib_status.h> +#include <mlib_sys.h> +#include <mlib_video.h> + + +void ff_idct_mlib(DCTELEM *data) +{ + mlib_VideoIDCT8x8_S16_S16 (data, data); +} + + +void ff_fdct_mlib(DCTELEM *data) +{ + mlib_VideoDCT8x8_S16_S16 (data, data); +} |