aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/w64xmmtest.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-09-21 20:44:36 +0200
committerAnton Khirnov <anton@khirnov.net>2016-09-28 10:01:52 +0200
commitde2ae3c1fae5a2eb539b9abd7bc2a9ca8c286ff0 (patch)
treec11a082f4db0f33ecfdd52d1e645cea47bb3d919 /libavcodec/x86/w64xmmtest.c
parent68811a41c70f019bde6df2a4f289674228c48958 (diff)
downloadffmpeg-de2ae3c1fae5a2eb539b9abd7bc2a9ca8c286ff0.tar.gz
lavc: add clobber tests for the new encoding/decoding API
Diffstat (limited to 'libavcodec/x86/w64xmmtest.c')
-rw-r--r--libavcodec/x86/w64xmmtest.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libavcodec/x86/w64xmmtest.c b/libavcodec/x86/w64xmmtest.c
index 400dc4df30..8925573ade 100644
--- a/libavcodec/x86/w64xmmtest.c
+++ b/libavcodec/x86/w64xmmtest.c
@@ -77,3 +77,23 @@ 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_packet(AVCodecContext *avctx, AVPacket *avpkt))
+{
+ testxmmclobbers(avcodec_receive_packet, avctx, avpkt);
+}
+
+wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame))
+{
+ testxmmclobbers(avcodec_send_frame, avctx, frame);
+}
+
+wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
+{
+ testxmmclobbers(avcodec_receive_frame, avctx, frame);
+}