Changeset 1111 for trunk/MagicSoft/Cosy/videodev
- Timestamp:
- 12/12/01 13:26:34 (23 years ago)
- Location:
- trunk/MagicSoft/Cosy/videodev
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/videodev/Camera.cc
r910 r1111 21 21 #include <sys/resource.h> 22 22 23 ClassImp(Camera); 24 23 25 inline int Camera::Ioctl(int req, void *opt, const char *str) 24 26 { -
trunk/MagicSoft/Cosy/videodev/Camera.h
r910 r1111 2 2 #define CAMERA_H 3 3 4 #ifdef __CINT__ 5 typedef unsigned long int pthread_t; 6 struct pthread_mutex_t; 7 struct pthread_cond_t; 8 struct timeval; 9 #else 10 #include <TROOT.h> 4 11 #include <pthread.h> 5 12 #include <sys/time.h> 13 #endif 14 6 15 7 16 typedef unsigned char byte; … … 95 104 void GetPicPar(int *bright, int *hue, int *contrast); 96 105 106 ClassDef(Camera, 0) 97 107 }; 98 108 -
trunk/MagicSoft/Cosy/videodev/Filter.cc
r808 r1111 3 3 #include <memory.h> // memset 4 4 #include <iostream.h> // cout 5 6 ClassImp(Filter); 5 7 6 8 void Filter::DrawBox(const int x1, const int y1, -
trunk/MagicSoft/Cosy/videodev/Filter.h
r808 r1111 1 1 #ifndef FILTER_H 2 2 #define FILTER_H 3 4 #ifndef __CINT__ 5 #include <TROOT.h> 6 #endif 3 7 4 8 typedef unsigned char byte; … … 25 29 public: 26 30 static void Execute(byte *img); 31 32 ClassDef(Filter, 0) 27 33 }; 28 34 -
trunk/MagicSoft/Cosy/videodev/Makefile
r911 r1111 35 35 Writer.cc 36 36 37 SRCS = $(SRCFILES) 38 HEADERS = $(SRCFILES:.cc=.h) 39 OBJS = $(SRCFILES:.cc=.o) 37 SRCS = $(SRCFILES) 38 HEADERS = $(SRCFILES:.cc=.h) 39 OBJS = $(SRCFILES:.cc=.o) 40 CINTHEADERS = $(HEADERS) 40 41 41 42 ############################################################ -
trunk/MagicSoft/Cosy/videodev/VideodevLinkDef.h
r920 r1111 5 5 #pragma link off all functions; 6 6 7 #pragma link C++ class Writer+; 8 #pragma link C++ class Filter+; 9 10 #pragma link C++ class Camera+; 11 7 12 #endif -
trunk/MagicSoft/Cosy/videodev/Writer.cc
r910 r1111 8 8 9 9 #include "base/timer.h" 10 11 ClassImp(Writer); 10 12 11 13 void Writer::Png(const char *fname, const byte *buf, -
trunk/MagicSoft/Cosy/videodev/Writer.h
r808 r1111 2 2 #define WRITER_H 3 3 4 #ifdef __CINT__ 5 struct timeval; 6 #else 7 #include <TROOT.h> 4 8 #include <sys/time.h> 9 #endif 5 10 6 11 typedef unsigned char byte; … … 14 19 static void Ppm(const char *fname, const byte *img); 15 20 static void Png(const char *fname, const byte *buf, struct timeval *date); 21 22 ClassDef(Writer, 0) 16 23 }; 17 24
Note:
See TracChangeset
for help on using the changeset viewer.