Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-02-05 Thread Tomasz Figa
On Wed, Jan 30, 2019 at 1:02 PM Nicolas Dufresne wrote: > > Le vendredi 25 janvier 2019 à 12:27 +0900, Tomasz Figa a écrit : > > On Fri, Jan 25, 2019 at 4:55 AM Nicolas Dufresne > > wrote: > > > Le jeudi 24 janvier 2019 à 18:06 +0900, Tomasz Figa a écrit : > > > > > Actually I just realized the

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-29 Thread Nicolas Dufresne
Le vendredi 25 janvier 2019 à 12:27 +0900, Tomasz Figa a écrit : > On Fri, Jan 25, 2019 at 4:55 AM Nicolas Dufresne wrote: > > Le jeudi 24 janvier 2019 à 18:06 +0900, Tomasz Figa a écrit : > > > > Actually I just realized the last point might not even be achievable > > > > for some of the decoders

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-24 Thread Tomasz Figa
On Fri, Jan 25, 2019 at 4:55 AM Nicolas Dufresne wrote: > > Le jeudi 24 janvier 2019 à 18:06 +0900, Tomasz Figa a écrit : > > > Actually I just realized the last point might not even be achievable > > > for some of the decoders (s5p-mfc, mtk-vcodec), as they don't report > > > which frame originat

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-24 Thread Nicolas Dufresne
Le jeudi 24 janvier 2019 à 18:06 +0900, Tomasz Figa a écrit : > > Actually I just realized the last point might not even be achievable > > for some of the decoders (s5p-mfc, mtk-vcodec), as they don't report > > which frame originates from which bitstream buffer and the driver just > > picks the mo

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-24 Thread Tomasz Figa
On Wed, Jan 23, 2019 at 2:27 PM Tomasz Figa wrote: > > On Tue, Jan 22, 2019 at 11:47 PM Hans Verkuil wrote: > > > > On 01/22/19 11:02, Tomasz Figa wrote: [snip] > > >>> + one ``CAPTURE`` buffer, the following cases are defined: > > >>> + > > >>> + * one ``OUTPUT`` buffer generates multiple ``

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-23 Thread Hans Verkuil
On 01/23/2019 06:27 AM, Tomasz Figa wrote: > On Tue, Jan 22, 2019 at 11:47 PM Hans Verkuil wrote: >> >> On 01/22/19 11:02, Tomasz Figa wrote: >>> On Mon, Nov 12, 2018 at 8:37 PM Hans Verkuil wrote: Hi Tomasz, A general note for the stateful and stateless patches: they describe

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-22 Thread Tomasz Figa
On Tue, Jan 22, 2019 at 11:47 PM Hans Verkuil wrote: > > On 01/22/19 11:02, Tomasz Figa wrote: > > On Mon, Nov 12, 2018 at 8:37 PM Hans Verkuil wrote: > >> > >> Hi Tomasz, > >> > >> A general note for the stateful and stateless patches: they describe > >> specific > >> use-cases of the more gene

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-22 Thread Hans Verkuil
On 01/22/19 11:02, Tomasz Figa wrote: > On Mon, Nov 12, 2018 at 8:37 PM Hans Verkuil wrote: >> >> Hi Tomasz, >> >> A general note for the stateful and stateless patches: they describe specific >> use-cases of the more generic Codec Interface, and as such should be one >> level deeper in the sectio

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-22 Thread Tomasz Figa
On Mon, Nov 12, 2018 at 8:37 PM Hans Verkuil wrote: > > Hi Tomasz, > > A general note for the stateful and stateless patches: they describe specific > use-cases of the more generic Codec Interface, and as such should be one > level deeper in the section hierarchy. I wonder what exactly this Codec

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-17 Thread Nicolas Dufresne
Le samedi 17 novembre 2018 à 12:43 +0100, Hans Verkuil a écrit : > > > As far as I know all codecs have resolution/metadata in the stream. > > > > Was this comment about what we currently support in V4L2 interface ? In > > Yes, I was talking about all V4L2 codecs. > > > real life, there is CODEC

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-17 Thread Hans Verkuil
On 11/17/2018 05:31 AM, Nicolas Dufresne wrote: > Le jeudi 15 novembre 2018 à 15:34 +0100, Hans Verkuil a écrit : >> On 10/22/2018 04:48 PM, Tomasz Figa wrote: >>> Due to complexity of the video decoding process, the V4L2 drivers of >>> stateful decoder hardware require specific sequences of V4L2 A

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-16 Thread Nicolas Dufresne
Le jeudi 15 novembre 2018 à 15:34 +0100, Hans Verkuil a écrit : > On 10/22/2018 04:48 PM, Tomasz Figa wrote: > > Due to complexity of the video decoding process, the V4L2 drivers of > > stateful decoder hardware require specific sequences of V4L2 API calls > > to be followed. These include capabili

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-15 Thread Hans Verkuil
On 10/22/2018 04:48 PM, Tomasz Figa wrote: > Due to complexity of the video decoding process, the V4L2 drivers of > stateful decoder hardware require specific sequences of V4L2 API calls > to be followed. These include capability enumeration, initialization, > decoding, seek, pause, dynamic resolut

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-12 Thread Stanimir Varbanov
Hi Tomasz, On 10/22/18 5:48 PM, Tomasz Figa wrote: > Due to complexity of the video decoding process, the V4L2 drivers of > stateful decoder hardware require specific sequences of V4L2 API calls > to be followed. These include capability enumeration, initialization, > decoding, seek, pause, dynami

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-12 Thread Hans Verkuil
Hi Tomasz, A general note for the stateful and stateless patches: they describe specific use-cases of the more generic Codec Interface, and as such should be one level deeper in the section hierarchy. I.e. instead of being section 4.6/7/8: https://hverkuil.home.xs4all.nl/request-api/uapi/v4l/dev

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-10-29 Thread Tomasz Figa
On Mon, Oct 29, 2018 at 7:06 PM Tomasz Figa wrote: > > Hi Stanimir, > > On Mon, Oct 29, 2018 at 6:45 PM Stanimir Varbanov > wrote: > > > > Hi Tomasz, > > > > On 10/22/2018 05:48 PM, Tomasz Figa wrote: > > > Due to complexity of the video decoding process, the V4L2 drivers of > > > stateful decode

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-10-29 Thread Tomasz Figa
Hi Stanimir, On Mon, Oct 29, 2018 at 6:45 PM Stanimir Varbanov wrote: > > Hi Tomasz, > > On 10/22/2018 05:48 PM, Tomasz Figa wrote: > > Due to complexity of the video decoding process, the V4L2 drivers of > > stateful decoder hardware require specific sequences of V4L2 API calls > > to be followe

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-10-29 Thread Stanimir Varbanov
Hi Tomasz, On 10/22/2018 05:48 PM, Tomasz Figa wrote: > Due to complexity of the video decoding process, the V4L2 drivers of > stateful decoder hardware require specific sequences of V4L2 API calls > to be followed. These include capability enumeration, initialization, > decoding, seek, pause, dyn

[PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-10-22 Thread Tomasz Figa
Due to complexity of the video decoding process, the V4L2 drivers of stateful decoder hardware require specific sequences of V4L2 API calls to be followed. These include capability enumeration, initialization, decoding, seek, pause, dynamic resolution change, drain and end of stream. Specifics of