doc-rst: standard: read the example captions
[deliverable/linux.git] / Documentation / linux_tv / media / v4l / pixfmt-008.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 ***************************************
4 Detailed Transfer Function Descriptions
5 ***************************************
6
7
8 .. _xf-smpte-2084:
9
10 Transfer Function SMPTE 2084 (V4L2_XFER_FUNC_SMPTE2084)
11 =======================================================
12
13 The :ref:`smpte2084` standard defines the transfer function used by
14 High Dynamic Range content.
15
16 Constants:
17 m1 = (2610 / 4096) / 4
18
19 m2 = (2523 / 4096) * 128
20
21 c1 = 3424 / 4096
22
23 c2 = (2413 / 4096) * 32
24
25 c3 = (2392 / 4096) * 32
26
27 Transfer function:
28 L' = ((c1 + c2 * L\ :sup:`m1`) / (1 + c3 * L\ :sup:`m1`))\ :sup:`m2`
29
30 Inverse Transfer function:
31 L = (max(L':sup:`1/m2` - c1, 0) / (c2 - c3 *
32 L'\ :sup:`1/m2`))\ :sup:`1/m1`
33
34
35 .. ------------------------------------------------------------------------------
36 .. This file was automatically converted from DocBook-XML with the dbxml
37 .. library (https://github.com/return42/sphkerneldoc). The origin XML comes
38 .. from the linux kernel, refer to:
39 ..
40 .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
41 .. ------------------------------------------------------------------------------
This page took 0.055249 seconds and 5 git commands to generate.