Changeset 8847 for trunk/MagicSoft/Cosy/videodev
- Timestamp:
- 01/31/08 13:58:30 (17 years ago)
- Location:
- trunk/MagicSoft/Cosy/videodev
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/videodev/Writer.cc
r8378 r8847 4 4 #include <fstream> // ofstream 5 5 6 #include <TVector2.h> 7 6 8 #include <stdio.h> // FILE 7 9 #include <png.h> 8 #include <coord.h>9 10 10 11 #include "MTime.h" … … 15 16 16 17 void Writer::Png(const char *fname, const byte *buf, 17 struct timeval *date, const XYxy)18 struct timeval *date, const TVector2 xy) 18 19 { 19 20 MTime t(*date); … … 139 140 } 140 141 141 void Writer::Ppm(const char *fname, const byte *img, struct timeval *date, const XYxy)142 void Writer::Ppm(const char *fname, const byte *img, struct timeval *date, const TVector2 xy) 142 143 { 143 144 TString name = fname; -
trunk/MagicSoft/Cosy/videodev/Writer.h
r8810 r8847 9 9 #endif 10 10 11 #ifndef COORD_H 12 #include <coord.h> 13 #endif 11 class TVector2; 14 12 15 13 typedef unsigned char byte; … … 22 20 virtual ~Writer() { } 23 21 24 static void Ppm(const char *fname, const byte *img, struct timeval *date, const XYxy);25 static void Png(const char *fname, const byte *buf, struct timeval *date, const XYxy);22 static void Ppm(const char *fname, const byte *img, struct timeval *date, const TVector2 xy); 23 static void Png(const char *fname, const byte *buf, struct timeval *date, const TVector2 xy); 26 24 27 25 ClassDef(Writer, 0)
Note:
See TracChangeset
for help on using the changeset viewer.