summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/user-x.svg
blob: 0c41a48198c5df4a19e42be7ef1926e848705716 (plain)
1
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-user-x"><path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="8.5" cy="7" r="4"></circle><line x1="18" y1="8" x2="23" y2="13"></line><line x1="23" y1="8" x2="18" y2="13"></line></svg>
clude "libcamera/internal/v4l2_videodevice.h" #include "test.h" using namespace libcamera; class V4L2VideoDeviceTest : public Test { public: V4L2VideoDeviceTest(const char *driver, const char *entity) : driver_(driver), entity_(entity), sensor_(nullptr), debayer_(nullptr), capture_(nullptr) { } protected: int init(); void cleanup(); std::string driver_; std::string entity_; std::unique_ptr<DeviceEnumerator> enumerator_; std::shared_ptr<MediaDevice> media_; CameraSensor *sensor_; V4L2Subdevice *debayer_; V4L2VideoDevice *capture_; std::vector<std::unique_ptr<FrameBuffer>> buffers_; }; #endif /* __LIBCAMERA_V4L2_DEVICE_TEST_H_ */