1//
2// SPDX-License-Identifier: BSD-3-Clause
3// Copyright (c) Contributors to the OpenEXR Project.
4//
5
6
7#ifndef INCLUDED_IMF_PIXEL_TYPE_H
8#define INCLUDED_IMF_PIXEL_TYPE_H
9
10//-----------------------------------------------------------------------------
11//
12// enum PixelType
13//
14//-----------------------------------------------------------------------------
15
16#include "ImfExport.h"
17#include "ImfNamespace.h"
18
19OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_ENTER
20
21
22enum IMF_EXPORT_ENUM PixelType
23{
24 UINT = 0, // unsigned int (32 bit)
25 HALF = 1, // half (16 bit floating point)
26 FLOAT = 2, // float (32 bit floating point)
27
28 NUM_PIXELTYPES // number of different pixel types
29};
30
31
32OPENEXR_IMF_INTERNAL_NAMESPACE_HEADER_EXIT
33
34
35
36
37
38#endif
39

source code of include/OpenEXR/ImfPixelType.h