edid-decode: add Filmmaker Mode, fix Dolby PQ v2 calculations
commite48fb384fff4a86ccf81b6293c0358575fb9f092
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 1 Jun 2023 08:21:40 +0000 (1 10:21 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 1 Jun 2023 08:21:40 +0000 (1 10:21 +0200)
tree39c5855a3b77ecf7547f8317aa0ed4efe5acc9a7
parent2d44e1b01c7ed7d65b20ecdce62d354841832201
edid-decode: add Filmmaker Mode, fix Dolby PQ v2 calculations

Add support for Filmmaker Mode.

It turns out that the Dolby PQ v2 calculations use the same divider
of 4095 that is used by others, so switch to that.

Also simplify the 'Unique' calculations: the value can just be divided
by 256 instead of using weird step values.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
oui.h
parse-cta-block.cpp