[RFC/WIP,v2,3/6] docs: dev-encoder: Add additional steps for image encoding
Commit Message
Add two more steps to encoder Initialization phase related
to image encoding.
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
---
Documentation/userspace-api/media/v4l/dev-encoder.rst | 6 ++++++
1 file changed, 6 insertions(+)
@@ -229,6 +229,12 @@ Initialization
default values, based on the new resolution, as described in the next
step.
+3.1 Call VIDIOC_S_EXT_CTRLS() to set all controls (Grid width and height and
+ number of rows and columns) required to update CAPTURE and OUTPUT formats.
+
+3.2 Call VIDIOC_G_FMT() to get updated CAPTURE and OUTPUT formats as consequence
+ of setted grid encoding dimentions.
+
4. Set the raw frame interval on the ``OUTPUT`` queue via
:c:func:`VIDIOC_S_PARM`. This also sets the coded frame interval on the
``CAPTURE`` queue to the same value.