1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00

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>
This commit is contained in:
James Almer 2016-10-01 13:23:56 -03:00
parent 7ef3e5b593
commit 449f263f9f
4 changed files with 34 additions and 0 deletions

4
configure vendored
View File

@ -6079,6 +6079,8 @@ enabled neon_clobber_test &&
-Wl,--wrap,avcodec_encode_video2 \ -Wl,--wrap,avcodec_encode_video2 \
-Wl,--wrap,avcodec_send_packet \ -Wl,--wrap,avcodec_send_packet \
-Wl,--wrap,avcodec_receive_frame \ -Wl,--wrap,avcodec_receive_frame \
-Wl,--wrap,avcodec_send_frame \
-Wl,--wrap,avcodec_receive_packet \
-Wl,--wrap,avcodec_encode_subtitle \ -Wl,--wrap,avcodec_encode_subtitle \
-Wl,--wrap,swr_convert \ -Wl,--wrap,swr_convert \
-Wl,--wrap,avresample_convert || -Wl,--wrap,avresample_convert ||
@ -6094,6 +6096,8 @@ enabled xmm_clobber_test &&
-Wl,--wrap,avcodec_encode_subtitle \ -Wl,--wrap,avcodec_encode_subtitle \
-Wl,--wrap,avcodec_send_packet \ -Wl,--wrap,avcodec_send_packet \
-Wl,--wrap,avcodec_receive_frame \ -Wl,--wrap,avcodec_receive_frame \
-Wl,--wrap,avcodec_send_frame \
-Wl,--wrap,avcodec_receive_packet \
-Wl,--wrap,swr_convert \ -Wl,--wrap,swr_convert \
-Wl,--wrap,avresample_convert \ -Wl,--wrap,avresample_convert \
-Wl,--wrap,sws_scale || -Wl,--wrap,sws_scale ||

View File

@ -87,3 +87,13 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
{ {
testneonclobbers(avcodec_receive_frame, avctx, 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);
}

View File

@ -87,3 +87,13 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
{ {
testneonclobbers(avcodec_receive_frame, avctx, 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);
}

View File

@ -87,3 +87,13 @@ wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame))
{ {
testxmmclobbers(avcodec_receive_frame, avctx, 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);
}