X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbccolors.h;h=9226f3a5771d5207cccbc0d5310f0bd85cc1d837;hp=720735cede3e24c2f0f6ee4e8998a7a0a1788e53;hb=c279e21fc2394a7908bbd1ba8c79b116fe9fb14a;hpb=af44bff549c39ac8bb6e42a791e7a211e1013526 diff --git a/cinelerra-5.1/guicast/bccolors.h b/cinelerra-5.1/guicast/bccolors.h index 720735ce..9226f3a5 100644 --- a/cinelerra-5.1/guicast/bccolors.h +++ b/cinelerra-5.1/guicast/bccolors.h @@ -186,8 +186,10 @@ public: inline int is_mpeg() { return mpeg; } static YUV yuv; - static float rgb_to_yuv_matrix[10]; - static float yuv_to_rgb_matrix[10]; + static float yuv_to_rgb_matrix[9]; + static float rgb_to_yuv_matrix[9]; + static float *const rgb_to_y_vector; + inline float get_yminf() { return yminf; } #define YUV_rgb_to_yuv_8(r,g,b, y,u,v) \ y = iclip((rtoy8[r] + gtoy8[g] + btoy8[b] + yzero) >> 16, ymin8, ymax8); \