cron job: media_tree daily build: OK

2019-09-16 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 Sep 17 05:00:15 CEST 2019 media-tree git hash:6f51fdfd8229d5358c2d6e272cf73478866e8ddc media_build gi

single maintainer profile directory (was Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation)

2019-09-16 Thread Kees Cook
On Fri, Sep 13, 2019 at 01:19:21PM -0300, Mauro Carvalho Chehab wrote: > Document the basic policies of the media subsystem profile. > > Signed-off-by: Mauro Carvalho Chehab > --- > > That's basically a modified version of: > https://patchwork.linuxtv.org/patch/52999/ > > Applied to the new

[RFC] media: vimc: Implement frame rate control

2019-09-16 Thread Guilherme Alcarde Gallo
In order to make the frame rate changeable, this patch implements the ioctls VIDIOC_ENUM_FRAMEINTERVALS, VIDIOC_S_PARM and VIDIOC_G_PARM. Most of the implementation was based on vivid driver. The frame rate control is mainly made in vimc_force_frame_rate function, which sleeps how long is needed t

[PATCH] cec-follower: create analog channel frequencies

2019-09-16 Thread Jiunn Chang
This frequency table will allow proper testing of tuner control. There are three frequencies per analog broadcast type and broadcast system, so tuner increment and decrement can be tested. Signed-off-by: Jiunn Chang --- utils/cec-follower/cec-tuner.cpp | 77 1 f

Jenkins build is back to normal : media-build #855

2019-09-16 Thread Jenkins Builder Robot
See

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

2019-09-16 Thread Helen Koike
Hello, On 9/12/19 8:35 AM, Ezequiel Garcia wrote: > On Thu, 2019-09-12 at 14:52 +0900, Tomasz Figa wrote: >> On Thu, Sep 12, 2019 at 4:49 AM Nicolas Dufresne >> wrote: >>> Le mercredi 11 septembre 2019 à 09:27 +0100, Ezequiel Garcia a écrit : On Mon, 2019-09-09 at 16:07 +0900, Tomasz Figa w

[PATCH v3] v4l2-ctl: Print UVC meta info

2019-09-16 Thread Vandana BN
Print UVC Metadata information in verbose mode. Signed-off-by: Vandana BN --- Changes since v2 - Converted if to switch statement. - Corrected format specifier in print. --- utils/v4l2-ctl/v4l2-ctl-meta.cpp | 25 + utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 14 -

Build failed in Jenkins: media-build #854

2019-09-16 Thread Jenkins Builder Robot
See Changes: -- Started by timer Running as SYSTEM Building remotely on slave1 in workspace /var/lib/jenkins/workspace/media-build FATAL: java.io.IOException: Unexpected termination of the c

Re: [PATCH v2] v4l2-ctl: Print UVC meta info

2019-09-16 Thread Hans Verkuil
On 9/16/19 4:19 PM, Vandana BN wrote: > Print UVC Metadata information in verbose mode. > > Signed-off-by: Vandana BN > --- > Changes since v1 > - Removed static form type declaration of structure vivid_uvc_meta_buf. > - to print time in seconds. > - extract vivid_uvc_meta_buf properly from buf.

[PATCH v2] v4l2-ctl: Print UVC meta info

2019-09-16 Thread Vandana BN
Print UVC Metadata information in verbose mode. Signed-off-by: Vandana BN --- Changes since v1 - Removed static form type declaration of structure vivid_uvc_meta_buf. - to print time in seconds. - extract vivid_uvc_meta_buf properly from buf. --- utils/v4l2-ctl/v4l2-ctl-meta.cpp | 22 ++

[PATCH v6] vivid: Add metadata capture support

2019-09-16 Thread Vandana BN
This patch adds meatadata capture support in vivid driver. Added new files for metadata capture. Signed-off-by: Vandana BN --- Changes since v5: -Use multiline comment in vivid-core.c. -changed vivid_meta_cap_gen() to take proper length. --- drivers/media/platform/vivid/Makefile | 2 +-

[PATCH v2] cec-follower: create cec-tuner.cpp

2019-09-16 Thread Jiunn Chang
Move tuner control, one touch record, and timer programming into cec-tuner.cpp. These features are all tuner related and involve the tuner as a central feature to be able to test. Signed-off-by: Jiunn Chang --- Changes made since v1: - Change cec-tuner.cpp function name to process_tuner_recor

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

2019-09-16 Thread Angelo Ribeiro
Hi Laurent, From: Laurent Pinchart Date: Mon, Sep 16, 2019 at 11:51:31 > Hi Angelo, > > On Mon, Sep 16, 2019 at 10:39:56AM +, Angelo Ribeiro wrote: > > On Mon, Sep 16, 2019 at 10:54:51 Laurent Pinchart wrote: > > > On Mon, Sep 16, 2019 at 10:48:51AM +0200, Hans Verkuil wrote: > > > > On 9/

Re: [GIT PULL for v5.4-rc1] media updates

2019-09-16 Thread Jenkins
From: buil...@linuxtv.org Pull request: https://patchwork.linuxtv.org/patch/58782/ Build log: https://builder.linuxtv.org/job/patchwork/16380/ Build time: 00:00:00 Link: https://lore.kernel.org/linux-media/20190916092515.66549...@coco.lan gpg: Signature made Mon 16 Sep 2019 12:06:35 PM UTC gpg:

Re: [PATCHv2 1/2] v4l: Add macros for printing V4L fourcc values

2019-09-16 Thread Hans Verkuil
On 9/16/19 2:07 PM, Sakari Ailus wrote: > On Mon, Sep 16, 2019 at 12:04:32PM +0200, Hans Verkuil wrote: >> From: Sakari Ailus >> >> Add two macros that facilitate printing V4L fourcc values with printf >> family of functions. v4l2_fourcc_conv provides the printf conversion >> specifier for printin

Re: [PATCHv2 1/2] v4l: Add macros for printing V4L fourcc values

2019-09-16 Thread Sakari Ailus
On Mon, Sep 16, 2019 at 12:04:32PM +0200, Hans Verkuil wrote: > From: Sakari Ailus > > Add two macros that facilitate printing V4L fourcc values with printf > family of functions. v4l2_fourcc_conv provides the printf conversion > specifier for printing formats and v4l2_fourcc_args provides the ac

Re: [PATCHv2 0/2] Add helper functions to print a fourcc

2019-09-16 Thread Hans Verkuil
On 9/16/19 1:52 PM, Sakari Ailus wrote: > On Mon, Sep 16, 2019 at 12:04:31PM +0200, Hans Verkuil wrote: >> It turns out that Sakari posted a newer patch in 2018. I used that >> for this v2: https://patchwork.linuxtv.org/patch/48372/ >> >> Mauro commented on that original patch that there was no nee

Re: [PATCHv2 0/2] Add helper functions to print a fourcc

2019-09-16 Thread Sakari Ailus
On Mon, Sep 16, 2019 at 12:04:31PM +0200, Hans Verkuil wrote: > It turns out that Sakari posted a newer patch in 2018. I used that > for this v2: https://patchwork.linuxtv.org/patch/48372/ > > Mauro commented on that original patch that there was no need to > have this available for userspace. >

Re: [PATCH] v4l2-ctl: Print UVC meta info

2019-09-16 Thread Hans Verkuil
On 9/3/19 12:58 PM, Vandana BN wrote: > Print UVC Metadata information in verbose mode. > > Signed-off-by: Vandana BN > --- > utils/v4l2-ctl/v4l2-ctl-meta.cpp | 20 > utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 14 -- > utils/v4l2-ctl/v4l2-ctl.h | 1

Re: [PATCH v5] vivid: Add metadata capture support

2019-09-16 Thread Hans Verkuil
On 9/16/19 9:48 AM, Vandana BN wrote: > This patch adds meatadata capture support in vivid driver. > Added new files for metadata capture. > > Signed-off-by: Vandana BN It's good practice to mention what has changed since v4. You can do that by adding a --- separator and then something along th

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

2019-09-16 Thread Laurent Pinchart
Hi Angelo, On Mon, Sep 16, 2019 at 10:39:56AM +, Angelo Ribeiro wrote: > On Mon, Sep 16, 2019 at 10:54:51 Laurent Pinchart wrote: > > On Mon, Sep 16, 2019 at 10:48:51AM +0200, Hans Verkuil wrote: > > > On 9/16/19 10:40 AM, Jose Abreu wrote: > > > > From: Hans Verkuil > > > > Date: Aug/16/2019

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

2019-09-16 Thread Angelo Ribeiro
From: Laurent Pinchart Date: Mon, Sep 16, 2019 at 10:54:51 > On Mon, Sep 16, 2019 at 10:48:51AM +0200, Hans Verkuil wrote: > > On 9/16/19 10:40 AM, Jose Abreu wrote: > > > From: Hans Verkuil > > > Date: Aug/16/2019, 09:06:30 (UTC+00:00) > > > > > >> Rather then discussing topics for a meeting u

[PATCHv2 2/2] v4l2-ioctl.c: use new v4l2_fourcc_conv/args macros

2019-09-16 Thread Hans Verkuil
Use these new standard macros to log the fourcc value in a human readable format. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- drivers/media/v4l2-core/v4l2-ioctl.c | 58 +--- 1 file changed, 18 insertions(+), 40 deletions(-) diff --git a/drivers/media/v4l2-cor

[PATCHv2 1/2] v4l: Add macros for printing V4L fourcc values

2019-09-16 Thread Hans Verkuil
From: Sakari Ailus Add two macros that facilitate printing V4L fourcc values with printf family of functions. v4l2_fourcc_conv provides the printf conversion specifier for printing formats and v4l2_fourcc_args provides the actual arguments for that conversion specifier. These macros are useful i

[PATCHv2 0/2] Add helper functions to print a fourcc

2019-09-16 Thread Hans Verkuil
It turns out that Sakari posted a newer patch in 2018. I used that for this v2: https://patchwork.linuxtv.org/patch/48372/ Mauro commented on that original patch that there was no need to have this available for userspace. I disagree: why wouldn't userspace want to report pixelformats? It happen

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

2019-09-16 Thread Laurent Pinchart
On Mon, Sep 16, 2019 at 10:48:51AM +0200, Hans Verkuil wrote: > On 9/16/19 10:40 AM, Jose Abreu wrote: > > From: Hans Verkuil > > Date: Aug/16/2019, 09:06:30 (UTC+00:00) > > > >> Rather then discussing topics for a meeting under the subject 'Lisbon' > >> let's start a new thread referring to the

Re: [PATCH 1/2] videodev2.h: add macros to print a fourcc

2019-09-16 Thread Hans Verkuil
On 9/16/19 11:26 AM, Sakari Ailus wrote: > Hi Hans, > > On Mon, Sep 16, 2019 at 11:00:46AM +0200, Hans Verkuil wrote: >> Add new macros V4L2_FOURCC_CONV and V4L2_FOURCC_ARGS for use >> in code that prints a fourcc. These macros can be used in both >> kernel and userspace. >> >> Signed-off-by: Hans

Re: [PATCH 2/2] v4l2-ioctl.c: use new V4L2_FOURCC_CONV/ARGS macros

2019-09-16 Thread Sakari Ailus
On Mon, Sep 16, 2019 at 11:00:47AM +0200, Hans Verkuil wrote: > Use these new standard macros to log the fourcc value in a > human readable format. > > Signed-off-by: Hans Verkuil > --- > drivers/media/v4l2-core/v4l2-ioctl.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > di

Re: [PATCH 1/2] videodev2.h: add macros to print a fourcc

2019-09-16 Thread Sakari Ailus
Hi Hans, On Mon, Sep 16, 2019 at 11:00:46AM +0200, Hans Verkuil wrote: > Add new macros V4L2_FOURCC_CONV and V4L2_FOURCC_ARGS for use > in code that prints a fourcc. These macros can be used in both > kernel and userspace. > > Signed-off-by: Hans Verkuil > Suggested-by: Sakari Ailus > --- > in

[PATCH] cec-follower: create cec-tuner.cpp

2019-09-16 Thread Jiunn Chang
Move tuner control, one touch record, and timer programming into cec-tuner.cpp. These features are all tuner centric and involve the tuner as a central capability. This will help keep cec-follower emulation for these features all in one place making it easier to read and to maintain. Signed-off-

[PATCH 0/2] Add helper functions to print a fourcc

2019-09-16 Thread Hans Verkuil
This is a reboot of this old patch: https://patchwork.kernel.org/patch/9961789/ I've taken Sakari's suggestion and made new patches. It happens too often that we want to log a fourcc, either in kernel or in userspace, so I think this will be quite useful. Regards, Hans Hans Verkuil (2

[PATCH 2/2] v4l2-ioctl.c: use new V4L2_FOURCC_CONV/ARGS macros

2019-09-16 Thread Hans Verkuil
Use these new standard macros to log the fourcc value in a human readable format. Signed-off-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ioctl.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-

[PATCH 1/2] videodev2.h: add macros to print a fourcc

2019-09-16 Thread Hans Verkuil
Add new macros V4L2_FOURCC_CONV and V4L2_FOURCC_ARGS for use in code that prints a fourcc. These macros can be used in both kernel and userspace. Signed-off-by: Hans Verkuil Suggested-by: Sakari Ailus --- include/uapi/linux/videodev2.h | 13 + 1 file changed, 13 insertions(+) diff

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

2019-09-16 Thread Hans Verkuil
On 9/16/19 10:40 AM, Jose Abreu wrote: > From: Hans Verkuil > Date: Aug/16/2019, 09:06:30 (UTC+00:00) > >> 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 the ELC

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

2019-09-16 Thread Jose Abreu
From: Hans Verkuil Date: Aug/16/2019, 09:06:30 (UTC+00:00) > 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 the ELCE or (if that doesn't > work) perhaps on the Thu

[PATCH v5] vivid: Add metadata capture support

2019-09-16 Thread Vandana BN
This patch adds meatadata capture support in vivid driver. Added new files for metadata capture. Signed-off-by: Vandana BN --- drivers/media/platform/vivid/Makefile | 2 +- drivers/media/platform/vivid/vivid-core.c | 92 - drivers/media/platform/vivid/vivid-core.h | 1