]> git.sesse.net Git - mlt/commit
Cleanup existing native color space conversions.
authorDan Dennedy <dan@dennedy.org>
Fri, 13 Aug 2010 05:49:36 +0000 (22:49 -0700)
committerDan Dennedy <dan@dennedy.org>
Fri, 13 Aug 2010 05:49:36 +0000 (22:49 -0700)
commit1ccbb7551d5e42252950ee5916a69d8c80bf1b1d
treeb8d87ea750233220fd93e17cd1b5698f026fb757
parent0dde0ee1422497dec9eccc3ed6d69b31fb1033dc
Cleanup existing native color space conversions.

This change clarifies that the existing conversions are according to the
ITU 601 standard and scaled to and from full gamut RGB. Also, adjust 2
coefficients according to Charles Poynton's matrices. This does not yet
attempt to make any substantial improvements.

Finally, it replaces the verbose logic and redundancy in the image
conversion routine with a concise function dispatch table.
src/framework/mlt_frame.h
src/modules/core/filter_imageconvert.c
src/modules/core/producer_colour.c
src/modules/vmfx/filter_chroma.c
src/modules/vmfx/filter_chroma_hold.c