2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 19:53:59 +08:00
linux-next/drivers/media/common/v4l2-tpg
Hans Verkuil 079c6eaf80 media: v4l2-tpg: fix the SMPTE-2084 transfer function
The SMPTE-2084 transfer functions maps to the luminance range of
0-10000 cd/m^2. Other transfer functions use the traditional range of
0-100 cd/m^2.

I didn't take this into account so the luminance was off by a factor of
100.

Since qv4l2 made the same mistake in reverse I never noticed this until
I tested with actual SMPTE-2084 video.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-08 07:05:09 -04:00
..
Kconfig
Makefile
v4l2-tpg-colors.c media: v4l2-tpg: fix the SMPTE-2084 transfer function 2017-08-08 07:05:09 -04:00
v4l2-tpg-core.c media: v4l2-tpg-core.c: fix typo in bt2020_full matrix 2017-08-08 06:20:20 -04:00