summaryrefslogtreecommitdiff
path: root/libavcodec/i386/vp3dsp_mmx.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-05-16 23:23:45 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-05-16 23:23:45 +0000
commit5b0b7054b481ccc5fb55855f0b288d105e2286da (patch)
tree17e57d9a157c363b0dd1e9adff8b01e24e5a5b98 /libavcodec/i386/vp3dsp_mmx.c
parentb8a997454464d1758f33cfe9ef05768e10f67be0 (diff)
better separation of vp3dsp functions from dsputil_mmx.c
Originally committed as revision 9039 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/vp3dsp_mmx.c')
-rw-r--r--libavcodec/i386/vp3dsp_mmx.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavcodec/i386/vp3dsp_mmx.c b/libavcodec/i386/vp3dsp_mmx.c
index 363ea02e3b..d71a2b4141 100644
--- a/libavcodec/i386/vp3dsp_mmx.c
+++ b/libavcodec/i386/vp3dsp_mmx.c
@@ -322,3 +322,15 @@ void ff_vp3_idct_mmx(int16_t *output_data)
#undef J
}
+
+void ff_vp3_idct_put_mmx(uint8_t *dest, int line_size, DCTELEM *block)
+{
+ ff_vp3_idct_mmx(block);
+ put_signed_pixels_clamped_mmx(block, dest, line_size);
+}
+
+void ff_vp3_idct_add_mmx(uint8_t *dest, int line_size, DCTELEM *block)
+{
+ ff_vp3_idct_mmx(block);
+ add_pixels_clamped_mmx(block, dest, line_size);
+}