X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbccmodels.h;h=30dd190287b3982d149e9eb48f3ff9a441766769;hb=refs%2Fheads%2Fmaster;hp=20d2a89906a41f532062b1813556e9371952979c;hpb=8fd64d1d3770c95e2a7cba1049e909cadb4e1fbf;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/guicast/bccmodels.h b/cinelerra-5.1/guicast/bccmodels.h index 20d2a899..87af95ee 100644 --- a/cinelerra-5.1/guicast/bccmodels.h +++ b/cinelerra-5.1/guicast/bccmodels.h @@ -1,16 +1,16 @@ /* - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as published + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * This library is distributed in the hope that it will be useful, but + * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * General Public License for more details. * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ @@ -81,7 +81,7 @@ enum BC_CModel { #define FOURCC_YUV2 0x32595559 /* YUV2 YUV422 */ #define FOURCC_UYVY 0x59565955 /* UYVY UVY422 */ #define FOURCC_I420 0x30323449 /* I420 Intel Indeo 4 */ - +#define BC_COLOR_ALIGN 64 /* overwrite padding, ssse3 */ #endif // !BC_TRANSPARENCY @@ -135,7 +135,7 @@ public: int in_x, int in_y, int in_w, int in_h, int in_rowspan, int bg_color); // paint buffer solid color - static void init_color(int color, int alpha, + static int init_color(int color, int alpha, unsigned char **output_rows, int out_colormodel, unsigned char *out_yp, unsigned char *out_up, unsigned char *out_vp, int out_x, int out_y, int out_w, int out_h, int out_rowspan);