00001 00024 #ifndef __VETLIB_VETOUTPUT_H__ 00025 #define __VETLIB_VETOUTPUT_H__ 00026 00027 00028 #include "vetDefs.h" 00029 #include "vetFrameYUV420.h" 00030 #include "vetFrameRGB24.h" 00031 #include "vetFrameT.h" 00032 00033 00034 class vetOutput 00035 { 00036 00037 public: 00038 00043 vetOutput() { } 00044 00045 00046 virtual ~vetOutput() { } 00047 00048 00054 virtual VETRESULT setHeight(unsigned int value) = 0; 00055 00061 virtual VETRESULT setWidth(unsigned int value) = 0; 00062 00063 00076 virtual VETRESULT importFrom(vetFrameYUV420& img) = 0; 00077 00090 virtual VETRESULT importFrom(vetFrameRGB24& img) = 0; 00091 00104 virtual VETRESULT importFrom(vetFrameT<unsigned char>& img) = 0; 00105 00106 00107 00116 void operator << (vetFrameYUV420& img) { importFrom(img); }; 00117 00118 00127 void operator << (vetFrameRGB24& img) { importFrom(img); }; 00128 00129 00138 void operator << (vetFrameT<unsigned char>& img) { importFrom(img); }; 00139 00140 00147 enum{ vetClassType = VETCLASS_TYPE_OUTPUT }; 00148 00149 }; 00150 00151 00152 00153 00154 #endif //__VETLIB_VETOUTPUT_H__ 00155
1.4.4