OSDN Git Service

media: Rename stateful codec control macros
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 26 Nov 2020 09:36:09 +0000 (10:36 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Dec 2020 11:27:32 +0000 (12:27 +0100)
commit35aaa6e650c24212316781b63005f52c1988cd4e
treea6c7d6e95c1153f15f010a1afba88bede8dc3d46
parentc8363ff21b5168f2252aa8b8447173ce48ff0149
media: Rename stateful codec control macros

For historical reasons, stateful codec controls are named
as {}_MPEG_{}. While we can't at this point sanely
change all control IDs (such as V4L2_CID_MPEG_VIDEO_VP8_FRAME_HEADER),
we can least change the more meaningful macros such as classes
macros.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Tested-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
14 files changed:
Documentation/userspace-api/media/v4l/dev-mem2mem.rst
Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
Documentation/userspace-api/media/v4l/extended-controls.rst
Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst
drivers/media/common/cx2341x.c
drivers/media/platform/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/s5p-mfc/s5p_mfc_enc.c
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/fwht-ctrls.h
include/media/h264-ctrls.h
include/media/hevc-ctrls.h
include/media/mpeg2-ctrls.h
include/media/vp8-ctrls.h
include/uapi/linux/v4l2-controls.h