summaryrefslogtreecommitdiff
path: root/src/cam/kms_sink.cpp
diff options
context:
space:
mode:
authorDaniel Scally <djrscally@gmail.com>2022-03-16 22:22:45 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-03-17 16:34:47 +0000
commitf0bfb2f19e2fbf82ed49b703208cb98704d5d5af (patch)
treef5de262eb9c49a65c19cc0b906577cf9176ef567 /src/cam/kms_sink.cpp
parenta42c00e01efbb54ca68d130b8817014fd55e7169 (diff)
libipa: Add CameraSensorHelper for OV2740
The datasheet for the OV2740 gives 0x80 as 1x gain, so real gain is GainCode / 128. Signed-off-by: Daniel Scally <djrscally@gmail.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/kms_sink.cpp')
0 files changed, 0 insertions, 0 deletions
href='#n101'>101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (C) 2020, Umang Jain <email@uajain.com>
 *
 * hotplug-cameras.cpp - Test cameraAdded/cameraRemoved signals in CameraManager
 */

#include <dirent.h>
#include <fstream>
#include <iostream>
#include <string.h>
#include <unistd.h>

#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>

#include "libcamera/internal/event_dispatcher.h"
#include "libcamera/internal/file.h"
#include "libcamera/internal/thread.h"
#include "libcamera/internal/timer.h"

#include "test.h"

using namespace libcamera;