index
:
libcamera/libcamera.git
master
libcamera official repository
git repository hosting on libcamera.org
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
ipa
/
raspberrypi
/
controller
Mode
Name
Size
-rw-r--r--
agc_algorithm.hpp
1079
log
plain
-rw-r--r--
agc_status.h
1120
log
plain
-rw-r--r--
algorithm.cpp
985
log
plain
-rw-r--r--
algorithm.hpp
1567
log
plain
-rw-r--r--
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2021, Ideas on Board Oy
*
* KMS Sink
*/
#pragma once
#include <list>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
#include <utility>
#include <libcamera/base/signal.h>
#include <libcamera/geometry.h>
#include <libcamera/pixel_format.h>
#include
"drm.h"
#include
"frame_sink.h"
class
KMSSink
:
public
FrameSink
{
public
:
KMSSink
(
const
std
::
string
&
connectorName
);
void
mapBuffer
(
libcamera
::
FrameBuffer
*
buffer
const
DRM
::
Mode
*
mode_
;
libcamera
::
PixelFormat format_
;
libcamera
::
Size size_
;
unsigned int
stride_
;
std
::
optional
<
unsigned int
>
colorEncoding_
;
std
::
optional
<
unsigned int
>
colorRange_
;
libcamera
::
Rectangle src_
;
libcamera
::
Rectangle dst_
;
std
::
map
<
libcamera
::
FrameBuffer
device_status.cpp
579
log
plain
-rw-r--r--
device_status.h
1082
log
plain
-rw-r--r--
dpc_status.h
411
log
plain
-rw-r--r--
focus_status.h
574
log
plain
-rw-r--r--
geq_status.h
383
log
plain
-rw-r--r--
histogram.cpp
1758
log
plain
-rw-r--r--
histogram.hpp
1265
log
plain
-rw-r--r--
lux_status.h
898
log
plain
-rw-r--r--
metadata.hpp
2293
log
plain
-rw-r--r--
noise_status.h
393
log
plain
-rw-r--r--
pwl.cpp
6938
log
plain
-rw-r--r--
pwl.hpp
3689
log
plain
d---------
rpi
954
log
plain
-rw-r--r--
sharpen_algorithm.hpp
504
log
plain
-rw-r--r--
sharpen_status.h
680
log
plain