Files
external_libcamera/src/libcamera/pixelformats.cpp
Jacopo Mondi 448716d8f7 libcamera: Switch PixelFormat to DRM FourCC values
Use DRM FourCC values for the newly defined PixelFormat.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2019-10-28 17:04:20 +02:00

29 lines
642 B
C++

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Google Inc.
*
* pixelformats.cpp - libcamera pixel formats
*/
#include <libcamera/pixelformats.h>
/**
* \file pixelformats.h
* \brief libcamera pixel formats
*/
namespace libcamera {
/**
* \typedef PixelFormat
* \brief libcamera image pixel format
*
* The PixelFormat type describes the format of images in the public libcamera
* API. It stores a FourCC value as a 32-bit unsigned integer. The values are
* defined in the Linux kernel DRM/KMS API (see linux/drm_fourcc.h).
*
* \todo Add support for format modifiers
*/
} /* namespace libcamera */