1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavfilter
Yonglin Luo 664a27ea40 libavfilter/vf_colorspace.c: fix demarcation point of gamma linearize function
The linearize function (usually refered to EOTF) is the inverse of
delinearize function (usually referred to OETF). Demarcation point of
EOTF should be beta*delta, but the actual value used now in the source
code is beta.

For ITU Rec.709, they are 0.081 (0.018*4.5) and 0.018 respectively
(beta = 0.018 and delta = 4.5), and they correspond to pixel value 5
and 21 for an 8-bit image. Linearized result of pixel within that range
(5-21) will be different, but this commit will make linearize function
of the filter more accurate in the mathematical sense.

Signed-off-by: Yonglin Luo <vincenluo@tencent.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2019-07-03 13:57:11 -04:00
..
2017-05-12 10:48:13 +02:00
2018-11-18 21:21:18 +01:00
2016-12-01 09:53:38 +01:00
2019-05-14 15:17:14 +02:00
2017-11-26 14:05:25 +01:00
2018-10-19 17:43:29 +02:00
2018-03-31 23:26:30 +01:00
2018-11-15 14:44:24 +01:00
2018-06-21 00:31:42 +01:00
2018-06-21 00:31:42 +01:00
2018-05-05 21:50:22 +02:00
2017-06-26 19:43:41 +02:00
2017-04-23 14:40:30 +07:00
2017-01-12 10:22:52 +01:00
2016-01-28 19:49:48 -08:00
2017-07-08 11:49:54 +02:00
2014-08-13 01:00:38 +02:00
2019-07-02 19:02:54 +02:00
2016-01-31 15:44:11 -08:00
2016-01-28 19:49:48 -08:00
2016-01-31 15:44:11 -08:00
2015-01-05 01:45:49 +01:00
2019-07-02 19:02:54 +02:00
2018-06-21 00:31:42 +01:00
2019-05-11 20:16:45 +02:00
2016-02-27 21:35:20 +01:00
2019-06-06 13:59:43 +08:00
2017-08-05 21:05:22 +02:00
2019-04-20 00:20:07 +02:00
2018-08-16 00:07:59 +02:00
2019-04-20 14:20:07 +02:00
2017-04-24 20:37:30 +02:00
2019-01-12 19:49:15 +01:00
2019-05-24 18:37:41 +02:00
2015-01-09 17:26:31 +01:00
2018-09-13 12:09:51 +02:00
2018-11-02 09:32:52 +01:00
2018-04-13 08:41:51 +02:00
2018-08-09 10:35:00 +05:30
2017-12-23 10:48:14 +01:00