summaryrefslogtreecommitdiff
path: root/src/v4l2
AgeCommit message (Expand)Author
2020-07-10v4l2: v4l2_camera_proxy: Use stream config in tryFormatPaul Elder
2020-07-10v4l2: v4l2_camera_proxy: Get stride and frameSize from stream configPaul Elder
2020-07-10v4l2: v4l2_camera: Fix stream selection for buffer operationsPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Serialize accesses to the proxyPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Fix buffer flags related to queueingPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Don't allow buffers to be freed if still mmapedPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Don't allow streamon if no buffers have been requestedPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Check arg->index bounds for querybuf, qbuf, dqbufPaul Elder
2020-06-25v4l2: v4l2_camera: Clear pending requests on freeBuffers and streamOffPaul Elder
2020-06-25v4l2: v4l2_camera: Don't use libcamera::Semaphore for available buffersPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Clear internal buffer vector on reqbufs 0Paul Elder
2020-06-25v4l2: v4l2_camera_proxy: noop if streamon when stream is already onPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Disallow dqbuf when not streamingPaul Elder
2020-06-25v4l2: v4l2_camera: Add isRunning()Paul Elder
2020-06-25v4l2: v4l2_camera_proxy: Implement VIDIOC_ENUM_FRAMESIZESPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Implement VIDIOC_ENUMINPUT, VIDIOC_G/S_INPUTPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Implement VIDIOC_G/S_PRIORITYPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Fix v4l2-compliance support for extended formatsPaul Elder
2020-06-25v4l2: v4l2_camera_proxy: Check for null arg values in main ioctl hand/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2020, Google Inc. * * object.cpp - Object deletion tests */ #include <iostream> #include <libcamera/object.h> #include "libcamera/internal/thread.h" #include "test.h" using namespace std; using namespace libcamera; class TestObject : public Object { public: TestObject(unsigned int *count) : deleteCount_(count) { } ~TestObject() { /* Count the deletions from the correct thread. */ if (thread() == Thread::current()) (*deleteCount_)++; } unsigned int *deleteCount_; }; class NewThread : public Thread { public: NewThread(Object *obj) : object_(obj) { } protected: void run() { object_->deleteLater(); } private: Object *object_; }; class ObjectDeleteTest : public Test { protected: int run() { /* * Test that deferred deletion is executed from the object's * thread, not the caller's thread. */ unsigned int count = 0; TestObject *obj = new TestObject(&count); NewThread thread(obj); thread.start(); thread.wait(); Thread::current()->dispatchMessages(Message::Type::DeferredDelete);v4l2: Relicense V4L2 compatibility layer under LGPLLaurent Pinchart
2020-05-16libcamera: Move internal headers to include/libcamera/internal/Laurent Pinchart
2020-05-13licenses: License all meson files under CC0-1.0Laurent Pinchart
2020-03-18libcamera: framebuffer_allocator: Lift camera restrictions on allocatorLaurent Pinchart
2020-03-18libcamera: PixelFormat: Mark all function arguments of type PixelFormat as co...Niklas Söderlund
2020-03-18libcamera: PixelFormat: Make constructor explicitLaurent Pinchart
2020-03-18libcamera: PixelFormat: Turn into a classNiklas Söderlund
2020-03-18libcamera: pixelformats: include linux/drm_fourcc.hNiklas Söderlund
2020-03-08v4l2: v4l2_camera_proxy: Fix sign compare compilation errorLaurent Pinchart
2020-03-08v4l2: v4l2_compat: Use correct libcamera_dep dependencyLaurent Pinchart
2020-02-13v4l2: Remove internal threadLaurent Pinchart
2020-01-20v4l2: Extend device caps with V4L2_CAP_STREAMINGNicolas Dufresne
2020-01-14libcamera: Switch from utils::make_unique to std::make_uniqueLaurent Pinchart
2020-01-12libcamera: camera: Remove the prepared stateNiklas Söderlund