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