X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fvideoscope%2Fvideoscope.C;fp=cinelerra-5.1%2Fplugins%2Fvideoscope%2Fvideoscope.C;h=577224326d6a5cd2781d7ac1e95058faab0ef9e9;hp=0fbae88f197d966e315a4f40d7c76294b162f87e;hb=243336668c89096732786c6b3f3c5918aa2eff26;hpb=564227981f9c1b021445fa0352b75c7670172912 diff --git a/cinelerra-5.1/plugins/videoscope/videoscope.C b/cinelerra-5.1/plugins/videoscope/videoscope.C index 0fbae88f..57722432 100644 --- a/cinelerra-5.1/plugins/videoscope/videoscope.C +++ b/cinelerra-5.1/plugins/videoscope/videoscope.C @@ -20,6 +20,7 @@ */ #include "bcdisplayinfo.h" +#include "bccolors.h" #include "clip.h" #include "bchash.h" #include "filexml.h" @@ -83,7 +84,6 @@ public: VideoScopeUnit(VideoScopeEffect *plugin, VideoScopeEngine *server); void process_package(LoadPackage *package); VideoScopeEffect *plugin; - YUV yuv; }; class VideoScopeEngine : public LoadServer @@ -416,21 +416,13 @@ static void draw_point(unsigned char **rows, { \ if(sizeof(type) == 2) \ { \ - yuv.yuv_to_rgb_16(r, \ - g, \ - b, \ - in_pixel[0], \ - in_pixel[1], \ - in_pixel[2]); \ + YUV::yuv.yuv_to_rgb_16(r, g, b, \ + in_pixel[0], in_pixel[1], in_pixel[2]); \ } \ else \ { \ - yuv.yuv_to_rgb_8(r, \ - g, \ - b, \ - in_pixel[0], \ - in_pixel[1], \ - in_pixel[2]); \ + YUV::yuv.yuv_to_rgb_8(r, g, b, \ + in_pixel[0], in_pixel[1], in_pixel[2]); \ } \ } \ else \