X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fvideoscope%2Fvideoscope.C;h=0744e83c60824b6ddaaf955d7fd085594b3b23bd;hb=02595181cff2bce97eb19634bc3855778cb8c3b6;hp=0fbae88f197d966e315a4f40d7c76294b162f87e;hpb=9d832a1fff11b11aaa1108c460690ed05e2bdc05;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/videoscope/videoscope.C b/cinelerra-5.1/plugins/videoscope/videoscope.C index 0fbae88f..0744e83c 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 @@ -235,7 +235,7 @@ VideoScopeEffect::~VideoScopeEffect() -const char* VideoScopeEffect::plugin_title() { return _("VideoScope"); } +const char* VideoScopeEffect::plugin_title() { return N_("VideoScope"); } int VideoScopeEffect::is_realtime() { return 1; } int VideoScopeEffect::load_configuration() @@ -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 \