@@ -11,10 +11,13 @@ the generic controls, then controls specific for certain hardware.
.. note::
- These controls are applicable to all codecs and not just MPEG. The
- defines are prefixed with V4L2_CID_MPEG/V4L2_MPEG as the controls
- were originally made for MPEG codecs and later extended to cover all
- encoding formats.
+ Originally these defines, enum names and struct names were prefixed with
+ V4L2_CID_MPEG/V4L2_MPEG/v4l2_mpeg instead of
+ V4L2_CID_CODEC/V4L2_CODEC/v4l2_codec as the codec controls were initially
+ made for just the MPEG codec and only later extended to cover more codecs.
+
+ The old names are still available to prevent breaking existing code and the
+ ``v4l2-controls.h`` header redefines them to the new names.
Generic Codec Controls
The note at the start of the Codec Control Reference section was changed to explain the prefix naming change. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> --- .../userspace-api/media/v4l/ext-ctrls-codec.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)