[FFmpeg-devel] [PATCH] Add test foravpriv_get_trc_function_from_trc function

Michael Niedermayer michael at niedermayer.cc
Thu Mar 3 04:44:30 CET 2016


On Wed, Mar 02, 2016 at 06:36:26PM -0800, NagaChaitanya Vellanki wrote:
> ---
>  libavutil/Makefile         |   1 +
>  libavutil/color_utils.c    |  29 +++++
>  tests/fate/libavutil.mak   |   4 +
>  tests/ref/fate/color_utils | 285 +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 319 insertions(+)
>  create mode 100644 tests/ref/fate/color_utils

fails on x86-32
--- ffmpeg/tests/ref/fate/color_utils  2016-03-03 04:07:54.150126182 +0100
+++ tests/data/fate/color_utils 2016-03-03 04:43:57.406171756 +0100
@@ -172,7 +172,7 @@
 AVColorTransferCharacteristic=12 calling func(-0.100000) expected=-0.206787
 AVColorTransferCharacteristic=12 calling func(-0.018054) expected=-0.109049
 AVColorTransferCharacteristic=12 calling func(-0.010000) expected=-0.089387
-AVColorTransferCharacteristic=12 calling func(-0.004500) expected=-0.069898
+AVColorTransferCharacteristic=12 calling func(-0.004500) expected=-0.020250
 AVColorTransferCharacteristic=12 calling func(0.000000) expected=0.000000
 AVColorTransferCharacteristic=12 calling func(0.003162) expected=0.014230
 AVColorTransferCharacteristic=12 calling func(0.005000) expected=0.022500
Test color_utils failed. Look at tests/data/fate/color_utils.err for details.
make: *** [fate-color_utils] Error 1


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160303/846f644b/attachment.sig>


More information about the ffmpeg-devel mailing list