[v2,6/6] media: docs: Deprecate mfc frame skip control

Message ID 20200721074538.505-7-stanimir.varbanov@linaro.org
State New
Headers show
Series
  • Add new controls for CQ and Frame-skip
Related show

Commit Message

Stanimir Varbanov July 21, 2020, 7:45 a.m.
Deprecate mfc private frame skip mode control for new
clients and use the standard one instead.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>

---
 Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.17.1

Comments

Hans Verkuil Aug. 19, 2020, 9:48 a.m. | #1
On 21/07/2020 09:45, Stanimir Varbanov wrote:
> Deprecate mfc private frame skip mode control for new

> clients and use the standard one instead.

> 

> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>


Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>


Regards,

	Hans

> ---

>  Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 5 +++++

>  1 file changed, 5 insertions(+)

> 

> diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst

> index 985e4c2d29bf..31d77d1cdcc9 100644

> --- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst

> +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst

> @@ -2821,6 +2821,11 @@ MFC 5.1 Control IDs

>  ``V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE``

>      (enum)

>  

> +    .. note::

> +

> +       This control is deprecated. Use the standard

> +       ``V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE`` control instead.

> +

>  enum v4l2_mpeg_mfc51_video_frame_skip_mode -

>      Indicates in what conditions the encoder should skip frames. If

>      encoding a frame would cause the encoded stream to be larger then a

>

Patch

diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
index 985e4c2d29bf..31d77d1cdcc9 100644
--- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
+++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst
@@ -2821,6 +2821,11 @@  MFC 5.1 Control IDs
 ``V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE``
     (enum)
 
+    .. note::
+
+       This control is deprecated. Use the standard
+       ``V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE`` control instead.
+
 enum v4l2_mpeg_mfc51_video_frame_skip_mode -
     Indicates in what conditions the encoder should skip frames. If
     encoding a frame would cause the encoded stream to be larger then a