整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
22
video/v4l2/Capture.h
Executable file
22
video/v4l2/Capture.h
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include "Access.h"
|
||||
|
||||
namespace Video
|
||||
{
|
||||
namespace V4L2
|
||||
{
|
||||
class Capture: public Access
|
||||
{
|
||||
protected:
|
||||
explicit Capture(Device* device);
|
||||
|
||||
public:
|
||||
static Capture* create(const DeviceParameters& param);
|
||||
virtual ~Capture();
|
||||
|
||||
size_t read(char* buffer, size_t bufferSize);
|
||||
bool isReadable(timeval* tv);
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue