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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add two more steps to encoder Initialization phase related
to image encoding.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx>
---
 Documentation/userspace-api/media/v4l/dev-encoder.rst | 6 ++++++
 1 file changed, 6 insertions(+)

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.
-- 
2.25.1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux