整理代码

This commit is contained in:
蒲爽 2026-09-28 21:33:04 +08:00
commit c7b4e178ec
364 changed files with 59691 additions and 0 deletions

25
video/v4l2/Output.h Executable file
View 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();
};
}
}