summaryrefslogtreecommitdiff
path: root/src/android/jpeg/thumbnailer.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-11-29 23:02:27 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-12-01 08:54:12 +0200
commitb24d9c4413b9d7f55f4105adeb7cf9a2450d3204 (patch)
treec896a9d23ffe729ffdac5146b965fe2e83fbdee8 /src/android/jpeg/thumbnailer.cpp
parent68e4f70a6937a69339c3f48502cd4e332c3a16ca (diff)
test: Store path to the test executable in Test class
Store the path to the test executable, found in argv[0], in the Test instance. This can be useful for tests that need to fork processes. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/thumbnailer.cpp')
0 files changed, 0 insertions, 0 deletions
a id='n50' href='#n50'>50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Raspberry Pi Ltd
 *
 * bayer_format.h - Bayer Pixel Format
 */

#pragma once

#include <ostream>
#include <stdint.h>
#include <string>

#include <libcamera/pixel_format.h>

#include "libcamera/internal/v4l2_pixelformat.h"

namespace libcamera {

enum class Transform;

class BayerFormat
{
public:
	enum Order : uint8_t {
		BGGR = 0,
		GBRG = 1,
		GRBG = 2,
		RGGB = 3,
		MONO = 4
	};

	enum class Packing : uint16_t {
		None = 0,
		CSI2 = 1,
		IPU3 = 2,
	};