linux/drivers/media/platform/vivid
Hans Verkuil 2e94c19c07 [media] vivid: use Bradford method when converting Rec. 709 to NTSC 1953
The V4L2_COLORSPACE_470_SYSTEM_M (aka NTSC 1953) colorspace has a different
whitepoint (C) compared to Rec. 709 (D65). The Bradford method is the
recommended method to compensate for that when converting a Rec. 709 color
to an NTSC 1953 color.

See http://www.brucelindbloom.com/index.html?Eqn_ChromAdapt.html for more
details on the Bradford method.

This patch updates the Rec. 709 to NTSC 1953 matrix so that it includes the
chromatic adaptation as calculated by the Bradford method, and it recalculates
the tpg_csc_colors table accordingly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-09-30 19:41:06 -03:00
..
Kconfig [media] vivid: fix Kconfig FB dependency 2014-10-21 08:49:52 -02:00
Makefile [media] vivid: enable the vivid driver 2014-09-02 17:54:12 -03:00
vivid-core.c [media] vivid: SDR cap add 'CU08' Complex U8 format 2015-05-30 11:40:38 -03:00
vivid-core.h [media] vivid: SDR cap: add control for FM deviation 2015-09-25 17:21:13 -03:00
vivid-ctrls.c [media] vivid: use ARRAY_SIZE to calculate max control value 2015-09-30 19:39:04 -03:00
vivid-ctrls.h
vivid-kthread-cap.c [media] vivid: add downsampling support 2015-04-02 20:55:12 -03:00
vivid-kthread-cap.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-kthread-out.c [media] vivid: add some missing headers 2014-09-02 17:57:34 -03:00
vivid-kthread-out.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-osd.c [media] vivid: add a simple framebuffer device for overlay testing 2014-09-02 17:42:53 -03:00
vivid-osd.h [media] vivid: add a simple framebuffer device for overlay testing 2014-09-02 17:42:53 -03:00
vivid-radio-common.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-common.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-rx.c [media] vivid-radio-rx: Don't go past buffer 2015-04-30 14:28:58 -03:00
vivid-radio-rx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-rds-gen.c [media] vivid: add missing includes 2014-09-08 10:00:58 -03:00
vivid-rds-gen.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-sdr-cap.c [media] vivid: sdr cap: few enhancements 2015-09-25 17:22:00 -03:00
vivid-sdr-cap.h [media] vivid: SDR cap add 'CU08' Complex U8 format 2015-05-30 11:40:38 -03:00
vivid-tpg-colors.c [media] vivid: use Bradford method when converting Rec. 709 to NTSC 1953 2015-09-30 19:41:06 -03:00
vivid-tpg-colors.h [media] vivid-tpg: precalculate colorspace/xfer_func combinations 2015-06-05 11:50:36 -03:00
vivid-tpg.c [media] vivid-tpg: improve Y16 color setup 2015-06-06 07:34:52 -03:00
vivid-tpg.h [media] vivid: add xfer_func support 2015-06-05 11:49:53 -03:00
vivid-vbi-cap.c [media] media: vivid: use vb2_ops_wait_prepare/finish helper 2014-11-25 08:12:30 -02:00
vivid-vbi-cap.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vbi-gen.c [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-gen.h [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-out.c [media] media: vivid: use vb2_ops_wait_prepare/finish helper 2014-11-25 08:12:30 -02:00
vivid-vbi-out.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vid-cap.c [media] v4l2-dv-timings: add support for reduced blanking v2 2015-07-06 08:25:49 -03:00
vivid-vid-cap.h [media] vivid: add the video capture and output parts 2014-09-02 17:15:26 -03:00
vivid-vid-common.c [media] vivid: add xfer_func support 2015-06-05 11:49:53 -03:00
vivid-vid-common.h [media] vivid: Don't mess with namespace adding a "get_format" function 2014-09-02 17:54:07 -03:00
vivid-vid-out.c [media] vivid: support cvt, gtf timings for video out 2015-08-11 10:25:36 -03:00
vivid-vid-out.h [media] vivid: remove duplicate and unused g/s_edid functions 2014-09-08 10:00:57 -03:00