12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef V4L2_OUTPUT
- #define V4L2_OUTPUT
- #include "V4l2Access.h"
- class V4l2Output : public V4l2Access
- {
- protected:
- V4l2Output(V4l2Device* device);
- public:
- static V4l2Output* create(const V4L2DeviceParameters & param, IoType iotype = V4l2Access::IOTYPE_MMAP);
- ~V4l2Output();
-
- size_t write(char* buffer, size_t bufferSize);
- int isWritable(timeval* tv);
- bool startPartialWrite(void);
- size_t writePartial(char* buffer, size_t bufferSize);
- bool endPartialWrite(void);
- };
- #endif
|