X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Flibeffecttv%2Feffecttv.h;h=af8368f39a42e7f206699a64bfd01154703b14ef;hb=3c944af1216990dd2d963a6b0231f94df0af7947;hp=04e7cd81d5c611e387719826527d55f0cbc5076c;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/libeffecttv/effecttv.h b/cinelerra-5.1/plugins/libeffecttv/effecttv.h index 04e7cd81..af8368f3 100644 --- a/cinelerra-5.1/plugins/libeffecttv/effecttv.h +++ b/cinelerra-5.1/plugins/libeffecttv/effecttv.h @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * 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 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 General Public License for more details. - * + * * 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 - * + * */ #ifndef EFFECTTV_H @@ -32,10 +32,10 @@ class EffectTV public: EffectTV(int w, int h); virtual ~EffectTV(); - + void image_set_threshold_y(int threshold); - unsigned char* image_bgsubtract_update_y(unsigned char **input_rows, - unsigned char **output_rows, + unsigned char* image_bgsubtract_update_y(unsigned char **input_rows, + unsigned char **output_rows, int color_model); unsigned char* image_bgsubtract_y(unsigned char **input_rows, int color_model); void image_bgset_y(VFrame *frame); @@ -61,12 +61,12 @@ public: int w; int h; - + int y_threshold; - + unsigned char *background; unsigned char *diff, *diff2; - + int YtoRGB[0x100]; int VtoR[0x100]; int VtoG[0x100];