summaryrefslogtreecommitdiff
path: root/src/libcamera/formats.cpp
blob: 56f4ddb51ffad4d39e8a9293c79499fb07629818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2019, Google Inc.
 *
 * formats.cpp - Libcamera image formats
 */

#include "formats.h"

/**
 * \file formats.h
 * \brief Types and helper methods to handle libcamera image formats
 */

namespace libcamera {

/**
 * \typedef FormatEnum
 * \brief Type definition for the map of image formats and sizes
 *
 * Type definition used to enumerate the supported pixel formats and image
 * frame sizes. The type associates in a map a pixel format (for memory
 * formats) or a media bus code (for bus formats), to a vector of image
 * resolutions represented by SizeRange items.
 */

} /* namespace libcamera */