projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add file size toggle icons, ff_lut3d icon, fullscrn clk2play fix, timebar endpt curso...
[goodguy/history.git]
/
cinelerra-5.1
/
guicast
/
bccolors.h
diff --git
a/cinelerra-5.1/guicast/bccolors.h
b/cinelerra-5.1/guicast/bccolors.h
index 720735cede3e24c2f0f6ee4e8998a7a0a1788e53..9226f3a5771d5207cccbc0d5310f0bd85cc1d837 100644
(file)
--- 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;
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); \
#define YUV_rgb_to_yuv_8(r,g,b, y,u,v) \
y = iclip((rtoy8[r] + gtoy8[g] + btoy8[b] + yzero) >> 16, ymin8, ymax8); \