00001
00023 #ifndef __VETLIB_VETFRAMERGBETI_H__
00024 #define __VETLIB_VETFRAMERGBETI_H__
00025
00026 #include "../PixelRGB.h"
00027 #include "../vetFrame.h"
00028 #include "../vetFrameYUV420.h"
00029 #include "../vetFrameRGB24.h"
00030 #include "../vetFrameGrey.h"
00031
00032 #include "../../support/libETI/libETI.h"
00033
00034
00035 class vetFrameRGBETI : public vetFrame,
00036 public picture
00043 {
00044
00045 public:
00046
00047 vetFrameRGBETI() : vetFrame(), picture(1, 1, 32, 3, 0) { }
00048
00049
00050
00051
00053 vetFrameRGBETI(unsigned int width, unsigned int height) : picture( (int)width, (int)height) {}
00054
00056 vetFrameRGBETI(vetFrameCache&);
00057 vetFrameRGBETI(vetFrameCache24&);
00058 vetFrameRGBETI(vetFrameRGB&);
00059
00060 unsigned int getWidth() { return (unsigned int)get_dimx(); };
00061 unsigned int getHeight() { return (unsigned int)get_dimy(); };
00062
00063
00074 int setPixel(unsigned int x, unsigned int y, PixelRGB p);
00075 int getPixel(unsigned int x, unsigned int y, PixelRGB& p);
00076
00077
00078 vetFrameRGBETI& operator >> (vetFrameCache&);
00079 vetFrameRGBETI& operator >> (vetFrameCache24&);
00080 vetFrameRGBETI& operator >> (vetFrameRGB&);
00081 vetFrameRGBETI& operator >> (vetFrameGrey&);
00082
00083 void operator << (vetFrameCache&);
00084 void operator << (vetFrameCache24&);
00085 void operator << (vetFrameRGB&);
00086 void operator << (vetFrameGrey&);
00087
00088
00089
00090 };
00091
00092
00093
00094 #endif //__VETLIB_VETFRAMERGBETI_H__
00095