summaryrefslogtreecommitdiff
path: root/libavcodec/x86/w64xmmtest.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-07-03 16:43:08 -0300
committerJames Almer <jamrial@gmail.com>2016-07-03 18:04:30 -0300
commit293484fa5e444bf0437d010f8e9808555102eb90 (patch)
treed9d2747b888b338e3efb3a4940b1754b7c6a1a83 /libavcodec/x86/w64xmmtest.c
parent64c619369b3caba0e32b5deed5d1cda7726bc089 (diff)
downloadffmpeg-293484fa5e444bf0437d010f8e9808555102eb90.tar.gz
avcodec: add missing xmm/neon clobber test wrappers for the new decode 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 94b3049a7e..3d466d234b 100644
--- a/libavcodec/x86/w64xmmtest.c
+++ b/libavcodec/x86/w64xmmtest.c
@@ -77,3 +77,13 @@ wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
{
testxmmclobbers(avcodec_encode_video2, avctx, avpkt, frame, got_packet_ptr);
}
+
+wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt))
+{
+ testxmmclobbers(avcodec_send_packet, avctx, avpkt);
+}
+
+wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
+{
+ testxmmclobbers(avcodec_receive_frame, avctx, frame);
+}