opengl colorspace + BT2020
[goodguy/history.git] / cinelerra-5.1 / plugins / titler / titler.C
index 060e3eb9f2b49270a7975bc1d6e4332068999e0a..27ed9a1fd9ee7e8260c49ccef789dc8fae6d3e58 100644 (file)
@@ -543,7 +543,7 @@ TitleUnit::TitleUnit(TitleMain *plugin, TitleEngine *server)
 static void get_mask_colors(int rgb, int color_model, int &rr, int &gg, int &bb)
 {
        int r = 0xff & (rgb>>16), g = 0xff & (rgb>>8), b = 0xff & (rgb>>0);
-       if( BC_CModels::is_yuv(color_model) ) bc_rgb2yuv(r,g,b, r,g,b);
+       if( BC_CModels::is_yuv(color_model) ) YUV::yuv.rgb_to_yuv_8(r,g,b);
        rr = r;  gg = g; bb = b;
 }