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 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: [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: [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-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: [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-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: [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-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-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: [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: [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: [ANN] Meeting to discuss improvements to support MC-based cameras on generic apps

2018-05-17 Thread Nicolas Dufresne
Le jeudi 17 mai 2018 à 16:07 -0300, Mauro Carvalho Chehab a écrit : > Hi all, > > The goal of this e-mail is to schedule a meeting in order to discuss > improvements at the media subsystem in order to support complex > camera > hardware by usual apps. > > The main focus here is to allow supportin

Re: [ANN] Meeting to discuss improvements to support MC-based cameras on generic apps

2018-05-18 Thread Nicolas Dufresne
Le vendredi 18 mai 2018 à 11:15 +0300, Laurent Pinchart a écrit : > > I need to clarify a little bit on why we disabled libv4l2 in > > GStreamer, > > as it's not only for performance reason, there is couple of major > > issues in the libv4l2 implementation that get's in way. Just a > > short > > li

Re: [ANN] Meeting to discuss improvements to support MC-based cameras on generic apps

2018-05-18 Thread Nicolas Dufresne
Le vendredi 18 mai 2018 à 15:38 +0300, Laurent Pinchart a écrit : > > Before libv4l, media support for a given device were limited to a few > > apps that knew how to decode the format. There were even cases were a > > proprietary app were required, as no open source decoders were available. > > >

Re: [ANN] Meeting to discuss improvements to support MC-based cameras on generic apps

2018-05-18 Thread Nicolas Dufresne
Le vendredi 18 mai 2018 à 16:37 +0100, Dave Stevenson a écrit : > On 18 May 2018 at 16:05, Mauro Carvalho Chehab > wrote: > > Em Fri, 18 May 2018 15:27:24 +0300 > > > > > > > > > There, instead of an USB camera, the hardware is equipped with a > > > > MC-based ISP, connected to its camera. Curr

Re: [PATCH 3/6] media: videodev2.h: Add macro V4L2_FIELD_IS_SEQUENTIAL

2018-05-25 Thread Nicolas Dufresne
(in text this time, sorry) Le vendredi 25 mai 2018 à 16:53 -0700, Steve Longerbeam a écrit : > Add a macro that returns true if the given field type is > 'sequential', > that is, the data is transmitted, or exists in memory, as all top > field > lines followed by all bottom field lines, or vice-ve

Re: [PATCH 3/6] media: videodev2.h: Add macro V4L2_FIELD_IS_SEQUENTIAL

2018-05-25 Thread Nicolas Dufresne
Le vendredi 25 mai 2018 à 17:19 -0700, Steve Longerbeam a écrit : > > On 05/25/2018 05:10 PM, Nicolas Dufresne wrote: > > (in text this time, sorry) > > > > Le vendredi 25 mai 2018 à 16:53 -0700, Steve Longerbeam a écrit : > > > Add a macro that return

Re: [PATCH 3/6] media: videodev2.h: Add macro V4L2_FIELD_IS_SEQUENTIAL

2018-05-25 Thread Nicolas Dufresne
Le vendredi 25 mai 2018 à 21:14 -0400, Nicolas Dufresne a écrit : > Le vendredi 25 mai 2018 à 17:19 -0700, Steve Longerbeam a écrit : > > > > On 05/25/2018 05:10 PM, Nicolas Dufresne wrote: > > > (in text this time, sorry) > > > > > > Le vendredi 25

Re: Bug: media device controller node not removed when uvc device is unplugged

2018-06-07 Thread Nicolas Dufresne
Le jeudi 07 juin 2018 à 14:07 +0200, Torleiv Sundre a écrit : > Hi, > > Every time I plug in a UVC camera, a media controller node is created at > /dev/media. > > In Ubuntu 17.10, running kernel 4.13.0-43, the media controller device > node is removed when the UVC camera is unplugged. > > In U

Re: [RFC 0/2] Memory-to-memory media controller topology

2018-06-12 Thread Nicolas Dufresne
Le mardi 12 juin 2018 à 07:48 -0300, Ezequiel Garcia a écrit : > As discussed on IRC, memory-to-memory need to be modeled > properly in order to be supported by the media controller > framework, and thus to support the Request API. > > This RFC is a first draft on the memory-to-memory > media cont

Re: [RFC 0/2] Memory-to-memory media controller topology

2018-06-16 Thread Nicolas Dufresne
Le vendredi 15 juin 2018 à 17:05 -0300, Ezequiel Garcia a écrit : > > Will the end result have "device node name /dev/..." on both entity > > 1 > > and 6 ? > > No. There is just one devnode /dev/videoX, which is accepts > both CAPTURE and OUTPUT directions. My question is more ifthe dev node pat

Re: Software-only image processing for Intel "complex" cameras

2018-06-20 Thread Nicolas Dufresne
Le mercredi 20 juin 2018 à 22:38 +0200, Pavel Machek a écrit : > Hi! > > On Nokia N900, I have similar problems as Intel IPU3 hardware. > > Meeting notes say that pure software implementation is not fast > enough, but that it may be useful for debugging. It would be also > useful for me on N900,

Re: [PATCH 16/16] media: imx: add mem2mem device

2018-06-22 Thread Nicolas Dufresne
les per frame. > > Signed-off-by: Philipp Zabel Tested-by: Nicolas Dufresne > --- > drivers/staging/media/imx/Kconfig | 1 + > drivers/staging/media/imx/Makefile| 1 + > drivers/staging/media/imx/imx-media-dev.c | 11 + >

Re: Video capturing

2018-07-05 Thread Nicolas Dufresne
Le jeudi 05 juillet 2018 à 16:35 +0300, Oleh Kravchenko a écrit : > Hello Nicolas, > > On 05.07.18 15:57, Nicolas Dufresne wrote: > > > > > > Le jeu. 5 juil. 2018 05:28, Oleh Kravchenko > <mailto:o...@kaa.org.ua>> a écrit : > > > > Hel

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: 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] 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: [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] 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 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 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: [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 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: [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-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: 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: 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
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: [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: 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: 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: [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: [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: [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: [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: [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: [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: [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: [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 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 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 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 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: Webcams not recognized on a Dell Latitude 5285 laptop

2018-04-01 Thread Nicolas Dufresne
This laptop embeds one of these new "complex" cameras from Intel. They requires IPU3 driver. Though, unlike traditional webcam, you need special userspace to use it (there is no embedded firmware to manage focus, whitebalance, etc, userspace code need to read the stats and manage that). As of now,

Re: [PATCH 26/28] venus: implementing multi-stream support

2018-05-02 Thread Nicolas Dufresne
Le mercredi 02 mai 2018 à 13:10 +0530, Vikash Garodia a écrit : > Hello Stanimir, > > On 2018-04-24 18:14, Stanimir Varbanov wrote: > > This is implementing a multi-stream decoder support. The multi > > stream gives an option to use the secondary decoder output > > with different raw format (or 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: [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: [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: [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: [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: [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: 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: [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-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: [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: Multiple open and read of vivi device

2016-01-05 Thread Nicolas Dufresne
Le mardi 05 janvier 2016 à 23:18 +0200, Ran Shalit a écrit : > Does anyone knows why vivi is limited to one open ? > Is there some way to patch it for multiple opens and reading ? This is not fully exact. You can open vivid device multiple times. Though you can only have one instance streaming at

Re: gstreamer: v4l2videodec plugin

2016-04-11 Thread Nicolas Dufresne
Le lundi 11 avril 2016 à 15:11 +0300, Stanimir Varbanov a écrit : > adding gstreamer-devel > > On 04/11/2016 03:03 PM, Stanimir Varbanov wrote: > > > > Hi, > > > > I'm working on QCOM v4l2 video decoder/encoder driver and in order > > to > > test its functionalities I'm using gstreamer v4l2video

Re: gstreamer: v4l2videodec plugin

2016-04-12 Thread Nicolas Dufresne
Le mardi 12 avril 2016 à 11:57 +0300, Stanimir Varbanov a écrit : > > I'm very happy to see this report. So far, we only had report that > this > > element works on Freescale IMX.6 (CODA) and Exynos 4/5. > > In this context, I would be very happy to see v4l2videoenc merged > soon :) That will hap

Re: [PATCH 1/7] [media]: v4l: add Mediatek MT21 video block format

2016-04-13 Thread Nicolas Dufresne
Le mercredi 13 avril 2016 à 20:01 +0800, Tiffany Lin a écrit : > From: Daniel Kurtz > > Mediatek video format is YVU8_420_2PLANE_PACK8_PROGRESSIVE. > > Create V4L2_PIX_FMT_MT21 and DRM_FORMAT_MT21 to be consistent with > V4L2_PIX_FMT_NV12 notation. > > Signed-off-by: Tiffany Lin > --- >  inclu

Re: [PATCH] uvc: Fix bytesperline calculation for planar YUV

2016-04-13 Thread Nicolas Dufresne
Le mercredi 13 avril 2016 à 17:36 +0300, Laurent Pinchart a écrit : > Hi Nicolas, > > Thank you for the patch. > > On Thursday 07 Jan 2016 15:43:48 Nicolas Dufresne wrote: > > > > The formula used to calculate bytesperline only works for packed > > format.

Re: gstreamer: v4l2videodec plugin

2016-04-15 Thread Nicolas Dufresne
Le vendredi 15 avril 2016 à 11:58 -0400, Rob Clark a écrit : > The issue is probably the YUV format, which we cannot really deal > with > properly in gallium..  it's a similar issue to multi-planer even if > it > is in a single buffer. > > The best way to handle this would be to import the same dm

Re: [PATCH 3/7] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Decoder Driver

2016-04-18 Thread Nicolas Dufresne
Le lundi 18 avril 2016 à 16:22 +0800, tiffany lin a écrit : > > > We are plaining to remove m2m framework in th feature, although > we think > >  > > Remove it for just the decoder driver or both encoder and decoder? > >  > Remove it from decoder driver. Did you look at how CODA handle it (drivers

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-06-09 Thread Nicolas Dufresne
Le lundi 03 avril 2017 à 15:46 -0400, Javier Martinez Canillas a écrit : > > The problem is that adding implicit fences changed the behavior of > > the ioctls, causing gstreamer to wait forever for buffers to be ready. > > > > The problem was related to trying to make user-space unaware of the im

Re: [PATCH 08/12] [media] vb2: add 'ordered' property to queues

2017-06-16 Thread Nicolas Dufresne
Le vendredi 16 juin 2017 à 16:39 +0900, Gustavo Padovan a écrit : > > From: Gustavo Padovan > > For explicit synchronization (and soon for HAL3/Request API) we need > the v4l2-driver to guarantee the ordering which the buffer were queued > by userspace. This is already true for many drivers, but

Re: [PATCH 1/5] [media] rockchip/rga: v4l2 m2m support

2017-06-26 Thread Nicolas Dufresne
Le lundi 26 juin 2017 à 22:51 +0800, Jacob Chen a écrit : > Rockchip RGA is a separate 2D raster graphic acceleration unit. It > accelerates 2D graphics operations, such as point/line drawing, image > scaling, rotation, BitBLT, alpha blending and image blur/sharpness. > > The drvier is mostly base

Re: [PATCH 1/5] [media] rockchip/rga: v4l2 m2m support

2017-06-27 Thread Nicolas Dufresne
Le mardi 27 juin 2017 à 23:11 +0800, Jacob Chen a écrit : > Hi Nicolas. > > 2017-06-26 23:49 GMT+08:00 Nicolas Dufresne : > > > > Le lundi 26 juin 2017 à 22:51 +0800, Jacob Chen a écrit : > > > Rockchip RGA is a separate 2D raster graphic acceleration unit. > >

Re: [PATCH v6 1/3] [media] v4l: add parsed MPEG-2 support

2017-07-07 Thread Nicolas Dufresne
Le samedi 08 juillet 2017 à 01:29 +0800, ayaka a écrit : > > On 07/04/2017 05:29 PM, Hugues FRUCHET wrote: > > Hi Randy, > > Thanks for review, and sorry for late reply, answers inline. > > BR, > > Hugues. > > > > On 06/11/2017 01:41 PM, ayaka wrote: > > > > > > On 04/28/2017 09:25 PM, Hugues Fr

Re: [PATCH v6 1/3] [media] v4l: add parsed MPEG-2 support

2017-07-08 Thread Nicolas Dufresne
Le samedi 08 juillet 2017 à 13:16 +0800, ayaka a écrit : > > On 07/08/2017 02:33 AM, Nicolas Dufresne wrote: > > Le samedi 08 juillet 2017 à 01:29 +0800, ayaka a écrit : > > > On 07/04/2017 05:29 PM, Hugues FRUCHET wrote: > > > > Hi Randy, > > > >

Re: [PATCH v3 3/9] uapi: media: New fourcc codes needed by Xilinx Video IP

2018-02-16 Thread Nicolas Dufresne
Le mercredi 14 février 2018 à 22:42 -0800, Satish Kumar Nagireddy a écrit : > From: Jeffrey Mouroux > > The Xilinx Video Framebuffer DMA IP supports video memory formats > that are not represented in the current V4L2 fourcc library. This > patch adds those missing fourcc codes. This includes both

Re: [PATCH v2 0/3] Initial driver support for Xilinx M2M Video Scaler

2018-02-22 Thread Nicolas Dufresne
Le mercredi 21 février 2018 à 14:43 -0800, Rohit Athavale a écrit : > This patch series has three commits : > - Driver support for the Xilinx M2M Video Scaler IP > - TODO document > - DT binding doc > > Changes in HW register map is expected as the IP undergoes changes. > This is a first attemp

Re: [Patch v8 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-02-27 Thread Nicolas Dufresne
Le vendredi 02 février 2018 à 17:55 +0530, Smitha T Murthy a écrit : > Added V4l2 controls for HEVC encoder > > Signed-off-by: Smitha T Murthy > --- > Documentation/media/uapi/v4l/extended-controls.rst | 410 > + > 1 file changed, 410 insertions(+) > > diff --git a/Documenta

Re: [Patch v8 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-02-27 Thread Nicolas Dufresne
Le vendredi 02 février 2018 à 17:55 +0530, Smitha T Murthy a écrit : > Added V4l2 controls for HEVC encoder > > Signed-off-by: Smitha T Murthy > --- > Documentation/media/uapi/v4l/extended-controls.rst | 410 > + > 1 file changed, 410 insertions(+) > > diff --git a/Documenta

Re: [PATCH v8 07/13] [media] vb2: mark codec drivers as unordered

2018-03-09 Thread Nicolas Dufresne
Le vendredi 09 mars 2018 à 14:49 -0300, Gustavo Padovan a écrit : > From: Gustavo Padovan > > In preparation to have full support to explicit fence we are > marking codec as non-ordered preventively. It is easier and safer from an The usage of "codec" is soso > uAPI point of view to move f

Re: [PATCH] media: vb2: unify calling of set_page_dirty_lock

2018-03-13 Thread Nicolas Dufresne
Le mercredi 18 octobre 2017 à 11:34 +0300, Stanimir Varbanov a écrit : > > On 10/17/2017 05:19 PM, Nicolas Dufresne wrote: > > Le mardi 17 octobre 2017 à 13:14 +0300, Sakari Ailus a écrit : > > > On Sun, Oct 15, 2017 at 07:09:24PM -0400, Nicolas Dufresne wrote: > > >

Re: [PATCH] media: vb2: unify calling of set_page_dirty_lock

2018-03-13 Thread Nicolas Dufresne
Le mardi 13 mars 2018 à 20:44 -0400, Nicolas Dufresne a écrit : > Le mercredi 18 octobre 2017 à 11:34 +0300, Stanimir Varbanov a écrit > : > > > > On 10/17/2017 05:19 PM, Nicolas Dufresne wrote: > > > Le mardi 17 octobre 2017 à 13:14 +0300, Sakari Ailus a écrit : >

Re: [PATCH] media: vb2: unify calling of set_page_dirty_lock

2018-03-13 Thread Nicolas Dufresne
Le mardi 13 mars 2018 à 21:09 -0400, Nicolas Dufresne a écrit : > > I've looked into this again. I have hit the same issue but with CPU > > to > > DRM, using DMABuf allocated from DRM Dumb buffers. In that case, > > using > > DMA_BUF_IOCTL_SYNC fixes the is

Re: [PATCH v2 1/3] staging: xm2mvscale: Driver support for Xilinx M2M Video Scaler

2018-03-19 Thread Nicolas Dufresne
Le mardi 20 mars 2018 à 00:46 +, Rohit Athavale a écrit : > Hi Hans, > > Thanks for taking the time to take a look at this. > > > This should definitely use the V4L2 API. I guess it could be added > > to staging/media with a big fat TODO that this should be converted > > to > > the V4L2 mem2m

Re: uvcvideo: Unknown video format,00000032-0002-0010-8000-00aa00389b71

2018-03-20 Thread Nicolas Dufresne
Le mardi 20 mars 2018 à 13:20 +0100, Paul Menzel a écrit : > Dear Linux folks, > > > On the Dell XPS 13 9370, Linux 4.16-rc6 outputs the messages below. > > ``` > [2.338094] calling uvc_init+0x0/0x1000 [uvcvideo] @ 295 > [2.338569] calling iTCO_wdt_init_module+0x0/0x1000 [iTCO_wdt] @ 2

Re: uvcvideo: Unknown video format,00000032-0002-0010-8000-00aa00389b71

2018-03-20 Thread Nicolas Dufresne
Le mardi 20 mars 2018 à 20:04 +0200, Laurent Pinchart a écrit : > Hi Nicolas, > > On Tuesday, 20 March 2018 19:45:51 EET Nicolas Dufresne wrote: > > Le mardi 20 mars 2018 à 13:20 +0100, Paul Menzel a écrit : > > > Dear Linux folks, > > > > > > >

Re: uvcvideo: Unknown video format,00000032-0002-0010-8000-00aa00389b71

2018-03-21 Thread Nicolas Dufresne
Le mercredi 21 mars 2018 à 10:55 +0200, Laurent Pinchart a écrit : > Hi Nicolas, > > On Wednesday, 21 March 2018 05:38:59 EET Nicolas Dufresne wrote: > > Le mardi 20 mars 2018 à 20:04 +0200, Laurent Pinchart a écrit : > > > On Tuesday, 20 March 2018 19:45:51 EET Nicolas Du

Re: [RFC] Request API

2018-03-22 Thread Nicolas Dufresne
Le jeudi 22 mars 2018 à 15:18 +0100, Hans Verkuil a écrit : > RFC Request API > --- > > This document proposes the public API for handling requests. > > There has been some confusion about how to do this, so this summarizes the > current approach based on conversations with the variou

Re: [RFC] Request API

2018-03-22 Thread Nicolas Dufresne
Le jeudi 22 mars 2018 à 18:22 +0100, Hans Verkuil a écrit : > On 03/22/2018 05:36 PM, Nicolas Dufresne wrote: > > Le jeudi 22 mars 2018 à 15:18 +0100, Hans Verkuil a écrit : > > > RFC Request API > > > --- > > > > > > This document

Re: Request API: stateless VPU: the buffer mechanism and DPB management

2017-01-17 Thread Nicolas Dufresne
Le mardi 17 janvier 2017 à 20:46 +0800, herman.c...@rock-chips.com a écrit : > If we move parser or part of DPB management mechanism into kernel we > will face a issue as follows: > One customer requires dpb management do a flush when stream occurs in > order to keep output frame clean. > While ano

Re: rtl2832_sdr and /dev/swradio0

2017-01-31 Thread Nicolas Dufresne
Le mardi 31 janvier 2017 à 17:50 +, Russel Winder a écrit : > Hi, > > Is anyone actively working on the rtl2832_sdr driver? > > I am particularly interested in anyone who has code for turning the > byte stream from /dev/swradio0 into an ETI stream. Or failing that > getting enough data about

Re: [PATCH v3 1/3] [media] v4l: add parsed MPEG-2 support

2017-02-09 Thread Nicolas Dufresne
Le jeudi 09 février 2017 à 18:07 +0100, Hugues Fruchet a écrit : > Add "parsed MPEG-2" pixel format & related controls > needed by stateless video decoders. > In order to decode the video bitstream chunk provided > by user on output queue, stateless decoders require > also some extra data resulting

Re: [PATCH] media: fix s5p_mfc_set_dec_frame_buffer_v6() to print buf size in hex

2017-02-09 Thread Nicolas Dufresne
Le jeudi 09 février 2017 à 15:10 -0700, Shuah Khan a écrit : > Fix s5p_mfc_set_dec_frame_buffer_v6() to print buffer size in hex to > be > consistent with the rest of the messages in the routine. Short and long descriptions are miss-leading. This patch will print the buffer pointer as hex and keep

Re: [PATCH 00/15] Exynos MFC v6+ - remove the need for the reserved memory

2017-02-16 Thread Nicolas Dufresne
Le mardi 14 février 2017 à 08:51 +0100, Marek Szyprowski a écrit : > Dear All, > > This patchset is a result of my work on enabling full support for MFC device > (multimedia codec) on Exynos 5433 on ARM64 architecture. Initially I thought > that to let it working on ARM64 architecture with IOMMU,

<    1   2   3   4   >