Rapid Prototyping Services/Anby from China

2018-10-01 Thread Nancy Chiang
Dear Purchasing Manager, How are you? This is Nancy from Anby. We are a professional rapid prototyping,plastic and metal components processing manufacturer at Shenzhen in China for years. We can do 3D printing, CNC milling and turning, sheet metal fabricating, Injection mold, blow mold. If

cron job: media_tree daily build: OK

2018-10-01 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Tue Oct 2 05:00:10 CEST 2018 media-tree git hash:4158757395b300b6eb308fc20b96d1d231484413 media_build

rtl2832_sdr: Use-after-free when unplugging busy device

2018-10-01 Thread Michał Mirosław
Hello, While testing rtl-sdr (v3) dongle, I've hit an memory corruption while unplugging the device. With KASAN enabled, I get use-after-free report from it (see below). This is on Linux v4.18.11. Best Regards, Michał Mirosław [16141.107421] usb 3-2.1: new high-speed USB device number 10 using

[RESEND] [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2018-10-01 Thread Laurent Pinchart
From: Dhaval Shah SPDX-License-Identifier is used for the Xilinx Video IP and related drivers. Signed-off-by: Dhaval Shah Reviewed-by: Laurent Pinchart [Added drivers/media/platform/xilinx/Kconfig] [Added drivers/media/platform/xilinx/Makefile] [Added include/dt-bindings/media/xilinx-vip.h]

Re: [PATCH v6 0/6] Add Rockchip VPU JPEG encoder

2018-10-01 Thread Ezequiel Garcia
On Fri, 2018-09-28 at 14:33 +0200, Hans Verkuil wrote: > On 09/17/2018 07:30 PM, Ezequiel Garcia wrote: > > This series adds support for JPEG encoding via the VPU block > > present in Rockchip platforms. Currently, support for RK3288 > > and RK3399 is included. > > > > Please, see the previous

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Dave Stevenson
Hi All, On Mon, 1 Oct 2018 at 17:32, Ezequiel Garcia wrote: > > Hi Hans, > > Thanks for looking into. I remember MJPEG vs. JPEG being a source > of confusion for me a few years ago, so clarification is greatly > welcome :-) > > On Mon, 2018-10-01 at 15:03 +0300, Laurent Pinchart wrote: > > Hi

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Laurent Pinchart
Hi Hans, On Monday, 1 October 2018 19:28:58 EEST Hans Verkuil wrote: > On 10/01/2018 06:12 PM, Ezequiel Garcia wrote: > > On Mon, 2018-10-01 at 08:42 -0400, Nicolas Dufresne wrote: > >> Le lundi 01 octobre 2018 à 10:43 +0200, Hans Verkuil a écrit : > >>> It turns out that we have both JPEG and

Re: [PATCH] MAINTAINERS: Remove stale file entry for the Atmel ISI driver

2018-10-01 Thread Mauro Carvalho Chehab
Em Sun, 30 Sep 2018 02:40:35 -0700 Joe Perches escreveu: > On Sun, 2018-09-30 at 06:30 -0300, Mauro Carvalho Chehab wrote: > > Em Sun, 30 Sep 2018 09:54:48 +0300 > > Laurent Pinchart escreveu: > > > > > include/media/atmel-isi got removed three years ago without the > > > MAINTAINERS file

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Ezequiel Garcia
Hi Hans, Thanks for looking into. I remember MJPEG vs. JPEG being a source of confusion for me a few years ago, so clarification is greatly welcome :-) On Mon, 2018-10-01 at 15:03 +0300, Laurent Pinchart wrote: > Hi Hans, > > On Monday, 1 October 2018 14:54:29 EEST Hans Verkuil wrote: > > On

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Hans Verkuil
On 10/01/2018 06:12 PM, Ezequiel Garcia wrote: > On Mon, 2018-10-01 at 08:42 -0400, Nicolas Dufresne wrote: >> Hello Hans, >> >> Le lundi 01 octobre 2018 à 10:43 +0200, Hans Verkuil a écrit : >>> It turns out that we have both JPEG and Motion-JPEG pixel formats defined. >>> >>> Furthermore, some

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Ezequiel Garcia
On Mon, 2018-10-01 at 08:42 -0400, Nicolas Dufresne wrote: > Hello Hans, > > Le lundi 01 octobre 2018 à 10:43 +0200, Hans Verkuil a écrit : > > It turns out that we have both JPEG and Motion-JPEG pixel formats defined. > > > > Furthermore, some drivers support one, some the other and some both.

Re: [linux-firmware] [GIT PULL] amlogic: add video decoder firmwares

2018-10-01 Thread Maxime Jourdan
On Mon, Oct 1, 2018 at 5:36 PM Josh Boyer wrote: > > On Mon, Oct 1, 2018 at 11:27 AM Maxime Jourdan wrote: > > > > Hello, > > > > Below is a pull request to add the firmwares required by the Amlogic video > > decoder. > > > > The firmwares were dumped from GPLv2+ in-kernel source files from

Re: [PATCH v2 0/6] media: video-i2c: support changing frame interval and runtime PM

2018-10-01 Thread Akinobu Mita
2018年10月1日(月) 18:41 Hans Verkuil : > > On 09/23/2018 06:34 PM, Akinobu Mita wrote: > > This patchset adds support for changing frame interval and runtime PM for > > video-i2c driver. This also adds an helper macro to v4l2 common > > internal API that is used to to find a suitable frame interval.

Re: [linux-firmware] [GIT PULL] amlogic: add video decoder firmwares

2018-10-01 Thread Josh Boyer
On Mon, Oct 1, 2018 at 11:27 AM Maxime Jourdan wrote: > > Hello, > > Below is a pull request to add the firmwares required by the Amlogic video > decoder. > > The firmwares were dumped from GPLv2+ in-kernel source files from Amlogic's > vendor kernel, in their buildroot package >

[linux-firmware] [GIT PULL] amlogic: add video decoder firmwares

2018-10-01 Thread Maxime Jourdan
Hello, Below is a pull request to add the firmwares required by the Amlogic video decoder. The firmwares were dumped from GPLv2+ in-kernel source files from Amlogic's vendor kernel, in their buildroot package "buildroot_openlinux_kernel_4.9_wayland_20180316" You can find an example of such a

Re: [PATCH v3] media: docs: add glossary.rst with common terms used at V4L2 spec

2018-10-01 Thread Hans Verkuil
On 09/25/2018 09:14 PM, Mauro Carvalho Chehab wrote: > From: Mauro Carvalho Chehab > > Add a glossary of terms used within the media userspace API > documentation, as several concepts are complex enough to cause > misunderstandings. > > Signed-off-by: Mauro Carvalho Chehab > --- > > v3: > -

Re: [PATCH 3/4] media: dt-bindings: media: Document pclk-max-frequency property

2018-10-01 Thread Hugues FRUCHET
Hi Sakari, On 09/28/2018 09:03 AM, Sakari Ailus wrote: > Hi Hugues, > > On Thu, Sep 27, 2018 at 04:46:06PM +0200, Hugues Fruchet wrote: >> This optional property aims to inform parallel video devices >> of the maximum pixel clock frequency admissible by host video >> interface. If bandwidth of

Re: [PATCH v3 00/12] media: ov5640: Misc cleanup and improvements

2018-10-01 Thread Hugues FRUCHET
Hi Maxime, On 09/28/2018 06:05 PM, Maxime Ripard wrote: > Hi Hugues, > > On Thu, Sep 27, 2018 at 03:59:04PM +, Hugues FRUCHET wrote: >> Hi Maxime & all OV5640 stakeholders, >> >> I've just pushed a new patchset also related to rate/pixel clock >> handling [1], based on your V3 great work: >>

Re: [PATCH] [media] v4l: xilinx: fix typo in formats table

2018-10-01 Thread Michal Simek
On 1.10.2018 15:36, Laurent Pinchart wrote: > Hi Michal, > > On Monday, 1 October 2018 16:28:32 EEST Michal Simek wrote: >> On 1.10.2018 15:26, Laurent Pinchart wrote: >>> On Monday, 1 October 2018 15:45:49 EEST Michal Simek wrote: On 28.9.2018 14:52, Laurent Pinchart wrote: > On Friday,

Re: [PATCH] [media] v4l: xilinx: fix typo in formats table

2018-10-01 Thread Laurent Pinchart
Hi Michal, On Monday, 1 October 2018 16:28:32 EEST Michal Simek wrote: > On 1.10.2018 15:26, Laurent Pinchart wrote: > > On Monday, 1 October 2018 15:45:49 EEST Michal Simek wrote: > >> On 28.9.2018 14:52, Laurent Pinchart wrote: > >>> On Friday, 28 September 2018 10:32:13 EEST Andrea Merello

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Laurent Pinchart
Hello, On Monday, 1 October 2018 15:42:56 EEST Nicolas Dufresne wrote: > Le lundi 01 octobre 2018 à 10:43 +0200, Hans Verkuil a écrit : > > It turns out that we have both JPEG and Motion-JPEG pixel formats defined. > > > > Furthermore, some drivers support one, some the other and some both. > >

Re: [PATCH] [media] v4l: xilinx: fix typo in formats table

2018-10-01 Thread Michal Simek
Hi Laurent, On 1.10.2018 15:26, Laurent Pinchart wrote: > Hi Michal, > > On Monday, 1 October 2018 15:45:49 EEST Michal Simek wrote: >> On 28.9.2018 14:52, Laurent Pinchart wrote: >>> On Friday, 28 September 2018 10:32:13 EEST Andrea Merello wrote: In formats table the entry for CFA pattern

Re: [PATCH] [media] v4l: xilinx: fix typo in formats table

2018-10-01 Thread Laurent Pinchart
Hi Michal, On Monday, 1 October 2018 15:45:49 EEST Michal Simek wrote: > On 28.9.2018 14:52, Laurent Pinchart wrote: > > On Friday, 28 September 2018 10:32:13 EEST Andrea Merello wrote: > >> In formats table the entry for CFA pattern "rggb" has GRBG fourcc. > >> This patch fixes it. > >> > >>

Re: [PATCH] [media] v4l: xilinx: fix typo in formats table

2018-10-01 Thread Michal Simek
Hi Laurent, On 28.9.2018 14:52, Laurent Pinchart wrote: > Hi Andrea, > > Thank you for the patch. > > On Friday, 28 September 2018 10:32:13 EEST Andrea Merello wrote: >> In formats table the entry for CFA pattern "rggb" has GRBG fourcc. >> This patch fixes it. >> >> Cc:

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Nicolas Dufresne
Hello Hans, Le lundi 01 octobre 2018 à 10:43 +0200, Hans Verkuil a écrit : > It turns out that we have both JPEG and Motion-JPEG pixel formats defined. > > Furthermore, some drivers support one, some the other and some both. > > These pixelformats both mean the same. > > I propose that we

[ANN] Draft Agenda (v2) for the media summit on Thursday Oct 25th in Edinburgh

2018-10-01 Thread Hans Verkuil
Hi all, We are organizing a media mini-summit on Thursday October 25th in Edinburgh, Edinburgh International Conference Centre. If you plan to attend, please register on the ELCE/OSS site since we're using there tracking system:

Re: [PATCH v5] media: imx208: Add imx208 camera sensor driver

2018-10-01 Thread Philippe De Muyter
Hi, On Mon, Oct 01, 2018 at 12:50:02PM +0200, Helmut Grohne wrote: > Hi Laurent, > > On Fri, Sep 28, 2018 at 03:49:38PM +0200, Laurent Pinchart wrote: > > I don't think we'll reach an agreement here if we don't start talking about > > real use cases. Would you have some to share ? > > Fair

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Laurent Pinchart
Hi Hans, On Monday, 1 October 2018 14:54:29 EEST Hans Verkuil wrote: > On 10/01/2018 01:48 PM, Laurent Pinchart wrote: > > On Monday, 1 October 2018 11:43:04 EEST Hans Verkuil wrote: > >> It turns out that we have both JPEG and Motion-JPEG pixel formats > >> defined. > >> > >> Furthermore, some

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Hans Verkuil
On 10/01/2018 01:48 PM, Laurent Pinchart wrote: > Hi Hans, > > On Monday, 1 October 2018 11:43:04 EEST Hans Verkuil wrote: >> It turns out that we have both JPEG and Motion-JPEG pixel formats defined. >> >> Furthermore, some drivers support one, some the other and some both. >> >> These

Re: [RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Laurent Pinchart
Hi Hans, On Monday, 1 October 2018 11:43:04 EEST Hans Verkuil wrote: > It turns out that we have both JPEG and Motion-JPEG pixel formats defined. > > Furthermore, some drivers support one, some the other and some both. > > These pixelformats both mean the same. Do they ? I thought MJPEG was

[GIT PULL v2 for 4.20] Big V4L2 fwnode patchset

2018-10-01 Thread Sakari Ailus
Hi Mauro, This set contains the big V4L2 fwnode framework rework, including mine and Steve's patches. What is now possible includes tonnes of bugs fixed, default V4L2 fwnode endpoint configuration as well as less manual DT parsing in the i.MX driver. Since v1: - Updated fwnode patches from

Re: [PATCH v5] media: imx208: Add imx208 camera sensor driver

2018-10-01 Thread Helmut Grohne
Hi Laurent, On Fri, Sep 28, 2018 at 03:49:38PM +0200, Laurent Pinchart wrote: > I don't think we'll reach an agreement here if we don't start talking about > real use cases. Would you have some to share ? Fair enough, but at that point, we very much disconnect from the imx208 in the subject.

Re: [PATCH v3 00/14] imx-media: Fixes for interlaced capture

2018-10-01 Thread Hans Verkuil
Hi Steve, On 08/01/2018 09:12 PM, Steve Longerbeam wrote: > A set of patches that fixes some bugs with capturing from an > interlaced source, and incompatibilites between IDMAC interlace > interweaving and 4:2:0 data write reduction. I reviewed this series and it looks fine to me. It appears

[GIT PULL FOR v4.20] Various fixes

2018-10-01 Thread Hans Verkuil
The following changes since commit 4158757395b300b6eb308fc20b96d1d231484413: media: davinci: Fix implicit enum conversion warning (2018-09-24 09:43:13 -0400) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/tag-v4.20d for you to fetch changes up to

Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-10-01 Thread Hans Verkuil
On 10/01/2018 11:27 AM, Helmut Grohne wrote: > On Fri, Sep 28, 2018 at 04:00:17PM +0200, Hans Verkuil wrote: >> On 09/25/2018 12:14 PM, Sakari Ailus wrote: >>> +/* V4L2 control unit prefixes */ >>> +#define V4L2_CTRL_PREFIX_NANO -9 >>> +#define V4L2_CTRL_PREFIX_MICRO -6

Re: [PATCH v2 0/6] media: video-i2c: support changing frame interval and runtime PM

2018-10-01 Thread Hans Verkuil
On 09/23/2018 06:34 PM, Akinobu Mita wrote: > This patchset adds support for changing frame interval and runtime PM for > video-i2c driver. This also adds an helper macro to v4l2 common > internal API that is used to to find a suitable frame interval. > > There are a couple of unrelated changes

Re: [PATCH v2 1/6] media: video-i2c: avoid accessing released memory area when removing driver

2018-10-01 Thread Hans Verkuil
On 09/23/2018 06:34 PM, Akinobu Mita wrote: > The video_i2c_data is allocated by kzalloc and released by the video > device's release callback. The release callback is called when > video_unregister_device() is called, but it will still be accessed after > calling video_unregister_device(). > >

Re: [PATCH 2/5] v4l: controls: Add support for exponential bases, prefixes and units

2018-10-01 Thread Helmut Grohne
On Fri, Sep 28, 2018 at 04:00:17PM +0200, Hans Verkuil wrote: > On 09/25/2018 12:14 PM, Sakari Ailus wrote: > > +/* V4L2 control unit prefixes */ > > +#define V4L2_CTRL_PREFIX_NANO -9 > > +#define V4L2_CTRL_PREFIX_MICRO -6 > > +#define V4L2_CTRL_PREFIX_MILLI -3

[RFC] V4L2_PIX_FMT_MJPEG vs V4L2_PIX_FMT_JPEG

2018-10-01 Thread Hans Verkuil
It turns out that we have both JPEG and Motion-JPEG pixel formats defined. Furthermore, some drivers support one, some the other and some both. These pixelformats both mean the same. I propose that we settle on JPEG (since it seems to be used most often) and add JPEG support to those drivers

[GIT PULL for 4.20] Unlocked V4L2 control grab, imx{319, 355} drivers

2018-10-01 Thread Sakari Ailus
Hi Mauro, Here are drivers for Sony imx319 and imx355 sensors and an unlocked version of v4l2_ctrl_grab() which is used by the driver. Please pull. The following changes since commit 985cdcb08a0488558d1005139596b64d73bee267: media: ov5640: fix restore of last mode set (2018-09-17 15:33:38

Re: [PATCH v3] media: add imx355 camera sensor driver

2018-10-01 Thread Sakari Ailus
Hi Bingbu, On Sat, Sep 29, 2018 at 06:03:54PM +0800, bingbu@intel.com wrote: > From: Bingbu Cao > > Add a v4l2 sub-device driver for the Sony imx355 image sensor. > This is a camera sensor using the i2c bus for control and the > csi-2 bus for data. > > This driver supports following