better separation of vp3dsp functions from dsputil_mmx.c
[ffmpeg.git] / libavcodec / i386 / vp3dsp_mmx.c
index 363ea02e3b48930002ecff5bc9266357dce6a07d..d71a2b4141f7c3ce2d4d6ad76e6fecdbddbd7df1 100644 (file)
@@ -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);
+}