projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
igor b reset btns, reframert bug fix
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
guicast
/
vframe.h
diff --git
a/cinelerra-5.1/guicast/vframe.h
b/cinelerra-5.1/guicast/vframe.h
index dbf4dab0a30d0c2f1e1860cbf41223ecee071394..4b7d51a3052fa827201ced7ac2e0332553e53e1c 100644
(file)
--- a/
cinelerra-5.1/guicast/vframe.h
+++ b/
cinelerra-5.1/guicast/vframe.h
@@
-112,8
+112,11
@@
public:
int data_size,
int data_allocated);
int data_size,
int data_allocated);
-// Write a PNG for debugging
+// Write a PNG
/PPM
for debugging
int write_png(const char *path);
int write_png(const char *path);
+ static void write_ppm(VFrame *vfrm, const char *fmt, ...);
+ void write_ppm(const char *path) { write_ppm(this, "%s", path); }
+//static int n = 0; write_ppm(vframe, "/tmp/data/f%05d", ++n);
// if frame points to the same data as this return 1
int equals(VFrame *frame);
// if frame points to the same data as this return 1
int equals(VFrame *frame);