From de2ae3c1fae5a2eb539b9abd7bc2a9ca8c286ff0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 21 Sep 2016 20:44:36 +0200 Subject: lavc: add clobber tests for the new encoding/decoding API --- libavcodec/arm/neontest.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'libavcodec/arm') diff --git a/libavcodec/arm/neontest.c b/libavcodec/arm/neontest.c index 692576ee45..67d7747571 100644 --- a/libavcodec/arm/neontest.c +++ b/libavcodec/arm/neontest.c @@ -77,3 +77,23 @@ 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_packet(AVCodecContext *avctx, AVPacket *avpkt)) +{ + testneonclobbers(avcodec_receive_packet, avctx, avpkt); +} + +wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) +{ + testneonclobbers(avcodec_send_frame, avctx, frame); +} + +wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) +{ + testneonclobbers(avcodec_receive_frame, avctx, frame); +} -- cgit v1.2.3