index
:
libcamera/vivid.git
pobrn/rebase
vivid
libcamera pipeline handler for VIVID
git repository hosting on libcamera.org
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
v4l2
Age
Commit message (
Expand
)
Author
2020-07-10
v4l2: v4l2_camera_proxy: Use stream config in tryFormat
Paul Elder
2020-07-10
v4l2: v4l2_camera_proxy: Get stride and frameSize from stream config
Paul Elder
2020-07-10
v4l2: v4l2_camera: Fix stream selection for buffer operations
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Serialize accesses to the proxy
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Fix buffer flags related to queueing
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Don't allow buffers to be freed if still mmaped
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Don't allow streamon if no buffers have been requested
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Check arg->index bounds for querybuf, qbuf, dqbuf
Paul Elder
2020-06-25
v4l2: v4l2_camera: Clear pending requests on freeBuffers and streamOff
Paul Elder
2020-06-25
v4l2: v4l2_camera: Don't use libcamera::Semaphore for available buffers
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Clear internal buffer vector on reqbufs 0
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: noop if streamon when stream is already on
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Disallow dqbuf when not streaming
Paul Elder
2020-06-25
v4l2: v4l2_camera: Add isRunning()
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Implement VIDIOC_ENUM_FRAMESIZES
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Implement VIDIOC_ENUMINPUT, VIDIOC_G/S_INPUT
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Implement VIDIOC_G/S_PRIORITY
Paul Elder
2020-06-25
v4l2: v4l2_camera_proxy: Fix v4l2-compliance support for extended formats
Paul Elder
2020-06-25
v4l2: 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 LGPL
Laurent Pinchart
2020-05-16
libcamera: Move internal headers to include/libcamera/internal/
Laurent Pinchart
2020-05-13
licenses: License all meson files under CC0-1.0
Laurent Pinchart
2020-03-18
libcamera: framebuffer_allocator: Lift camera restrictions on allocator
Laurent Pinchart
2020-03-18
libcamera: PixelFormat: Mark all function arguments of type PixelFormat as co...
Niklas Söderlund
2020-03-18
libcamera: PixelFormat: Make constructor explicit
Laurent Pinchart
2020-03-18
libcamera: PixelFormat: Turn into a class
Niklas Söderlund
2020-03-18
libcamera: pixelformats: include linux/drm_fourcc.h
Niklas Söderlund
2020-03-08
v4l2: v4l2_camera_proxy: Fix sign compare compilation error
Laurent Pinchart
2020-03-08
v4l2: v4l2_compat: Use correct libcamera_dep dependency
Laurent Pinchart
2020-02-13
v4l2: Remove internal thread
Laurent Pinchart
2020-01-20
v4l2: Extend device caps with V4L2_CAP_STREAMING
Nicolas Dufresne
2020-01-14
libcamera: Switch from utils::make_unique to std::make_unique
Laurent Pinchart
2020-01-12
libcamera: camera: Remove the prepared state
Niklas Söderlund
[next]