summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/rpi/dpc.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-26 21:15:11 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-10-28 03:32:58 +0200
commit6cbdc2859963e17bc897a4022f1d68170477d888 (patch)
treecc58ed2ab2abc10fd9b2eae1e021d083ee01aa88 /src/ipa/raspberrypi/controller/rpi/dpc.cpp
parent7adf3a069839c1b2c440b07ca2911ffc2d39e816 (diff)
libcamera: Use helper variable template for type traits
C++17 introduces helper variable templates for type traits, allowing shortening std::is_foo<T>::value to std::is_foo_v<T>. Use them through the code base. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/ipa/raspberrypi/controller/rpi/dpc.cpp')
0 files changed, 0 insertions, 0 deletions
='#n72'>72 73 74 75
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Raspberry Pi Ltd
 *
 * transform.h - 2D plane transforms
 */

#pragma once

#include <string>

namespace libcamera {

enum class Transform : int {
	Identity = 0,
	Rot0 = Identity,
	HFlip = 1,
	VFlip = 2,
	HVFlip = HFlip | VFlip,
	Rot180 = HVFlip,