整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
19
video/v4l2/ReadWriteDevice.h
Executable file
19
video/v4l2/ReadWriteDevice.h
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "Device.h"
|
||||
|
||||
namespace Video
|
||||
{
|
||||
namespace V4L2
|
||||
{
|
||||
class ReadWriteDevice: public Device
|
||||
{
|
||||
protected:
|
||||
virtual size_t writeInternal(char* buffer, size_t bufferSize);
|
||||
virtual size_t readInternal(char* buffer, size_t bufferSize);
|
||||
|
||||
public:
|
||||
ReadWriteDevice(const DeviceParameters& params, v4l2_buf_type deviceType);
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue