diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-12-02 14:34:50 -0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 07:32:36 +0100 |
commit | 65f1d45dcc71186ede72fff950996099d23359bd (patch) | |
tree | 6abb05fb0478c14c82dfc60262e05d50acda5287 /tests | |
parent | eae0879d961b78717dd2a0899809ad22819ae9e3 (diff) | |
download | ffmpeg-65f1d45dcc71186ede72fff950996099d23359bd.tar.gz |
lavu: add support for atomic operations.
These could be used for reference counting, or for keeping track of
decoding progress in references in multithreaded decoders.
Support is provided by gcc/msvc/suncc intrinsics, with a fallback using
pthread mutexes.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/libavutil.mak | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate/libavutil.mak b/tests/fate/libavutil.mak index 5befcce7df..3777625e80 100644 --- a/tests/fate/libavutil.mak +++ b/tests/fate/libavutil.mak @@ -8,6 +8,11 @@ fate-aes: libavutil/aes-test$(EXESUF) fate-aes: CMD = run libavutil/aes-test fate-aes: REF = /dev/null +FATE_LIBAVUTIL += fate-atomic +fate-atomic: libavutil/atomic-test$(EXESUF) +fate-atomic: CMD = run libavutil/atomic-test +fate-atomic: REF = /dev/null + FATE_LIBAVUTIL += fate-avstring fate-avstring: libavutil/avstring-test$(EXESUF) fate-avstring: CMD = run libavutil/avstring-test |