diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-10 02:43:59 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-12 15:44:17 +0300 |
commit | eeb435bbda98da9f03d56e23722e4ac741d6107c (patch) | |
tree | 738e29be9c2a671e97b7a2f5f310025c388c0ba1 /src/ipa/ipu3/algorithms/agc.h | |
parent | f87bf964fc108675c48b168e9b1d2629a3461bef (diff) |
utils: checkstyle.py: Rework commit message parsing
When parsing commit messages, the Commit class tries to optimize the
process by invoking git-show once only, extracting both the commit
author, title and modified files in one go. As a result, the derived
Amendment class needs to implement the commit parsing se/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2018, Google Inc.
*
* media_device.h - Media device handler
*/
#pragma once
#include <map>
#include <sstream>
#include <string>
#include <vector>
#include <linux/media.h>
#include <libcamera/base/log.h>
#include <libcamera/base/signal.h>
#include "libcamera/internal/media_object.h"
namespace libcamera {
class MediaDevice : protected Loggable
{
public:
MediaDevice(const std::string &deviceNode);
~MediaDevice();
bool acquire();
void release();