X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=gamma_expansion_effect.h;h=1025695d88cdb60d192b4aeefcc1278f2f6c0483;hp=b5381ad38cdc76fa3b5aa2eb01da20df64111c4b;hb=0df63ebb6d5c67be253bfa77ef3960c221ed9d44;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/gamma_expansion_effect.h b/gamma_expansion_effect.h index b5381ad..1025695 100644 --- a/gamma_expansion_effect.h +++ b/gamma_expansion_effect.h @@ -9,7 +9,7 @@ // Note that Movit's internal formats generally do not have enough accuracy // for 12-bit input or output. -#include +#include #include #include "effect.h" @@ -30,6 +30,7 @@ public: virtual bool needs_linear_light() const { return false; } virtual bool needs_srgb_primaries() const { return false; } + virtual bool one_to_one_sampling() const { return true; } // Actually processes its input in a nonlinear fashion, // but does not touch alpha, and we are a special case anyway.