[FFmpeg-cvslog] x86: Add an xmm clobbering wrapper for avcodec_encode_video2
Martin Storsjö
git at videolan.org
Tue Sep 17 10:54:43 CEST 2013
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Sep 16 19:31:03 2013 +0300| [ede42109e73a0f836bca1a241369a5108003b91a] | committer: Michael Niedermayer
x86: Add an xmm clobbering wrapper for avcodec_encode_video2
This is required since 187105ff8 when we started trying to
wrap this function as well.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ede42109e73a0f836bca1a241369a5108003b91a
---
libavcodec/x86/w64xmmtest.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c
index 8ece384..25e833f 100644
--- a/libavcodec/x86/w64xmmtest.c
+++ b/libavcodec/x86/w64xmmtest.c
@@ -78,3 +78,9 @@ wrap(avcodec_encode_subtitle(AVCodecContext *avctx,
{
testxmmclobbers(avcodec_encode_subtitle, avctx, buf, buf_size, sub);
}
+
+wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
+ const AVFrame *frame, int *got_packet_ptr))
+{
+ testxmmclobbers(avcodec_encode_video2, avctx, avpkt, frame, got_packet_ptr);
+}
More information about the ffmpeg-cvslog
mailing list