X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Frgbshift%2Frgbshift.C;fp=cinelerra-5.1%2Fplugins%2Frgbshift%2Frgbshift.C;h=6cfb38b23f94c790b3ea50946fe624832c8a254a;hb=77815ec03df6a03ed75433e8cf8ae1e83fb76d6e;hp=d76f4d46fea77957e5d2e8e00977d0cdee2c3f4f;hpb=d85ee0843fbbd79a0a7d2ffa0aac57968e24f6d7;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/rgbshift/rgbshift.C b/cinelerra-5.1/plugins/rgbshift/rgbshift.C index d76f4d46..6cfb38b2 100644 --- a/cinelerra-5.1/plugins/rgbshift/rgbshift.C +++ b/cinelerra-5.1/plugins/rgbshift/rgbshift.C @@ -268,9 +268,6 @@ void RGBShiftEffect::read_data(KeyFrame *keyframe) } } - -static YUV yuv_static; - #define RGB_MACRO(type, temp_type, components) \ { \ for(int i = 0; i < h; i++) { \ @@ -310,11 +307,11 @@ static YUV yuv_static; temp_type g = gp ? gp[1] : 0; \ temp_type b = bp ? bp[2] : 0; \ if( sizeof(type) == 4 ) \ - yuv_static.rgb_to_yuv_f(r, g, b, y, u, v); \ + YUV::yuv.rgb_to_yuv_f(r, g, b, y, u, v); \ else if( sizeof(type) == 2 ) \ - yuv_static.rgb_to_yuv_16(r, g, b, y, u, v); \ + YUV::yuv.rgb_to_yuv_16(r, g, b, y, u, v); \ else \ - yuv_static.rgb_to_yuv_8(r, g, b, y, u, v); \ + YUV::yuv.rgb_to_yuv_8(r, g, b, y, u, v); \ out_row[0] = y; \ out_row[1] = u; \ out_row[2] = v; \