PipeWire 0.3.77
Loading...
Searching...
No Matches
color.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_VIDEO_COLOR_H
6#define SPA_VIDEO_COLOR_H
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
26};
40};
62};
63
78};
95};
101#ifdef __cplusplus
102} /* extern "C" */
103#endif
104
105#endif /* SPA_VIDEO_COLOR_H */
spa_video_color_matrix
The color matrix is used to convert between Y'PbPr and non-linear RGB (R'G'B')
Definition: color.h:37
spa_video_color_range
Possible color range values.
Definition: color.h:26
spa_video_color_primaries
The color primaries define the how to transform linear RGB values to and from the CIE XYZ colorspace.
Definition: color.h:73
spa_video_transfer_function
The video transfer function defines the formula for converting between non-linear RGB (R'G'B') and li...
Definition: color.h:51
@ SPA_VIDEO_COLOR_MATRIX_FCC
FCC color matrix.
Definition: color.h:40
@ SPA_VIDEO_COLOR_MATRIX_BT709
ITU BT.709 color matrix.
Definition: color.h:41
@ SPA_VIDEO_COLOR_MATRIX_UNKNOWN
unknown matrix
Definition: color.h:38
@ SPA_VIDEO_COLOR_MATRIX_SMPTE240M
SMTPE 240M color matrix.
Definition: color.h:43
@ SPA_VIDEO_COLOR_MATRIX_BT601
ITU BT.601 color matrix.
Definition: color.h:42
@ SPA_VIDEO_COLOR_MATRIX_RGB
identity matrix
Definition: color.h:39
@ SPA_VIDEO_COLOR_MATRIX_BT2020
ITU-R BT.2020 color matrix.
Definition: color.h:44
@ SPA_VIDEO_COLOR_RANGE_16_235
[16..235] for 8 bit components.
Definition: color.h:29
@ SPA_VIDEO_COLOR_RANGE_UNKNOWN
unknown range
Definition: color.h:27
@ SPA_VIDEO_COLOR_RANGE_0_255
[0..255] for 8 bit components
Definition: color.h:28
@ SPA_VIDEO_COLOR_PRIMARIES_BT709
BT709 primaries.
Definition: color.h:75
@ SPA_VIDEO_COLOR_PRIMARIES_UNKNOWN
unknown color primaries
Definition: color.h:74
@ SPA_VIDEO_COLOR_PRIMARIES_SMPTE240M
SMPTE240M primaries.
Definition: color.h:79
@ SPA_VIDEO_COLOR_PRIMARIES_BT470M
BT470M primaries.
Definition: color.h:76
@ SPA_VIDEO_COLOR_PRIMARIES_ADOBERGB
Adobe RGB primaries.
Definition: color.h:82
@ SPA_VIDEO_COLOR_PRIMARIES_SMPTE170M
SMPTE170M primaries.
Definition: color.h:78
@ SPA_VIDEO_COLOR_PRIMARIES_FILM
Generic film.
Definition: color.h:80
@ SPA_VIDEO_COLOR_PRIMARIES_BT2020
BT2020 primaries.
Definition: color.h:81
@ SPA_VIDEO_COLOR_PRIMARIES_BT470BG
BT470BG primaries.
Definition: color.h:77
@ SPA_VIDEO_TRANSFER_ADOBERGB
Gamma 2.19921875.
Definition: color.h:66
@ SPA_VIDEO_TRANSFER_LOG316
Logarithmic transfer characteristic 316.22777:1 range.
Definition: color.h:62
@ SPA_VIDEO_TRANSFER_SRGB
Gamma 2.4 curve with a linear segment in the lower range.
Definition: color.h:59
@ SPA_VIDEO_TRANSFER_SMPTE240M
Gamma 2.2 curve with a linear segment in the lower range.
Definition: color.h:58
@ SPA_VIDEO_TRANSFER_GAMMA28
Gamma 2.8 curve.
Definition: color.h:60
@ SPA_VIDEO_TRANSFER_GAMMA10
linear RGB, gamma 1.0 curve
Definition: color.h:53
@ SPA_VIDEO_TRANSFER_BT2020_12
Gamma 2.2 curve with a linear segment in the lower range.
Definition: color.h:63
@ SPA_VIDEO_TRANSFER_GAMMA22
Gamma 2.2 curve.
Definition: color.h:56
@ SPA_VIDEO_TRANSFER_BT709
Gamma 2.2 curve with a linear segment in the lower range.
Definition: color.h:57
@ SPA_VIDEO_TRANSFER_UNKNOWN
unknown transfer function
Definition: color.h:52
@ SPA_VIDEO_TRANSFER_LOG100
Logarithmic transfer characteristic 100:1 range.
Definition: color.h:61
@ SPA_VIDEO_TRANSFER_GAMMA20
Gamma 2.0 curve.
Definition: color.h:55
@ SPA_VIDEO_TRANSFER_GAMMA18
Gamma 1.8 curve.
Definition: color.h:54
spa_video_colorimetry:
Definition: color.h:90
enum spa_video_color_range range
The color range.
Definition: color.h:91
enum spa_video_color_matrix matrix
the color matrix.
Definition: color.h:94
enum spa_video_transfer_function transfer
The transfer function.
Definition: color.h:96
enum spa_video_color_primaries primaries
Color primaries.
Definition: color.h:98