[FFmpeg-devel] [PATCH] Add test for avpriv_get_trc_function_from_trc function

Michael Niedermayer michael at niedermayer.cc
Tue Mar 1 21:26:44 CET 2016


On Tue, Mar 01, 2016 at 09:11:21PM +0100, Michael Niedermayer wrote:
> On Tue, Mar 01, 2016 at 11:37:37AM -0800, NagaChaitanya Vellanki wrote:
> > ---
> >  libavutil/Makefile      |  1 +
> >  libavutil/color_utils.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++
> >  2 files changed, 54 insertions(+)
> 
> to test avpriv_get_trc_function_from_trc(), one could
> for each index test the returned function at a few values, print the
> values and have "make fate" compare that output against a reference
> file

also see how other fate tests are done which compare some
output to a reference file
for example: 28a2107a8d61af7c7a26f9d4af0716ba12c112a7

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- 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/20160301/8998dd5e/attachment.sig>


More information about the ffmpeg-devel mailing list