video-color: add gamma encode/decode functions
authorWim Taymans <wtaymans@redhat.com>
Tue, 11 Nov 2014 15:11:15 +0000 (16:11 +0100)
committerWim Taymans <wtaymans@redhat.com>
Tue, 11 Nov 2014 15:11:15 +0000 (16:11 +0100)
commitb73096ce8caf04459ab5f121ade4b3f922ca023b
treeb7fb02fc8ec5d7aac820ad776ce3e3d4566e7c16
parent6711c50495097318ad89dfe1d1f17a3a7b99fedf
video-color: add gamma encode/decode functions

Add functions to encode and decode gamma.
Add unit test to check that encode and decode are eachothers inverse
and that the limits are respected.
gst-libs/gst/video/video-color.c
gst-libs/gst/video/video-color.h
tests/check/libs/video.c