summaryrefslogtreecommitdiff
path: root/libavcodec/aarch64/neontest.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/aarch64/neontest.c
parent64c619369b3caba0e32b5deed5d1cda7726bc089 (diff)
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/aarch64/neontest.c')
-rw-r--r--libavcodec/aarch64/neontest.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/aarch64/neontest.c b/libavcodec/aarch64/neontest.c
index b1f1a6d200..302a322d41 100644
--- a/libavcodec/aarch64/neontest.c
+++ b/libavcodec/aarch64/neontest.c
@@ -77,3 +77,13 @@ wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
{
testneonclobbers(avcodec_encode_video2, avctx, avpkt, frame, got_packet_ptr);
}
+
+wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt))
+{
+ testneonclobbers(avcodec_send_packet, avctx, avpkt);
+}
+
+wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
+{
+ testneonclobbers(avcodec_receive_frame, avctx, frame);
+}