]> git.sesse.net Git - movit/blobdiff - gamma_expansion_effect.cpp
Implement the Rec. 709 gamma curve.
[movit] / gamma_expansion_effect.cpp
index 74a8de983a299dd85952ebf78e678851a8fcb1de..fdf34f58fe115b1c7bcd0cd9a95836606e843ba5 100644 (file)
@@ -17,8 +17,7 @@ std::string GammaExpansionEffect::output_glsl()
        case GAMMA_sRGB:
                return read_file("gamma_expansion_effect_srgb.glsl");
        case GAMMA_REC_709:  // and GAMMA_REC_601
-               // Not implemented yet.
-               assert(false);
+               return read_file("gamma_expansion_effect_rec709.glsl");
        default:
                assert(false);
        }