diff options
author | James Almer <jamrial@gmail.com> | 2016-10-01 13:23:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-10-01 14:08:50 -0300 |
commit | 449f263f9fbdd17cef4d3b6e21d263c322eb014b (patch) | |
tree | 8927e92355e972594067a56ed1aa88065e4ba81a /libavcodec | |
parent | 7ef3e5b593fb984b318d971421a7e687ca69d536 (diff) |
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')
-rw-r--r-- | libavcodec/aarch64/neontest.c | 10 | ||||
-rw-r--r-- | libavcodec/arm/neontest.c | 10 | ||||
-rw-r--r-- | libavcodec/x86/w64xmmtest.c | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/libavcodec/aarch64/neontest.c b/libavcodec/aarch64/neontest.c index 302a322d41..93f162d0c4 100644 --- a/libavcodec/aarch64/neontest.c +++ b/libavcodec/aarch64/neontest.c @@ -87,3 +87,13 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) { testneonclobbers(avcodec_receive_frame, avctx, frame); } + +wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) +{ + testneonclobbers(avcodec_send_frame, avctx, avpkt); +} + +wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) +{ + testneonclobbers(avcodec_receive_packet, avctx, frame); +} diff --git a/libavcodec/arm/neontest.c b/libavcodec/arm/neontest.c index 51d158b9da..b24120c0aa 100644 --- a/libavcodec/arm/neontest.c +++ b/libavcodec/arm/neontest.c @@ -87,3 +87,13 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) { testneonclobbers(avcodec_receive_frame, avctx, frame); } + +wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) +{ + testneonclobbers(avcodec_send_frame, avctx, avpkt); +} + +wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) +{ + testneonclobbers(avcodec_receive_packet, avctx, frame); +} 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); +} |