media: v4l2-ctrl: Add VP9 codec levels
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Sat, 11 Jul 2020 12:52:36 +0000 (14:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 14 Sep 2020 13:39:42 +0000 (15:39 +0200)
commit5823833c9adab5a9ce5500e7f1ce7deeff00ee73
treedfbd2978169c76785683c8c7f27f9233eb031bcd
parent0df720e59d9543a5021653350c4feebc3d3f71c5
media: v4l2-ctrl: Add VP9 codec levels

Add menu control for VP9 codec levels. A total of 14 levels are
defined for Profile 0 (8bit) and Profile 2 (10bit). Each level
is a set of constrained bitstreams coded with targeted resolutions,
frame rates, and bitrates.

The definitions have been taken from webm project [1].

[1] https://www.webmproject.org/vp9/levels/

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h