Re: [ANN] Media sessions in Lyon in October: codecs

2019-10-07 Thread Nicolas Dufresne
ld be nicer with a v4l2 > m2m driver and gstreamer But i can see that it can get complicated > if the vce shares resources with the other parts of the gpu. Best is to grab someone working on this in Mesa or at AMD. The GPU based accelerators often uses shaders to complete the work. And shaders n

Re: [ANN] Media sessions in Lyon in October: codecs

2019-10-06 Thread Nicolas Dufresne
om > > 8:30 (tentative, might change) to 12:00 (we have to vacate the room at that > > time). > > > > Confirmed attendees for this session: > > > > Boris Brezillon > > Alexandre Courbot > > Nicolas Dufresne > > Tomasz Figa > > Ezequi

Re: [PATCHv3 11/12] media: docs-rst: Document m2m stateless video decoder interface

2019-09-26 Thread Nicolas Dufresne
Le jeudi 26 septembre 2019 à 13:33 +0200, Hans Verkuil a écrit : > Hi Alexandre, Tomasz, > > On 8/15/19 4:44 PM, Hans Verkuil wrote: > > From: Alexandre Courbot > > > > Documents the protocol that user-space should follow when > > communicating with stateless video decoders. > > > > The statele

Re: [ANN] Media sessions in Lyon in October: codecs

2019-09-26 Thread Nicolas Dufresne
om > > 8:30 (tentative, might change) to 12:00 (we have to vacate the room at that > > time). > > > > Confirmed attendees for this session: > > > > Boris Brezillon > > Alexandre Courbot > > Nicolas Dufresne > > Tomasz Figa > > Ezequi

Re: [ANN] Media sessions in Lyon in October: future V4L2 work

2019-09-23 Thread Nicolas Dufresne
Le lundi 23 septembre 2019 à 16:27 +0200, Hans Verkuil a écrit : > Hi all, > > Since we have three separate half-day sessions for different topics I decided > to split the announcement for this in three emails as well, so these things > can be discussed in separate threads. > > All sessions are i

Re: [ANN] Media sessions in Lyon in October: libcamera

2019-09-23 Thread Nicolas Dufresne
#x27;t attend after all, then > please let me know. I would like to join this one to, as after ELCE I should have some time to spend on this. I understand thought hat this would make use reach the limit, let me know if there is any issues, I can spare my seat if needed. Nicolas Dufresne >

Re: [PATCH 0/4] Enable Hantro G1 post-processor

2019-09-11 Thread Nicolas Dufresne
Le mercredi 11 septembre 2019 à 09:27 +0100, Ezequiel Garcia a écrit : > On Mon, 2019-09-09 at 16:07 +0900, Tomasz Figa wrote: > > Hi Ezequiel, > > > > On Wed, Sep 4, 2019 at 3:17 AM Ezequiel Garcia > > wrote: > > > Hi all, > > > > > > This series enables the post-processor support available >

Re: [PATCH 0/4] Enable Hantro G1 post-processor

2019-09-11 Thread Nicolas Dufresne
Le mercredi 11 septembre 2019 à 09:27 +0100, Ezequiel Garcia a écrit : > On Mon, 2019-09-09 at 16:07 +0900, Tomasz Figa wrote: > > Hi Ezequiel, > > > > On Wed, Sep 4, 2019 at 3:17 AM Ezequiel Garcia > > wrote: > > > Hi all, > > > > > > This series enables the post-processor support available >

Re: [PATCH 1/2] media: uapi: h264: Add num_ref_idx_active_override_flag

2019-09-05 Thread Nicolas Dufresne
Le jeudi 05 septembre 2019 à 12:39 +0200, Philipp Zabel a écrit : > On Thu, 2019-09-05 at 19:31 +0900, Tomasz Figa wrote: > > On Thu, Sep 5, 2019 at 7:15 PM Philipp Zabel wrote: > > > This flag tells the kernel whether the slice header contained the > > > num_ref_idx_l[01]_active_minus1 syntax ele

Re: [ANN] Topics for a media summit in Lyon in October

2019-08-28 Thread Nicolas Dufresne
Le mercredi 28 août 2019 à 12:55 +0200, Hans Verkuil a écrit : > On 8/16/19 10:06 AM, Hans Verkuil wrote: > > Rather then discussing topics for a meeting under the subject 'Lisbon' > > let's start a new thread referring to the right place :-) > > > > I will try to organize a room, either during th

Re: [ANN] Media summit in Lisbon at September

2019-08-27 Thread Nicolas Dufresne
Le vendredi 16 août 2019 à 14:52 +0900, Alexandre Courbot a écrit : > On Wed, Aug 14, 2019 at 6:40 PM Laurent Pinchart > wrote: > > On Wed, Aug 14, 2019 at 05:35:48PM +0900, Alexandre Courbot wrote: > > > That could be nice. Of course something more informal is also fine. > > > Anyone else plannin

Re: [PATCH 02/14] videodev2.h: add V4L2_FMT_FLAG_HAS_BITSTREAM_PARSER

2019-08-01 Thread Nicolas Dufresne
Le mardi 30 juillet 2019 à 09:21 +0200, Hans Verkuil a écrit : > On 7/29/19 3:18 PM, Tomasz Figa wrote: > > On Mon, Jul 29, 2019 at 10:12 PM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > On Sun 28 Jul 19, 23:05, Tomasz Figa wrote: > > > > On Sat, Jul 27, 2019 at 6:37 PM Paul Kocialkowski > >

Re: [PATCH 00/14] Stateful/stateless codec core support (resend)

2019-07-29 Thread Nicolas Dufresne
Le vendredi 26 juillet 2019 à 12:02 +0200, Hans Verkuil a écrit : > On 7/26/19 11:56 AM, Chen-Yu Tsai wrote: > > On Fri, Jul 26, 2019 at 5:50 PM Maxime Jourdan > > wrote: > > > On Wed, Jul 24, 2019 at 1:27 PM Hans Verkuil > > > wrote: > > > > (There were too many recipients for my provider, so

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-07-10 Thread Nicolas Dufresne
Le mercredi 03 juillet 2019 à 17:32 +0900, Tomasz Figa a écrit : > Hi Hans, > > On Fri, Jun 28, 2019 at 11:34 PM Hans Verkuil wrote: > > Hi all, > > > > I hope I Cc-ed everyone with a stake in this issue. > > > > One recurring question is how a stateful encoder fills buffers and how a > > stat

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-07-10 Thread Nicolas Dufresne
Le mercredi 10 juillet 2019 à 10:43 +0200, Hans Verkuil a écrit : > On 6/28/19 8:09 PM, Nicolas Dufresne wrote: > > Le vendredi 28 juin 2019 à 16:34 +0200, Hans Verkuil a écrit : > > > Hi all, > > > > > > I hope I Cc-ed everyone with a stake in this issue. &g

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-07-03 Thread Nicolas Dufresne
Le mercredi 03 juillet 2019 à 17:32 +0900, Tomasz Figa a écrit : > Hi Hans, > > On Fri, Jun 28, 2019 at 11:34 PM Hans Verkuil wrote: > > Hi all, > > > > I hope I Cc-ed everyone with a stake in this issue. > > > > One recurring question is how a stateful encoder fills buffers and how a > > stat

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-07-03 Thread Nicolas Dufresne
Le mercredi 03 juillet 2019 à 17:46 +0900, Tomasz Figa a écrit : > On Sat, Jun 29, 2019 at 3:09 AM Nicolas Dufresne wrote: > > Le vendredi 28 juin 2019 à 16:34 +0200, Hans Verkuil a écrit : > > > Hi all, > > > > > > I hope I Cc-ed everyone with a stake in th

Re: [PATCH v3 3/3] media: uapi: h264: Get rid of the p0/b0/b1 ref-lists

2019-07-03 Thread Nicolas Dufresne
ezillon Those only existed for Rockchip/Hantro anyway. Reviewed-by: Nicolas Dufresne > --- > Changes in v3: > * None > > Changes in v2: > * None > --- > Documentation/media/uapi/v4l/ext-ctrls-codec.rst | 9 - > 1 file changed, 9 deletions(-) > >

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-06-29 Thread Nicolas Dufresne
Le samedi 29 juin 2019 à 11:02 +0100, Dave Stevenson a écrit : > Hi Nicolas > > On Fri, 28 Jun 2019 at 16:48, Nicolas Dufresne wrote: > > Le vendredi 28 juin 2019 à 16:21 +0100, Dave Stevenson a écrit : > > > Hi Hans > > > > > > On Fri, 28 Jun 2019 at

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-06-28 Thread Nicolas Dufresne
Le vendredi 28 juin 2019 à 16:34 +0200, Hans Verkuil a écrit : > Hi all, > > I hope I Cc-ed everyone with a stake in this issue. > > One recurring question is how a stateful encoder fills buffers and how a > stateful > decoder consumes buffers. > > The most generic case is that an encoder produ

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-06-28 Thread Nicolas Dufresne
Le vendredi 28 juin 2019 à 16:34 +0200, Hans Verkuil a écrit : > Hi all, > > I hope I Cc-ed everyone with a stake in this issue. > > One recurring question is how a stateful encoder fills buffers and how a > stateful > decoder consumes buffers. > > The most generic case is that an encoder produ

Re: [RFC] Stateful codecs and requirements for compressed formats

2019-06-28 Thread Nicolas Dufresne
Le vendredi 28 juin 2019 à 16:21 +0100, Dave Stevenson a écrit : > Hi Hans > > On Fri, 28 Jun 2019 at 15:34, Hans Verkuil wrote: > > Hi all, > > > > I hope I Cc-ed everyone with a stake in this issue. > > > > One recurring question is how a stateful encoder fills buffers and how a > > stateful

Re: [PATCH 01/31] staging: bcm2835-camera: Ensure H264 header bytes get a sensible timestamp

2019-06-28 Thread Nicolas Dufresne
Le vendredi 28 juin 2019 à 16:08 +0200, Hans Verkuil a écrit : > On 6/28/19 4:00 PM, Nicolas Dufresne wrote: > > Le vendredi 28 juin 2019 à 11:10 +0100, Dave Stevenson a écrit : > > > Hi Nicolas > > > > > > On Thu, 27 Jun 2019 at 20:55, Nicolas Duf

Re: [PATCH 01/31] staging: bcm2835-camera: Ensure H264 header bytes get a sensible timestamp

2019-06-28 Thread Nicolas Dufresne
Le vendredi 28 juin 2019 à 11:10 +0100, Dave Stevenson a écrit : > Hi Nicolas > > On Thu, 27 Jun 2019 at 20:55, Nicolas Dufresne wrote: > > Hi Dave, > > > > Le jeudi 27 juin 2019 à 20:55 +0200, Stefan Wahren a écrit : > > > From: Dave Stevenson > >

Re: [PATCH 19/31] staging: bcm2835-camera: Ensure timestamps never go backwards.

2019-06-27 Thread Nicolas Dufresne
Le jeudi 27 juin 2019 à 20:56 +0200, Stefan Wahren a écrit : > From: Dave Stevenson > > There is an awkward situation with H264 header bytes. Currently > they are returned with a PTS of 0 because they aren't associated > with a timestamped frame to encode. These are handled by either > returning

Re: [PATCH 01/31] staging: bcm2835-camera: Ensure H264 header bytes get a sensible timestamp

2019-06-27 Thread Nicolas Dufresne
Hi Dave, Le jeudi 27 juin 2019 à 20:55 +0200, Stefan Wahren a écrit : > From: Dave Stevenson > > H264 header come from VC with 0 timestamps, which means they get a > strange timestamp when processed with VC/kernel start times, > particularly if used with the inline header option. > Remember the

Re: [PATCH for v5.2] videobuf2-core.c: always reacquire USERPTR memory

2019-06-13 Thread Nicolas Dufresne
Le mercredi 12 juin 2019 à 11:17 +0300, Laurent Pinchart a écrit : > Hi Nicolas, > > On Tue, Jun 11, 2019 at 08:09:13PM -0400, Nicolas Dufresne wrote: > > Le mardi 11 juin 2019 à 13:24 +0300, Laurent Pinchart a écrit : > > > On Fri, Jun 07, 2019 at 03:38:39PM -0400

Re: [PATCH for v5.2] videobuf2-core.c: always reacquire USERPTR memory

2019-06-11 Thread Nicolas Dufresne
Le mardi 11 juin 2019 à 20:12 -0400, Nicolas Dufresne a écrit : > Le mardi 11 juin 2019 à 13:56 +0200, Marek Szyprowski a écrit : > > Hi Hans, > > > > On 2019-06-11 09:52, Hans Verkuil wrote: > > > On 6/7/19 9:43 PM, Nicolas Dufresne wrote: > > > > Le

Re: [PATCH for v5.2] videobuf2-core.c: always reacquire USERPTR memory

2019-06-11 Thread Nicolas Dufresne
Le mardi 11 juin 2019 à 13:56 +0200, Marek Szyprowski a écrit : > Hi Hans, > > On 2019-06-11 09:52, Hans Verkuil wrote: > > On 6/7/19 9:43 PM, Nicolas Dufresne wrote: > > > Le vendredi 07 juin 2019 à 16:39 +0200, Marek Szyprowski a écrit : > > > > Hi Hans,

Re: [PATCH for v5.2] videobuf2-core.c: always reacquire USERPTR memory

2019-06-11 Thread Nicolas Dufresne
Le mardi 11 juin 2019 à 13:24 +0300, Laurent Pinchart a écrit : > Hi Nicolas, > > On Fri, Jun 07, 2019 at 03:38:39PM -0400, Nicolas Dufresne wrote: > > Le vendredi 07 juin 2019 à 16:58 +0300, Laurent Pinchart a écrit : > > > On Fri, Jun 07, 2019 at 03:55:05PM +0200

Re: [PATCH for v5.2] videobuf2-core.c: always reacquire USERPTR memory

2019-06-07 Thread Nicolas Dufresne
Le vendredi 07 juin 2019 à 16:39 +0200, Marek Szyprowski a écrit : > Hi Hans, > > On 2019-06-07 16:11, Hans Verkuil wrote: > > On 6/7/19 3:55 PM, Marek Szyprowski wrote: > > > On 2019-06-07 15:40, Hans Verkuil wrote: > > > > On 6/7/19 2:47 PM, Hans Verkuil wrote: > > > > > On 6/7/19 2:23 PM, Hans

Re: [PATCH for v5.2] videobuf2-core.c: always reacquire USERPTR memory

2019-06-07 Thread Nicolas Dufresne
Le vendredi 07 juin 2019 à 16:58 +0300, Laurent Pinchart a écrit : > Hi Marek, > > On Fri, Jun 07, 2019 at 03:55:05PM +0200, Marek Szyprowski wrote: > > On 2019-06-07 15:40, Hans Verkuil wrote: > > > On 6/7/19 2:47 PM, Hans Verkuil wrote: > > > > On 6/7/19 2:23 PM, Hans Verkuil wrote: > > > > > On

Re: [PATCH] media: v4l2: Fix the _MPLANE format check in v4l_enum_fmt()

2019-06-06 Thread Nicolas Dufresne
Le jeudi 06 juin 2019 à 08:51 +0200, Boris Brezillon a écrit : > On Thu, 6 Jun 2019 12:53:57 +0900 > Tomasz Figa wrote: > > > On Thu, Jun 6, 2019 at 1:46 AM Boris Brezillon > > wrote: > > > CAP_M2M_MPLANE means the device supports _MPLANE formats for both > > > capture and output. Adjust the che

Re: [PATCH RFC 5/6] media: cedrus: Make the slice_params array size limitation more explicit

2019-06-04 Thread Nicolas Dufresne
Le mardi 04 juin 2019 à 10:12 +0200, Thierry Reding a écrit : > On Mon, Jun 03, 2019 at 07:55:48PM -0400, Nicolas Dufresne wrote: > > Le lundi 03 juin 2019 à 23:48 +0200, Jernej Škrabec a écrit : > > > Dne ponedeljek, 03. junij 2019 ob 13:09:45 CEST je Boris Brezillo

Re: [PATCH RFC 5/6] media: cedrus: Make the slice_params array size limitation more explicit

2019-06-03 Thread Nicolas Dufresne
Le lundi 03 juin 2019 à 23:48 +0200, Jernej Škrabec a écrit : > Dne ponedeljek, 03. junij 2019 ob 13:09:45 CEST je Boris Brezillon napisal(a): > > The driver only supports per-slice decoding, and in that mode > > decode_params->num_slices must be set to 1 and the slice_params array > > should conta

Re: [PATCH v3 09/10] media: hantro: add initial i.MX8MM support (untested)

2019-06-03 Thread Nicolas Dufresne
Le lundi 03 juin 2019 à 14:59 -0400, Nicolas Dufresne a écrit : > Le lundi 03 juin 2019 à 14:54 +0200, Hans Verkuil a écrit : > > On 5/31/19 10:55 AM, Philipp Zabel wrote: > > > This should enable MPEG-2 decoding on the Hantro G1 and JPEG encoding on > > > the Hantro H1

Re: [PATCH v3 09/10] media: hantro: add initial i.MX8MM support (untested)

2019-06-03 Thread Nicolas Dufresne
Le lundi 03 juin 2019 à 14:54 +0200, Hans Verkuil a écrit : > On 5/31/19 10:55 AM, Philipp Zabel wrote: > > This should enable MPEG-2 decoding on the Hantro G1 and JPEG encoding on > > the Hantro H1 on i.MX8MM. > > That's the i.MX8M Mini, right? I think that's the official name for this > SoC. >

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-06-03 Thread Nicolas Dufresne
Le lundi 03 juin 2019 à 13:24 +0200, Thierry Reding a écrit : > On Wed, May 15, 2019 at 12:09:45PM +0200, Paul Kocialkowski wrote: > > Hi, > > > > With the Rockchip stateless VPU driver in the works, we now have a > > better idea of what the situation is like on platforms other than > > Allwinner.

Re: [ANN] Patchwork version upgrade

2019-05-31 Thread Nicolas Dufresne
Le vendredi 31 mai 2019 à 12:40 -0300, Mauro Carvalho Chehab a écrit : > Hi all, > > For a long time, we were running an old Patchwork version. The thing is that > we had applied some patches on the top of it, and the upgrade was not > trivial. > > Today, we upgraded it to its latest stable versi

Re: [ANN] Patchwork version upgrade

2019-05-31 Thread Nicolas Dufresne
Hi, Le vendredi 31 mai 2019 à 12:40 -0300, Mauro Carvalho Chehab a écrit : > Hi all, > > For a long time, we were running an old Patchwork version. The thing is that > we had applied some patches on the top of it, and the upgrade was not > trivial. > > Today, we upgraded it to its latest stable

Re: [v8] media: imx: add mem2mem device

2019-05-31 Thread Nicolas Dufresne
Le vendredi 31 mai 2019 à 12:07 -0400, Sven Van Asbroeck a écrit : > Hello Nicholas, thank you so much for investigating. > > On Fri, May 31, 2019 at 11:34 AM Nicolas Dufresne > wrote: > > Now, if that pipeline was live, this would be a problem. > > This is where my

Re: [v8] media: imx: add mem2mem device

2019-05-31 Thread Nicolas Dufresne
Le mercredi 29 mai 2019 à 19:52 -0400, Nicolas Dufresne a écrit : > Le mercredi 29 mai 2019 à 16:55 -0400, Sven Van Asbroeck a écrit : > > Philipp and Fabio, > > > > On Wed, May 29, 2019 at 12:53 PM Fabio Estevam wrote: > > > Does this patch from Philip

Re: [v8] media: imx: add mem2mem device

2019-05-30 Thread Nicolas Dufresne
Le mercredi 29 mai 2019 à 16:55 -0400, Sven Van Asbroeck a écrit : > Philipp and Fabio, > > On Wed, May 29, 2019 at 12:53 PM Fabio Estevam wrote: > > Does this patch from Philipp fix the problem? > > https://git.pengutronix.de/cgit/pza/linux/commit/?h=imx-drm/fixes&id=137caa702f2308f7ef03876e164b

Re: [v8] media: imx: add mem2mem device

2019-05-29 Thread Nicolas Dufresne
Le mercredi 29 mai 2019 à 16:55 -0400, Sven Van Asbroeck a écrit : > Philipp and Fabio, > > On Wed, May 29, 2019 at 12:53 PM Fabio Estevam wrote: > > Does this patch from Philipp fix the problem? > > https://git.pengutronix.de/cgit/pza/linux/commit/?h=imx-drm/fixes&id=137caa702f2308f7ef03876e164b

Re: [v8] media: imx: add mem2mem device

2019-05-29 Thread Nicolas Dufresne
Le mercredi 29 mai 2019 à 19:19 -0300, Fabio Estevam a écrit : > Hi Sven, > > On Wed, May 29, 2019 at 5:55 PM Sven Van Asbroeck wrote: > > > I am now running 5.2-rc2 with Philipp's non-plus imx6q patch. > > > > Performance is still much worse than the Freescale baseline. > > > > I am not at al

Re: [PATCH v6 03/16] media: v4l2-common: Support custom imagesize in fill_pixfmt()

2019-05-29 Thread Nicolas Dufresne
Hi Mauro, Le mercredi 29 mai 2019 à 08:28 -0300, Mauro Carvalho Chehab a écrit : > Em Tue, 28 May 2019 14:02:19 -0300 > Ezequiel Garcia escreveu: > > > From: Boris Brezillon > > > > Users can define custom sizeimage as long as they're big enough to > > store the amount of pixels required for a

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 12:08 +0200, Thierry Reding a écrit : > > 3. Does the HW do support single interrupt per frame (RK3288 as an > > example does not, but RK3399 do) > > Yeah, we definitely do get a single interrupt at the end of a frame, or > when an error occurs. Looking a bit at the re

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 13:39 +0200, Thierry Reding a écrit : > On Wed, May 22, 2019 at 11:29:13AM +0200, Paul Kocialkowski wrote: > > Le mercredi 22 mai 2019 à 10:32 +0200, Thierry Reding a écrit : > > > On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > > > > On Wed, 22 May 2019

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 11:29 +0200, Paul Kocialkowski a écrit : > Le mercredi 22 mai 2019 à 10:32 +0200, Thierry Reding a écrit : > > On Wed, May 22, 2019 at 09:29:24AM +0200, Boris Brezillon wrote: > > > On Wed, 22 May 2019 15:39:37 +0900 > > > Tomasz Figa wrote: > > > > > > > > It would be p

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
Le mercredi 22 mai 2019 à 10:20 +0200, Boris Brezillon a écrit : > On Wed, 22 May 2019 09:29:24 +0200 > Boris Brezillon wrote: > > > On Wed, 22 May 2019 15:39:37 +0900 > > Tomasz Figa wrote: > > > > > > It would be premature to state that we are excluding. We are just > > > > trying to find one

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-22 Thread Nicolas Dufresne
t; wrote: > > > > Hi, > > > > > > > > Le mercredi 15 mai 2019 à 10:42 -0400, Nicolas Dufresne a écrit : > > > > > Le mercredi 15 mai 2019 à 12:09 +0200, Paul Kocialkowski a écrit : > > > > > > Hi, > > > > > > >

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-21 Thread Nicolas Dufresne
Le mardi 21 mai 2019 à 17:43 +0200, Thierry Reding a écrit : > On Wed, May 15, 2019 at 07:42:50PM +0200, Paul Kocialkowski wrote: > > Hi, > > > > Le mercredi 15 mai 2019 à 10:42 -0400, Nicolas Dufresne a écrit : > > > Le mercredi 15 mai 2019 à 12:09 +0200, Paul Koc

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-21 Thread Nicolas Dufresne
owski > > > wrote: > > > > Hi, > > > > > > > > Le mercredi 15 mai 2019 à 10:42 -0400, Nicolas Dufresne a écrit : > > > > > Le mercredi 15 mai 2019 à 12:09 +0200, Paul Kocialkowski a écrit : > > > > > > Hi, > > > > > >

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-18 Thread Nicolas Dufresne
Le samedi 18 mai 2019 à 12:29 +0200, Paul Kocialkowski a écrit : > Hi, > > Le samedi 18 mai 2019 à 12:04 +0200, Jernej Škrabec a écrit : > > Dne sobota, 18. maj 2019 ob 11:50:37 CEST je Paul Kocialkowski napisal(a): > > > Hi, > > > > > > On Fri, 2019-05

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-17 Thread Nicolas Dufresne
Le jeudi 16 mai 2019 à 20:45 +0200, Paul Kocialkowski a écrit : > Hi, > > Le jeudi 16 mai 2019 à 14:24 -0400, Nicolas Dufresne a écrit : > > Le mercredi 15 mai 2019 à 22:59 +0200, Paul Kocialkowski a écrit : > > > Hi, > > > > > > Le mercredi 15 mai 20

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-16 Thread Nicolas Dufresne
Le mercredi 15 mai 2019 à 22:59 +0200, Paul Kocialkowski a écrit : > Hi, > > Le mercredi 15 mai 2019 à 14:54 -0400, Nicolas Dufresne a écrit : > > Le mercredi 15 mai 2019 à 19:42 +0200, Paul Kocialkowski a écrit : > > > Hi, > > > > > > Le mercredi 15

Re: [RFC] media: uapi: Add VP8 low-level decoder API compound controls.

2019-05-16 Thread Nicolas Dufresne
Le mercredi 13 février 2019 à 18:15 -0300, Ezequiel Garcia a écrit : > From: Pawel Osciak > > These controls are to be used with the new low-level decoder API for VP8 > to provide additional parameters for the hardware that cannot parse the > input stream. > > Signed-off-by: Pawel Osciak > [eze

Re: [RFC] media: uapi: Add VP8 low-level decoder API compound controls.

2019-05-16 Thread Nicolas Dufresne
Le lundi 25 février 2019 à 14:34 +0900, Tomasz Figa a écrit : > On Fri, Feb 15, 2019 at 9:06 AM Ezequiel Garcia > wrote: > > On Wed, 2019-02-13 at 21:35 -0500, Nicolas Dufresne wrote: > > > Le mer. 13 févr. 2019 à 16:23, Ezequiel Garcia > > > a écrit : > > &

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-15 Thread Nicolas Dufresne
Le mercredi 15 mai 2019 à 19:42 +0200, Paul Kocialkowski a écrit : > Hi, > > Le mercredi 15 mai 2019 à 10:42 -0400, Nicolas Dufresne a écrit : > > Le mercredi 15 mai 2019 à 12:09 +0200, Paul Kocialkowski a écrit : > > > Hi, > > > > > > With the Rockchip

Re: Proposed updates and guidelines for MPEG-2, H.264 and H.265 stateless support

2019-05-15 Thread Nicolas Dufresne
Le mercredi 15 mai 2019 à 12:09 +0200, Paul Kocialkowski a écrit : > Hi, > > With the Rockchip stateless VPU driver in the works, we now have a > better idea of what the situation is like on platforms other than > Allwinner. This email shares my conclusions about the situation and how > we should

Re: [RFC PATCH] vb2: add V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF

2019-05-13 Thread Nicolas Dufresne
Le lundi 13 mai 2019 à 11:36 +0200, Hans Verkuil a écrit : > On 4/30/19 10:31 AM, Hans Verkuil wrote: > > This RFC patch adds support for the V4L2_BUF_FLAG_M2M_HOLD_CAPTURE_BUF flag. > > It also adds a new V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF capability and > > a v4l2_m2m_release_capture_buf(

Re: [PATCH v5 03/15] media: v4l2-common: Support custom imagesize/bytesperline in fill_pixfmt()

2019-05-10 Thread Nicolas Dufresne
Le vendredi 10 mai 2019 à 16:07 +0200, Hans Verkuil a écrit : > On 5/10/19 3:51 PM, Nicolas Dufresne wrote: > > Le vendredi 10 mai 2019 à 14:30 +0200, Hans Verkuil a écrit : > > > On 5/10/19 2:24 PM, Laurent Pinchart wrote: > > > > Hi Hans, > > > > > &

Re: [PATCH v5 03/15] media: v4l2-common: Support custom imagesize/bytesperline in fill_pixfmt()

2019-05-10 Thread Nicolas Dufresne
Le vendredi 10 mai 2019 à 14:30 +0200, Hans Verkuil a écrit : > On 5/10/19 2:24 PM, Laurent Pinchart wrote: > > Hi Hans, > > > > On Fri, May 10, 2019 at 02:17:32PM +0200, Hans Verkuil wrote: > > > On 5/10/19 1:28 PM, Laurent Pinchart wrote: > > > > On Fri, May 10, 2019 at 10:57:26AM +0200, Hans Ve

Re: [PATCH v3 1/9] staging: video: rockchip: add v4l2 decoder

2019-04-11 Thread Nicolas Dufresne
Le jeudi 11 avril 2019 à 09:29 +0800, Randy Li a écrit : > > We agreed with Maxime and Ezequiel that there will be two distinct > > format, V4L2_PIX_FMT_H264_SLICE_RAW and V4L2_PIX_FMT_H264_SLICE_ANNEXB. > > And user-pace will take care of providing the right information. > > I have no idea on wha

Re: [PATCH 07/10] media: coda: limit frame interval enumeration to supported frame sizes

2019-04-11 Thread Nicolas Dufresne
Le jeudi 11 avril 2019 à 14:00 +0200, Philipp Zabel a écrit : > On Thu, 2019-04-11 at 12:18 +0200, Hans Verkuil wrote: > > On 4/11/19 10:22 AM, Philipp Zabel wrote: > > > On Wed, 2019-04-10 at 18:24 +0200, Hans Verkuil wrote: > > > > On 4/10/19 6:11 PM, Nicola

Re: [PATCH 07/10] media: coda: limit frame interval enumeration to supported frame sizes

2019-04-10 Thread Nicolas Dufresne
Le mercredi 10 avril 2019 à 16:22 +0200, Philipp Zabel a écrit : > On Wed, 2019-04-10 at 15:43 +0200, Hans Verkuil wrote: > [...] > > > @@ -1126,12 +1127,32 @@ static int coda_enum_frameintervals(struct file > > > *file, void *fh, > [...] > > Why support VIDIOC_ENUM_FRAMEINTERVALS at all? It makes

Re: [PATCH v3 0/9] [WIP]: rockchip mpp for v4l2 video deocder

2019-04-10 Thread Nicolas Dufresne
Le mercredi 10 avril 2019 à 20:42 +0800, ayaka a écrit : > From: Randy 'ayaka' Li > > Although I really hate the bitstream construction in kernel and I think > many people realise its problems, I still take the advise from ndufresne to > release this version. This should be released in a early we

Re: [PATCH v3 2/2] media: Introduce helpers to fill pixel format structs

2019-04-01 Thread Nicolas Dufresne
Le lundi 01 avril 2019 à 13:23 -0300, Ezequiel Garcia a écrit : > On Thu, 2019-03-28 at 21:05 +0100, Jacopo Mondi wrote: > > Hi Ezequiel, > >this is very nice, thank you! > > > > Hi Jacopo, > > > On Thu, Mar 28, 2019 at 03:07:04PM -0300, Ezequiel Garcia wrote: > > > Add two new API helpers,

Re: [PATCH v4 0/3] Add ZynqMP VCU/Allegro DVT H.264 encoder driver

2019-03-27 Thread Nicolas Dufresne
Le mercredi 27 mars 2019 à 14:04 +0100, Hans Verkuil a écrit : > On 3/1/19 4:27 PM, Michael Tretter wrote: > > This is v4 of the series to add support for the Allegro DVT H.264 encoder > > found in the EV family of the Xilinx ZynqMP platform. > > > > The most prominent change is the added document

Re: [RFC PATCH 3/3] media: v4l2: Add extended buffer operations

2019-03-20 Thread Nicolas Dufresne
Le mardi 19 mars 2019 à 15:52 +0100, Boris Brezillon a écrit : > From: Hans Verkuil > > Those extended buffer ops have several purpose: > 1/ Fix y2038 issues by converting the timestamp into an u64 counting >the number of ns elapsed since 1970 > 2/ Unify single/multiplanar handling > 3/ Add a

Re: [RFC PATCH 2/3] media: v4l2: Extend pixel formats to unify single/multi-planar handling (and more)

2019-03-19 Thread Nicolas Dufresne
Le mardi 19 mars 2019 à 15:52 +0100, Boris Brezillon a écrit : > +/** > + * struct v4l2_plane_ext_pix_format - additional, per-plane format definition > + * @modifier: modifier applied to the format (used for tiled formats > + * and other kind of HW-specific formats, li

Re: [RFP] Which V4L2 ioctls could be replaced by better versions?

2019-03-17 Thread Nicolas Dufresne
Le dimanche 17 mars 2019 à 18:10 +0200, Laurent Pinchart a écrit : > > 3) For CAPTURE buffers, it's actually defined as set-by-driver > > (https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/buffer.html#struct-v4l2-plane), > > so anything userspace sets there is bound to be ignored. I'm not sure >

Re: [RFP] Which V4L2 ioctls could be replaced by better versions?

2019-03-17 Thread Nicolas Dufresne
Le dimanche 17 mars 2019 à 18:10 +0200, Laurent Pinchart a écrit : > Hi Tomasz, > > On Fri, Mar 15, 2019 at 01:18:17PM +0900, Tomasz Figa wrote: > > On Fri, Oct 26, 2018 at 10:42 PM Laurent Pinchart wrote: > > > On Friday, 26 October 2018 14:41:26 EEST Tomasz Figa wrote: > > > > On Thu, Sep 20, 20

Re: [PATCH v2 0/6] [WIP]: rockchip mpp for v4l2 video deocder

2019-03-07 Thread Nicolas Dufresne
Le jeudi 07 mars 2019 à 18:03 +0800, Randy Li a écrit : > Although I really want to push those work after I added more codec > supports, but I found it is more urge to do those in v4l2 core framework and > userspace. > > I would use this driver to present the current problems, write down a > summa

Re: [PATCH v2] media: vim2m: better handle cap/out buffers with different sizes

2019-03-01 Thread Nicolas Dufresne
Le vendredi 01 mars 2019 à 11:19 +0100, Hans Verkuil a écrit : > > $ gst-launch-1.0 videotestsrc num-buffers=120 ! > > video/x-raw,format=RGB,width=322,height=200 ! v4l2video0convert > > disable-passthrough=1 ! video/x-raw,width=428,height=400 ! videoconvert ! > > xvimagesink > > But you explic

Re: media: rockchip: the memory layout of multiplanes buffer for DMA address

2019-02-28 Thread Nicolas Dufresne
Le jeudi 28 février 2019 à 09:12 +0800, Ayaka a écrit : > > On Feb 28, 2019, at 5:07 AM, Nicolas Dufresne wrote: > > > > Hi Ayaka, > > > > > Le mercredi 27 février 2019 à 23:13 +0800, Ayaka a écrit : > > > Last time in FOSDEM, kwiboo and I talk

Re: media: rockchip: the memory layout of multiplanes buffer for DMA address

2019-02-27 Thread Nicolas Dufresne
Hi Ayaka, Le mercredi 27 février 2019 à 23:13 +0800, Ayaka a écrit : > Last time in FOSDEM, kwiboo and I talk some problems of the request > API and stateless decoder, I say the a method to describe a buffer > with many offsets as the buffer meta data would solve the most of > problems we talked,

Re: [PATCH v4 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2019-02-27 Thread Nicolas Dufresne
Le mercredi 27 février 2019 à 11:01 +0100, Maxime Ripard a écrit : > > Also regarding the pixel formats. I still think we should have two > > pixel formats: V4L2_PIX_FMT_H264_SLICE_RAW and > > V4L2_PIX_FMT_H264_SLICE_ANNEX_B, to properly represent "raw" NALUs > > and "annex B" formatted NALUs. > >

Re: v4l2 mem2mem compose support?

2019-02-16 Thread Nicolas Dufresne
Le sam. 16 févr. 2019 à 13:40, Hans Verkuil a écrit : > > On 2/16/19 4:42 PM, Nicolas Dufresne wrote: > > Le sam. 16 févr. 2019 à 04:48, Hans Verkuil a écrit : > >> > >> On 2/16/19 10:42 AM, Hans Verkuil wrote: > >>> On 2/16/19 1:16 AM, Tim Harvey wrot

Re: v4l2 mem2mem compose support?

2019-02-16 Thread Nicolas Dufresne
Le sam. 16 févr. 2019 à 04:48, Hans Verkuil a écrit : > > On 2/16/19 10:42 AM, Hans Verkuil wrote: > > On 2/16/19 1:16 AM, Tim Harvey wrote: > >> Greetings, > >> > >> What is needed to be able to take advantage of hardware video > >> composing capabilities and make them available in something like

Re: v4l2 mem2mem compose support?

2019-02-16 Thread Nicolas Dufresne
Sending back in text mode so that people on the kernel mailing list can read, they have a spam filter that hides anything that may have an HTML tag in it. Le ven. 15 févr. 2019 à 21:42, Nicolas Dufresne a écrit : > > > > Le ven. 15 févr. 2019 19 h 16, Tim Harvey a écrit : >

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-15 Thread Nicolas Dufresne
Le vendredi 15 février 2019 à 14:44 +0100, Hans Verkuil a écrit : > Hi Stanimir, > > I never paid much attention to this patch series since others were busy > discussing it and I had a lot of other things on my plate, but then I heard > that this patch made G_FMT blocking. > > That's a no-go. App

Re: [PATCH v7] media: imx: add mem2mem device

2019-02-15 Thread Nicolas Dufresne
Le vendredi 15 février 2019 à 12:10 +0100, Philipp Zabel a écrit : > > I'm also not sure how to specify hflip/vflip... I don't think > > extra-controls parses 'hflip', 'vflip' as ipu_csc_scaler_s_ctrl gets > > called with V4L2_CID_HFLIP/V4L2_CID_VFLIP but ctrl->val is always 0. > > You can use v4l

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-02-14 Thread Nicolas Dufresne
Le jeudi 14 février 2019 à 11:43 +0900, Tomasz Figa a écrit : > > > > No, I exactly meant the OUTPUT queue. The behavior of s5p-mfc in case > > > > of the format not being detected yet is to waits for any pending > > > > bitstream buffers to be processed by the decoder before returning an > > > > e

Re: [RFC] media: uapi: Add VP8 low-level decoder API compound controls.

2019-02-13 Thread Nicolas Dufresne
Le mer. 13 févr. 2019 à 16:23, Ezequiel Garcia a écrit : > > Hi, > > On Wed, 2019-02-13 at 18:15 -0300, Ezequiel Garcia wrote: > > From: Pawel Osciak > > > > These controls are to be used with the new low-level decoder API for VP8 > > to provide additional parameters for the hardware that cannot

Re: [PATCH v7] media: imx: add mem2mem device

2019-02-13 Thread Nicolas Dufresne
Le mardi 12 février 2019 à 11:01 -0800, Tim Harvey a écrit : > On Thu, Jan 17, 2019 at 7:50 AM Philipp Zabel wrote: > > Add a single imx-media mem2mem video device that uses the IPU IC PP > > (image converter post processing) task for scaling and colorspace > > conversion. > > On i.MX6Q/DL SoCs wi

Re: [PATCH v3 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2019-02-11 Thread Nicolas Dufresne
Le lundi 11 février 2019 à 16:16 +0100, Hans Verkuil a écrit : > Hi Maxime, > > A quick review below. Note that I am no expert on the codec details, so > I leave that to others. I'm mainly concentrating on the structs, flags, etc. > > On 2/11/19 3:39 PM, Maxime Ripard wrote: > > From: Pawel Oscia

Re: [PATCH] media: v4l2-tpg: Fix the memory layout of AYUV buffers

2019-02-06 Thread Nicolas Dufresne
Le mardi 05 février 2019 à 15:38 +0100, Philipp Zabel a écrit : > Hi Hans, > > On Thu, 2019-01-31 at 14:36 +0100, Hans Verkuil wrote: > [...] > > Our YUV32 fourcc is defined as follows: > > > > https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-packed-yuv.html > > > > As far as I see the forma

Re: [PATCH] media: videobuf2: Return error after allocation failure

2019-02-03 Thread Nicolas Dufresne
Le dimanche 03 février 2019 à 19:06 +0530, Souptick Joarder a écrit : > There is no point to continuing assignemnt after memory allocation assignemnt -> assignment. > failed, rather throw error immediately. > > Signed-off-by: Souptick Joarder > --- > drivers/media/common/videobuf2/videobuf2-vm

Re: [PATCH] vb2: clear timestamp if buffer mem is reacquired

2019-02-02 Thread Nicolas Dufresne
Le samedi 02 février 2019 à 18:03 +0100, Hans Verkuil a écrit : > Stateless codecs have to find buffers based on a timestamp > (vb2_find_timestamp). > The timestamp is set to 0 initially, so prohibit finding timestamp 0 since it > could find unused buffers without associated memory (userptr or dma

Re: Gstreamer and vim2m with bayer capture formats

2019-02-01 Thread Nicolas Dufresne
Le vendredi 01 février 2019 à 12:32 -0200, Mauro Carvalho Chehab a écrit : > Hi Nicolas, > > I just added a patch for the vim2m Kernel driver to also support bayer > formats, > but only in capture mode: > > > https://git.linuxtv.org/mchehab/experimental.git/commit/?h=vim2m&id=7fd6ccf110b7

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-31 Thread Nicolas Dufresne
Le jeudi 31 janvier 2019 à 22:34 +0900, Tomasz Figa a écrit : > On Thu, Jan 31, 2019 at 9:42 PM Philipp Zabel wrote: > > Hi Nicolas, > > > > On Wed, 2019-01-30 at 10:32 -0500, Nicolas Dufresne wrote: > > > Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Fi

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-30 Thread Nicolas Dufresne
Le mercredi 30 janvier 2019 à 15:17 +0900, Tomasz Figa a écrit : > > I don't remember saying that, maybe I meant to say there might be a > > workaround ? > > > > For the fact, here we queue the headers (or first frame): > > > > https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/master

Re: [PATCH v2 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-01-30 Thread Nicolas Dufresne
Le mercredi 30 janvier 2019 à 08:47 +0100, Hans Verkuil a écrit : > On 1/30/19 4:41 AM, Nicolas Dufresne wrote: > > Hi Hans, > > > > Le mercredi 23 janvier 2019 à 11:44 +0100, Hans Verkuil a écrit : > > > > + if (*nplanes != 0) { &

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

2019-01-30 Thread Nicolas Dufresne
Le vendredi 25 janvier 2019 à 12:59 +0900, Tomasz Figa a écrit : > On Fri, Jan 25, 2019 at 5:14 AM Nicolas Dufresne wrote: > > Le mercredi 23 janvier 2019 à 14:04 +0100, Hans Verkuil a écrit : > > > > > Does this return the same set of formats as in the 'Querying

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-29 Thread Nicolas Dufresne
Le mercredi 30 janvier 2019 à 12:38 +0900, Tomasz Figa a écrit : > > Yes, unfortunately, GStreamer still rely on G_FMT waiting a minimal > > amount of time of the headers to be processed. This was how things was > > created back in 2011, I could not program GStreamer for the future. If > > we stop

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 &g

Re: [PATCH v2 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-01-29 Thread Nicolas Dufresne
Le mercredi 23 janvier 2019 à 15:17 +0100, Michael Tretter a écrit : > > I have a patch pending that allows an encoder to spread the compressed > > output over multiple buffers: > > > > https://patchwork.linuxtv.org/patch/53536/ > > > > I wonder if this encoder would be able to use it. > > I don

Re: [PATCH v2 2/3] [media] allegro: add Allegro DVT video IP core driver

2019-01-29 Thread Nicolas Dufresne
Hi Hans, Le mercredi 23 janvier 2019 à 11:44 +0100, Hans Verkuil a écrit : > > + if (*nplanes != 0) { > > + if (vq->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) { > > + if (*nplanes != 1 || > > + sizes[0] < channel->sizeimage_encoded) > > +

Re: [PATCH v2] venus: enc: fix enum_frameintervals

2019-01-29 Thread Nicolas Dufresne
Le mardi 22 janvier 2019 à 12:53 +0200, Stanimir Varbanov a écrit : > This ixes an issue when setting the encoder framerate because of ixes -> fixes > missing precision. Now the frameinterval type is changed to > TYPE_CONTINUOUS and step = 1. Also the math is changed when > framerate property is

  1   2   3   4   >