X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fvideoscope%2Fvideoscope.C;h=a420acf269c10096f7da000a5a5205717ec43b05;hb=4d2d052cc767103a8699b1de0e3a1f36844ac04f;hp=178091cf680d6eb3b21bd08ea4dbef7c1f7b9d09;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/videoscope/videoscope.C b/cinelerra-5.1/plugins/videoscope/videoscope.C index 178091cf..a420acf2 100644 --- a/cinelerra-5.1/plugins/videoscope/videoscope.C +++ b/cinelerra-5.1/plugins/videoscope/videoscope.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 1997-2011 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 - * + * */ #include "bcdisplayinfo.h" @@ -146,8 +146,8 @@ VideoScopeConfig::VideoScopeConfig() VideoScopeWindow::VideoScopeWindow(VideoScopeEffect *plugin) - : ScopeGUI(plugin, - plugin->w, + : ScopeGUI(plugin, + plugin->w, plugin->h) { this->plugin = plugin; @@ -229,7 +229,7 @@ VideoScopeEffect::VideoScopeEffect(PluginServer *server) VideoScopeEffect::~VideoScopeEffect() { - + } @@ -348,7 +348,7 @@ VideoScopePackage::VideoScopePackage() -VideoScopeUnit::VideoScopeUnit(VideoScopeEffect *plugin, +VideoScopeUnit::VideoScopeUnit(VideoScopeEffect *plugin, VideoScopeEngine *server) : LoadClient(server) { @@ -361,12 +361,12 @@ VideoScopeUnit::VideoScopeUnit(VideoScopeEffect *plugin, ((p)[2] * 29)) >> 8) -static void draw_point(unsigned char **rows, - int color_model, - int x, - int y, - int r, - int g, +static void draw_point(unsigned char **rows, + int color_model, + int x, + int y, + int r, + int g, int b) { switch(color_model)