change composer to chroma only - no src alpha blend, resize about pref, new expanders...
[goodguy/history.git] / cinelerra-5.1 / guicast / bccmodels.h
index 57b595f4e30234ef9d44be201a007fe5dd218f85..57843aa9e063c45e011d72744d930ab4770ad3e9 100644 (file)
@@ -61,10 +61,17 @@ enum BC_CModel {
        BC_RGB_FLOATP   = 32,
        BC_RGBA_FLOATP  = 33,
        BC_YUV420PI     = 34,
+       BC_GBRP         = 38,
 // only used in intermediate ffmpeg xfers
        BC_AYUV16161616 = 35,
        BC_GREY8        = 36,
        BC_GREY16       = 37,
+//only used for chroma only xfers (transfer with bg_color < 0)
+       BC_RGBX8888     = 39,
+       BC_RGBX16161616 = 40,
+       BC_YUVX8888     = 41,
+       BC_YUVX16161616 = 42,
+       BC_RGBX_FLOAT   = 43,
 };
 
 // Colormodels purely used by Quicktime are done in Quicktime.
@@ -116,7 +123,7 @@ public:
                int out_h,
                int in_colormodel,
                int out_colormodel,
-               int bg_color,         /* When transfering BC_RGBA8888 to non-alpha this is the background color in 0xRRGGBB hex */
+               int bg_color,         /* -1 for chroma only xfer, else bg color for BC_RGBA8888 to non-alpha */
                int in_rowspan,       /* For planar use the luma rowspan */
                int out_rowspan);     /* For planar use the luma rowspan */
 
@@ -128,7 +135,6 @@ public:
                        int in_x, int in_y, int in_w, int in_h, int in_rowspan,
                int bg_color);
 
-       static void init_yuv();
        static int bc_to_x(int color_model);
        static void bcxfer_stop_slicers();
 };