aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/w64xmmtest.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-10-01 13:23:56 -0300
committerJames Almer <jamrial@gmail.com>2016-10-01 14:08:50 -0300
commit449f263f9fbdd17cef4d3b6e21d263c322eb014b (patch)
tree8927e92355e972594067a56ed1aa88065e4ba81a /libavcodec/x86/w64xmmtest.c
parent7ef3e5b593fb984b318d971421a7e687ca69d536 (diff)
downloadffmpeg-449f263f9fbdd17cef4d3b6e21d263c322eb014b.tar.gz
avcodec: add missing xmm/neon clobber test wrappers for the new encode API
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/w64xmmtest.c')
-rw-r--r--libavcodec/x86/w64xmmtest.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c
index 3d466d234b..d76a322a73 100644
--- a/libavcodec/x86/w64xmmtest.c
+++ b/libavcodec/x86/w64xmmtest.c
@@ -87,3 +87,13 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
{
testxmmclobbers(avcodec_receive_frame, avctx, frame);
}
+
+wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame))
+{
+ testxmmclobbers(avcodec_send_frame, avctx, avpkt);
+}
+
+wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt))
+{
+ testxmmclobbers(avcodec_receive_packet, avctx, frame);
+}