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

NagaChaitanya Vellanki nagachaitanya.vellanki at gmail.com
Thu Mar 3 05:40:27 CET 2016


Passes on my mac
~/Documents/projects/FFmpeg/libavutil (master ✘)✭ ᐅ file color_utils-test
color_utils-test: Mach-O executable i386
~/Documents/projects/FFmpeg/libavutil (master ✘)✭ ᐅ cd ..
~/Documents/projects/FFmpeg (master ✘)✭ ᐅ make fate-color_utils
TEST    color_utils

Will test this on my ubuntu machine and make a new patch.



On Wed, Mar 2, 2016 at 7:44 PM, Michael Niedermayer <michael at niedermayer.cc>
wrote:

> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list