00001 00027 #ifndef __VETLIB_VETOUTPUTVOID_H__ 00028 #define __VETLIB_VETOUTPUTVOID_H__ 00029 00030 #include "../vetDefs.h" 00031 #include "../vetOutput.h" 00032 00033 #include "../vetFrameYUV420.h" 00034 #include "../vetFrameRGB24.h" 00035 #include "../vetFrameT.h" 00036 00037 00038 class vetOutputVoid : public vetOutput 00039 { 00040 00041 protected: 00042 00047 bool clearMemory; 00048 00052 long v_sleeptime; 00053 00054 public: 00055 00056 00062 vetOutputVoid(bool deleteFrames = false); 00063 00064 00069 VETRESULT run() { return VETRET_NOT_IMPLEMENTED; }; 00070 00071 00077 void setFrameMemoryClearEnabled(bool value = true) { clearMemory = true; }; 00078 00084 bool isFrameMemoryClearEnabled() { return clearMemory; }; 00085 00094 VETRESULT setInputFrameRate(float fps = 0); 00095 00102 long getInputFrameRateDelay() { return v_sleeptime; }; 00103 00104 00110 VETRESULT setHeight(unsigned int value) { return VETRET_NOT_IMPLEMENTED; }; 00111 00117 VETRESULT setWidth(unsigned int value) { return VETRET_NOT_IMPLEMENTED; }; 00118 00119 00120 00131 VETRESULT importFrom(vetFrameYUV420& img); 00132 00143 VETRESULT importFrom(vetFrameRGB24& img); 00144 00145 00157 VETRESULT importFrom(vetFrameT<unsigned char>& img); 00158 00159 00160 }; 00161 00162 #endif //__VETLIB_VETOUTPUTVOID_H__
1.4.4