X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=colorspace_conversion_effect.h;fp=colorspace_conversion_effect.h;h=e3c60ea81730af2a2eaaffe0370e23b3a71cf35c;hp=323526b4978d53a9250b352be56371e5082d800a;hb=e8650c7b7814c5beef59059b8acac3e5e7b8ddc6;hpb=b77dca09201f3373c5466d695338e1e29406072b diff --git a/colorspace_conversion_effect.h b/colorspace_conversion_effect.h index 323526b..e3c60ea 100644 --- a/colorspace_conversion_effect.h +++ b/colorspace_conversion_effect.h @@ -1,6 +1,13 @@ #ifndef _COLORSPACE_CONVERSION_EFFECT_H #define _COLORSPACE_CONVERSION_EFFECT_H 1 +// An effect to convert between different color spaces. +// Can convert freely between sRGB/Rec. 709 and the two different Rec. 601 +// color spaces (which thankfully have the same white point). +// +// We don't do any fancy gamut mapping or similar; colors that are out-of-gamut +// will simply stay out-of-gamut, and probably clip in the output stage. + #include "effect.h" #include "effect_chain.h"