Message ID | 20210115092607.29849-5-stanimir.varbanov@linaro.org |
---|---|
State | Accepted |
Commit | 644bcc0315f2b1c438132c46f78221cd6a6f67f3 |
Headers | show |
Series | MFC private ctrls to std ctrls | expand |
On 15/01/2021 10:26, Stanimir Varbanov wrote: > Deprecate mfc private display delay and display enable controls for > new clients and use the standard controls instead. > > Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Thanks! Hans > --- > .../userspace-api/media/v4l/ext-ctrls-codec.rst | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst > index 5d7c47837035..815c6eb4a0d0 100644 > --- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst > +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst > @@ -2111,6 +2111,11 @@ MFC 5.1 Control IDs > feature can be used for example for generating thumbnails of videos. > Applicable to the H264 decoder. > > + .. note:: > + > + This control is deprecated. Use the standard > + ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE`` control instead. > + > ``V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY (integer)`` > Display delay value for H264 decoder. The decoder is forced to > return a decoded frame after the set 'display delay' number of > @@ -2118,6 +2123,11 @@ MFC 5.1 Control IDs > of display order, in addition the hardware may still be using the > returned buffer as a reference picture for subsequent frames. > > + .. note:: > + > + This control is deprecated. Use the standard > + ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY`` control instead. > + > ``V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P (integer)`` > The number of reference pictures used for encoding a P picture. > Applicable to the H264 encoder. >
diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst index 5d7c47837035..815c6eb4a0d0 100644 --- a/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst @@ -2111,6 +2111,11 @@ MFC 5.1 Control IDs feature can be used for example for generating thumbnails of videos. Applicable to the H264 decoder. + .. note:: + + This control is deprecated. Use the standard + ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE`` control instead. + ``V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY (integer)`` Display delay value for H264 decoder. The decoder is forced to return a decoded frame after the set 'display delay' number of @@ -2118,6 +2123,11 @@ MFC 5.1 Control IDs of display order, in addition the hardware may still be using the returned buffer as a reference picture for subsequent frames. + .. note:: + + This control is deprecated. Use the standard + ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY`` control instead. + ``V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P (integer)`` The number of reference pictures used for encoding a P picture. Applicable to the H264 encoder.
Deprecate mfc private display delay and display enable controls for new clients and use the standard controls instead. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> --- .../userspace-api/media/v4l/ext-ctrls-codec.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.17.1