On Thu, Jun 20, 2019 at 4:35 PM Alexandre Courbot <acourbot@xxxxxxxxxxxx> wrote: [snip] > +Initialization > +============== > + [snip] > +5. *[optional]* Choose a different ``CAPTURE`` format than suggested via > + :c:func:`VIDIOC_S_FMT` on ``CAPTURE`` queue. It is possible for the client to > + choose a different format than selected/suggested by the driver in > + :c:func:`VIDIOC_G_FMT`. > + > + * **Required fields:** > + > + ``type`` > + a ``V4L2_BUF_TYPE_*`` enum appropriate for ``CAPTURE``. > + > + ``pixelformat`` > + a raw pixel format. We should be able to set different width and height as well, to allow strided and padded frame buffers. Otherwise we wouldn't be able to import DMA-bufs allocated from some other sources. (FYI, I've posted a similar comment to the stateful interface too.) Best regards, Tomasz