Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
de2ae3c1
Commit
de2ae3c1
authored
Sep 21, 2016
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: add clobber tests for the new encoding/decoding API
parent
68811a41
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
0 deletions
+68
-0
configure
configure
+8
-0
neontest.c
libavcodec/aarch64/neontest.c
+20
-0
neontest.c
libavcodec/arm/neontest.c
+20
-0
w64xmmtest.c
libavcodec/x86/w64xmmtest.c
+20
-0
No files found.
configure
View file @
de2ae3c1
...
...
@@ -4831,6 +4831,10 @@ enabled neon_clobber_test &&
-Wl
,--wrap,avcodec_encode_audio2
\
-Wl
,--wrap,avcodec_encode_video2
\
-Wl
,--wrap,avcodec_encode_subtitle
\
-Wl
,--wrap,avcodec_send_packet
\
-Wl
,--wrap,avcodec_receive_packet
\
-Wl
,--wrap,avcodec_send_frame
\
-Wl
,--wrap,avcodec_receive_frame
\
-Wl
,--wrap,avresample_convert
||
disable neon_clobber_test
...
...
@@ -4842,6 +4846,10 @@ enabled xmm_clobber_test &&
-Wl
,--wrap,avcodec_encode_audio2
\
-Wl
,--wrap,avcodec_encode_video2
\
-Wl
,--wrap,avcodec_encode_subtitle
\
-Wl
,--wrap,avcodec_send_packet
\
-Wl
,--wrap,avcodec_receive_packet
\
-Wl
,--wrap,avcodec_send_frame
\
-Wl
,--wrap,avcodec_receive_frame
\
-Wl
,--wrap,avresample_convert
\
-Wl
,--wrap,sws_scale
||
disable xmm_clobber_test
...
...
libavcodec/aarch64/neontest.c
View file @
de2ae3c1
...
...
@@ -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
);
}
libavcodec/arm/neontest.c
View file @
de2ae3c1
...
...
@@ -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
);
}
libavcodec/x86/w64xmmtest.c
View file @
de2ae3c1
...
...
@@ -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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment