Re: cron job: media_tree daily build: OK

2019-06-03 Thread Hans Verkuil
Hi all, Some comments below about changes to the daily build: On 6/4/19 5:52 AM, Hans Verkuil wrote: > 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:

cron job: media_tree daily build: OK

2019-06-03 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 Jun 4 05:00:11 CEST 2019 media-tree git hash:0864c9ce8fe83eadfd21b08e98997111d091660c media_build gi

Re: [PATCH v5 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-03 Thread kbuild test robot
Hi Boris, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on next-20190603] [cannot apply to v5.2-rc3] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH v5 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-03 Thread kbuild test robot
Hi Boris, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on next-20190603] [cannot apply to v5.2-rc3] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

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 v2 4/4] media: v4l: ctrls: Add debug messages

2019-06-03 Thread Ezequiel Garcia
On Mon, 2019-06-03 at 09:16 +0200, Hans Verkuil wrote: > On 6/1/19 7:57 PM, Ezequiel Garcia wrote: > > On Mon, 2019-03-11 at 12:36 +0100, Hans Verkuil wrote: > > > On 2/27/19 6:07 PM, Ezequiel Garcia wrote: > > > > Currently, the v4l2 control code is a bit silent on errors. > > > > Now that we have

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

2019-06-03 Thread Jernej Škrabec
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 contain only one element. What Cedrus actually needs to know is if this is

Re: [PATCH v3 08/10] media: hantro: add initial i.MX8MQ support

2019-06-03 Thread Boris Brezillon
On Mon, 3 Jun 2019 14:45:37 +0200 Hans Verkuil wrote: > On 5/31/19 10:55 AM, Philipp Zabel wrote: > > For now this just enables MPEG-2 decoding on the Hantro G1 on i.MX8MQ. > > > > Signed-off-by: Philipp Zabel > > --- > > Changes since v2 [1]: > > - Adapted to changes in patches 4 and 5 > > >

Re: [PATCH v2] media: mt9m111: add regulator support

2019-06-03 Thread Robert Jarzmik
Mauro Carvalho Chehab writes: > From: Robert Jarzmik > > In the soc_camera removal, the board specific power callback was > dropped. This at least will remove the power optimization from ezx and > em-x270 pxa based boards. > > As to recreate the same level of functionality, make the mt9m111 have

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

2019-06-03 Thread Boris Brezillon
On Mon, 03 Jun 2019 14:52:44 -0400 Nicolas Dufresne wrote: > > > - Dropping the DPB concept in H.264/H.265 > > > > > > As far as I could understand, the decoded picture buffer (DPB) is a > > > concept that only makes sense relative to a decoder implementation. The > > > spec mentions how to mana

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 on i.MX8MM. > > > > That's

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: [PATCH 1/3] media: imx7-media-csi: Use functions instead of macros

2019-06-03 Thread Rui Miguel Silva
Oi Fabio, On Sat 01 Jun 2019 at 18:51, Fabio Estevam wrote: > Currently there is a macro for reading and another macro for writing > to the CSI registers. > > Functions can do parameter type checking, which leads to a safer code, > so switch from macro to function implementation. > > Signed-off-by:

Re: [PATCH 1/3] media: imx7-mipi-csis: Propagate the error if clock enabling fails

2019-06-03 Thread Rui Miguel Silva
Oi Fabio, On Fri 31 May 2019 at 18:45, Fabio Estevam wrote: > Currently the return value from clk_bulk_prepare_enable() is checked, > but it is not propagate it in the case of failure. > > Fix it and also move the error message to the caller of > mipi_csis_clk_enable(). > > Signed-off-by: Fabio Est

Re: [PATCH RFC 2/6] media: uapi: h264: Add the concept of decoding mode

2019-06-03 Thread Boris Brezillon
On Mon, 3 Jun 2019 16:05:26 +0200 Thierry Reding wrote: > On Mon, Jun 03, 2019 at 02:51:13PM +0200, Boris Brezillon wrote: > > +Maxime > > > > Oops, just realized Maxime was not Cc-ed on this series. > > > > On Mon, 3 Jun 2019 14:30:20 +0200 > > Thierry Reding wrote: > > > > > On Mon, Jun 0

Re: [PATCH RFC 2/6] media: uapi: h264: Add the concept of decoding mode

2019-06-03 Thread Thierry Reding
On Mon, Jun 03, 2019 at 02:51:13PM +0200, Boris Brezillon wrote: > +Maxime > > Oops, just realized Maxime was not Cc-ed on this series. > > On Mon, 3 Jun 2019 14:30:20 +0200 > Thierry Reding wrote: > > > On Mon, Jun 03, 2019 at 01:09:42PM +0200, Boris Brezillon wrote: > > > Some stateless decod

[PATCH v5 1/2] media: v4l2: Make sure all drivers set _MPLANE caps in vdev->device_caps

2019-06-03 Thread Boris Brezillon
This is needed if we want the core to be able to check _MPLANE support without having to call the ->vdioc_querycap() hook. Signed-off-by: Boris Brezillon --- Changes in v5: - Drop the fimc-lite and fimc-isp-video hack Changes in v4: - Add a hack in fimc-lite and fimc-isp-video ->querycap() imp

[PATCH v5 2/2] media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap,out}_mplane

2019-06-03 Thread Boris Brezillon
Support for multiplanar and singleplanar formats is mutually exclusive, at least in practice. In our attempt to unify support for support for mplane and !mplane in v4l, let's get rid of the ->vidioc_enum_fmt_{vid,out}_cap_mplane() hooks and call ->vidioc_enum_fmt_{vid,out}_cap() instead. Signed-of

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

2019-06-03 Thread Hans Verkuil
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. In any case, I don't like merging this until someone was able to test it.

Re: [PATCH RFC 2/6] media: uapi: h264: Add the concept of decoding mode

2019-06-03 Thread Boris Brezillon
+Maxime Oops, just realized Maxime was not Cc-ed on this series. On Mon, 3 Jun 2019 14:30:20 +0200 Thierry Reding wrote: > On Mon, Jun 03, 2019 at 01:09:42PM +0200, Boris Brezillon wrote: > > Some stateless decoders don't support per-slice decoding (or at least > > not in a way that would make

Re: [PATCH v3 08/10] media: hantro: add initial i.MX8MQ support

2019-06-03 Thread Hans Verkuil
On 5/31/19 10:55 AM, Philipp Zabel wrote: > For now this just enables MPEG-2 decoding on the Hantro G1 on i.MX8MQ. > > Signed-off-by: Philipp Zabel > --- > Changes since v2 [1]: > - Adapted to changes in patches 4 and 5 > > [1] https://patchwork.linuxtv.org/patch/56420/ > --- > drivers/staging

Re: [PATCH v3 10/10] media: hantro: allow arbitrary number of clocks

2019-06-03 Thread Hans Verkuil
On 5/31/19 10:55 AM, Philipp Zabel wrote: > Dynamically allocate clocks and move clock names out of struct > hantro_variant. This lifts the four clock limit and allows to use > ARRAY_SIZE() to fill .num_clocks to reduce the risk of mismatches. > > Signed-off-by: Philipp Zabel Can you move this p

Re: [PATCH RFC 2/6] media: uapi: h264: Add the concept of decoding mode

2019-06-03 Thread Thierry Reding
On Mon, Jun 03, 2019 at 01:09:42PM +0200, Boris Brezillon wrote: > Some stateless decoders don't support per-slice decoding (or at least > not in a way that would make them efficient or easy to use). > Let's expose a menu to control and expose the supported decoding modes. > Drivers are allowed to

[GIT PULL FOR v5.3] Various fixes

2019-06-03 Thread Hans Verkuil
The following changes since commit 69fbb3f47327d959830c94bf31893972b8c8f700: media: wl128x: Fix some error handling in fm_v4l2_init_video_device() (2019-06-03 07:20:49 -0400) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.3i for you to fetch ch

Assist Request From You

2019-06-03 Thread Sgt. Kylie Elizabeth Watson
-- Accept my greetings to you Assist Request From You I am 28 years old single an orphan my parents died when I am five years old nobody to help me,I send you my business proposal with tears and sorrow,Please let this not be a surprised message to you because I decided to contact you on this mag

Nachricht

2019-06-03 Thread Martin Winkler
Sehr geehrte Damen und Herren, nach unserem Besuch Ihrer Homepage möchten wir Ihnen ein Angebot von Produkten vorstellen, das Ihnen ermöglichen wird, den Verkauf Ihrer Produkte sowie Dienstleistungen deutlich zu erhöhen. Die Datenbanken der Firmen sind in für Sie interessante und relevante Zie

[PATCH] media: dt-bindings: Fix vendor-prefixes YAML

2019-06-03 Thread Maxime Ripard
Commit 8df39e16877f ("media: dt-bindings: media: Add vendor prefix for allegro") introduced a new devicetree binding vendors, however with an improper syntax making the resulting YAML impossible to parse. Let's fix this. Cc: Hans Verkuil Cc: Michael Tretter Fixes: 8df39e16877f ("media: dt-bindin

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

2019-06-03 Thread Thierry Reding
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. This email shares my conclusions about the situation and how > we should

[PATCH RFC 2/6] media: uapi: h264: Add the concept of decoding mode

2019-06-03 Thread Boris Brezillon
Some stateless decoders don't support per-slice decoding (or at least not in a way that would make them efficient or easy to use). Let's expose a menu to control and expose the supported decoding modes. Drivers are allowed to support only one decoding but they can support both too. Signed-off-by:

[PATCH RFC 0/6] media: uapi: h264: First batch of adjusments

2019-06-03 Thread Boris Brezillon
Hello, This is a first batch of adjustments to the stateless H264 decoder uAPI. The first one is about adding support for per-frame decoding, which is the only mode supported on some codecs (the hantro G1 block supports per-slice decoding but not in an way that would allow efficient multiplexing o

[PATCH RFC 6/6] media: cedrus: Add the H264_DECODING_MODE control

2019-06-03 Thread Boris Brezillon
The H264 uAPI has been modified to expose 2 operation modes: per slice and per frame decoding. The cedrus driver only supports per-slice decoding for now. Signed-off-by: Boris Brezillon --- drivers/staging/media/sunxi/cedrus/cedrus.c | 13 + 1 file changed, 13 insertions(+) diff --

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

2019-06-03 Thread Boris Brezillon
Those lists can be extracted from the dpb, let's simplify userspace life and build that list kernel-side (generic helpers will be provided for drivers that need this list). Signed-off-by: Boris Brezillon --- Documentation/media/uapi/v4l/ext-ctrls-codec.rst | 9 - 1 file changed, 9 deleti

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

2019-06-03 Thread Boris Brezillon
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 contain only one element. The current code already had this limitation but it made it look like the slice_params control was a single struct while, according t

[PATCH RFC 1/6] media: uapi: h264: Clarify our expectations regarding NAL header format

2019-06-03 Thread Boris Brezillon
Looks like some stateless decoders expect slices to be prefixed with ANNEX B start codes (they most likely do some kind of bitstream parsing and/or need that to delimit slices when doing per frame decoding). Since skipping those start codes for dummy stateless decoders (those expecting all params t

[PATCH RFC 4/6] media: cedrus: Prepare things to support !compound controls

2019-06-03 Thread Boris Brezillon
We are about to add a menu control, so let's make the code more generic to support other control types. Signed-off-by: Boris Brezillon --- drivers/staging/media/sunxi/cedrus/cedrus.c | 47 - drivers/staging/media/sunxi/cedrus/cedrus.h | 3 +- 2 files changed, 29 insertions(+

In A Nutshell

2019-06-03 Thread Emissary
Hello, We have a private business proposition for you,contact me for more details. Thank you, Datuk. 5.30.19/135p/28wwe.5

Re: [PATCH v2 4/4] media: v4l: ctrls: Add debug messages

2019-06-03 Thread Hans Verkuil
On 6/1/19 7:57 PM, Ezequiel Garcia wrote: > On Mon, 2019-03-11 at 12:36 +0100, Hans Verkuil wrote: >> On 2/27/19 6:07 PM, Ezequiel Garcia wrote: >>> Currently, the v4l2 control code is a bit silent on errors. >>> Now that we have a debug parameter, it's possible to enable >>> debugging messages her