projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clip folder bug on reload, expander user folder drag/drop segv, remove libfdk src...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
playback3d.h
diff --git
a/cinelerra-5.1/cinelerra/playback3d.h
b/cinelerra-5.1/cinelerra/playback3d.h
index 452b367c2facaa0aa127dcc8fffe8e6f2b367cbd..4388624a88bb4c8135c38c976010927c1cd19dff 100644
(file)
--- a/
cinelerra-5.1/cinelerra/playback3d.h
+++ b/
cinelerra-5.1/cinelerra/playback3d.h
@@
-42,7
+42,7
@@
// use static presets YUV in bccolors.h
#define BC_GL_MATRIX(shader, mat) \
// use static presets YUV in bccolors.h
#define BC_GL_MATRIX(shader, mat) \
- glUniformMatrix3fv(glGetUniformLocation(shader, #mat), 1,
0
, YUV::mat)
+ glUniformMatrix3fv(glGetUniformLocation(shader, #mat), 1,
1
, YUV::mat)
#define BC_GL_VECTOR(shader, vec) \
glUniform3fv(glGetUniformLocation(shader, #vec), 1, YUV::vec)
#define BC_GL_VECTOR(shader, vec) \
glUniform3fv(glGetUniformLocation(shader, #vec), 1, YUV::vec)
@@
-325,9
+325,9
@@
public:
private:
// Called by write_buffer and clear_frame to initialize OpenGL flags
private:
// Called by write_buffer and clear_frame to initialize OpenGL flags
- void init_frame(Playback3DCommand *command);
+ void init_frame(Playback3DCommand *command
, int is_yuv=0
);
void write_buffer_sync(Playback3DCommand *command);
void write_buffer_sync(Playback3DCommand *command);
- void draw_output(Playback3DCommand *command);
+ void draw_output(Playback3DCommand *command
, int flip_y
);
void clear_output_sync(Playback3DCommand *command);
void clear_input_sync(Playback3DCommand *command);
void overlay_sync(Playback3DCommand *command);
void clear_output_sync(Playback3DCommand *command);
void clear_input_sync(Playback3DCommand *command);
void overlay_sync(Playback3DCommand *command);