[RFC/WIP,v2,3/6] docs: dev-encoder: Add additional steps for image encoding

Message ID 20220303141010.573408-4-stanimir.varbanov@linaro.org (mailing list archive)
State RFC
Headers
Series HEIC image encoder |

Commit Message

Stanimir Varbanov March 3, 2022, 2:10 p.m. UTC
  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(+)
  

Patch

diff --git a/Documentation/userspace-api/media/v4l/dev-encoder.rst b/Documentation/userspace-api/media/v4l/dev-encoder.rst
index aa338b9624b0..ec799b4b9a61 100644
--- a/Documentation/userspace-api/media/v4l/dev-encoder.rst
+++ b/Documentation/userspace-api/media/v4l/dev-encoder.rst
@@ -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.