Re: [PATCH] reservation: Remove shadowing local variable 'ret'

2015-01-22 Thread Sumit Semwal
Hi Michel, On 22 January 2015 at 12:30, Michel Dänzer mic...@daenzer.net wrote: From: Michel Dänzer michel.daen...@amd.com It was causing the return value of fence_is_signaled to be ignored, making reservation objects signal too early. Thanks; pushed to my for-next. Cc:

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, Thanks for the patch. On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan shua...@osg.samsung.com wrote: Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no regressions. video now has no

Re: [PATCH] Si2168: increase timeout to fix firmware loading

2015-01-22 Thread Jurgen Kramer
On Thu, 2015-01-22 at 12:04 +0200, Antti Palosaari wrote: I will make pull request for that as that is still on patchwork :( Thanks, I was about to send in a resend. Jurgen Antti On 12/14/2014 01:29 PM, Antti Palosaari wrote: On 12/08/2014 07:52 PM, Antti Palosaari wrote: On

Payment

2015-01-22 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line unsubscribe

[RFC PATCH 0/2] Signalling last decoded frame by V4L2_BUF_FLAG_LAST and -EPIPE

2015-01-22 Thread Philipp Zabel
At the V4L2 codec API session during ELC-E 2014, we agreed that for the decoder draining flow, after a V4L2_DEC_CMD_STOP decoder command was issued, the last decoded buffer should get dequeued with a V4L2_BUF_FLAG_LAST set. After that, poll should immediately return and all following VIDIOC_DQBUF

[RFC PATCH 1/2] [media] videodev2: Add V4L2_BUF_FLAG_LAST

2015-01-22 Thread Philipp Zabel
From: Peter Seiderer ps.rep...@gmx.net This v4l2_buffer flag can be used by drivers to mark a capture buffer as the last generated buffer, for example after a V4L2_DEC_CMD_STOP command was issued. Signed-off-by: Peter Seiderer ps.rep...@gmx.net Signed-off-by: Philipp Zabel p.za...@pengutronix.de

[RFC PATCH 2/2] [media] videobuf2: return -EPIPE from DQBUF after the last buffer

2015-01-22 Thread Philipp Zabel
If the last buffer was dequeued from a capture queue, let poll return immediately and let DQBUF return -EPIPE to signal there will no more buffers to dequeue until STREAMOFF. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- TODO: (How) should the last_buffer_dequeud flag be cleared in

[GIT PULL FOR v3.20] uvcvideo fixes

2015-01-22 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 1fc77d013ba85a29e2edfaba02fd21e8c8187fae: [media] cx23885: Hauppauge WinTV-HVR5525 (2014-12-30 10:48:04 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git uvc/next for you to fetch changes up to

Re: Hauppauge WinTV HVR-2255 dvb tuner support?

2015-01-22 Thread Steven Toth
I have a hvr-2255 dvb tuner, but to my knowledge there is no support for this newer hardware available on linux. Brian, if all goes to plan then I'm releasing our HVR2205/55 patches in the next 2-3 weeks. I have one last hurdle then everything can go public. So, stay tuned. If you (or anyone)

Re: [PATCH 1/2] [media] v4l: vsp1: Fix VI6_DISP_IRQ_ENB_LNEE macro

2015-01-22 Thread Laurent Pinchart
Hi Iwamatsu-san, Thank you for the patches. On Wednesday 07 January 2015 16:37:53 Nobuhiro Iwamatsu wrote: LNEE bit in VI6_DISP_IRQ_ENB register are from the 0 bit to 4 bit. This fixes bit position specified by VI6_DISP_IRQ_ENB_LNEE. Signed-off-by: Nobuhiro Iwamatsu

Re: [PATCH v3 1/3] media: fix au0828 compile error from au0828_boards initialization

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, Thanks for the patch. On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan shua...@osg.samsung.com wrote: au0828 picked up UNSET from videobuf-core.h and fails to compile if videobuf-core.h isn't included. Change it to use -1U instead to fix the problem.

[GIT PULL FOR v3.20] VSP1 fixes

2015-01-22 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 1fc77d013ba85a29e2edfaba02fd21e8c8187fae: [media] cx23885: Hauppauge WinTV-HVR5525 (2014-12-30 10:48:04 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git vsp1/next for you to fetch changes up to

Re: [PATCH/RFC v10 17/19] DT: Add documentation for exynos4-is 'flashes' property

2015-01-22 Thread Jacek Anaszewski
Hi, On 01/21/2015 05:32 PM, Sylwester Nawrocki wrote: Hi, On 09/01/15 16:23, Jacek Anaszewski wrote: This patch adds a description of 'flashes' property to the samsung-fimc.txt. Signed-off-by: Jacek Anaszewski j.anaszew...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH] Si2168: increase timeout to fix firmware loading

2015-01-22 Thread Antti Palosaari
I will make pull request for that as that is still on patchwork :( Antti On 12/14/2014 01:29 PM, Antti Palosaari wrote: On 12/08/2014 07:52 PM, Antti Palosaari wrote: On 12/08/2014 10:30 AM, Jurgen Kramer wrote: Increase si2168 cmd execute timeout to prevent firmware load failures. Tests

[GIT PULL 3.19] si2168 fix

2015-01-22 Thread Antti Palosaari
That patch must go also stable v3.16+ as tagged Cc. regards Antti The following changes since commit 2c0108e1c02f9fc95f465adc4d2ce1ad8688290a: [media] omap3isp: Correctly set QUERYCAP capabilities (2015-01-21 21:09:11 -0200) are available in the git repository at:

Re: [PATCH v4 08/10] v4l: xilinx: Add Xilinx Video IP core

2015-01-22 Thread Hans Verkuil
On 01/22/15 04:01, Laurent Pinchart wrote: Hi Hans and Chris, On Monday 01 December 2014 22:13:38 Laurent Pinchart wrote: Xilinx platforms have no hardwired video capture or video processing interface. Users create capture and memory to memory processing pipelines in the FPGA fabric to suit

[PATCH 2/7] v4l2-ctrls: Don't initialize array tail when setting a control

2015-01-22 Thread Laurent Pinchart
Setting an array control subset isn't allowed by the control framework, which returns an error in prepare_ext_ctrls() if the control size specified by userspace is smaller than the total size. There is thus no need to initialize the array tail to its default value, as the tail will always be

Re: [PATCH 4/7] v4l2-ctrls: Export the standard control type operations

2015-01-22 Thread Hans Verkuil
On 01/22/15 15:48, Laurent Pinchart wrote: Drivers that implement custom control types need to implement the equal, init, log and validate operations. Depending on the control type some of those operations can use the standard control type implementation provided by the v4l2 control framework.

Re: [PATCH 5/7] Revert [media] v4l: omap4iss: Add module debug parameter

2015-01-22 Thread Hans Verkuil
On 01/22/15 15:48, Laurent Pinchart wrote: This reverts commit 186612342500b0af8498d7c8bc6b3ac32ac7a48e. The video_device debug field has been renamed to dev_debug, resulting in a compilation failure. As v4l2 debugging is supposed to be controlled through a sysfs attribute created by the

Re: [PATCH v2 2/3] media: au0828 change to not zero out fmt.pix.priv

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, Thanks for the patch. On Thu, Dec 18, 2014 at 4:20 PM, Shuah Khan shua...@osg.samsung.com wrote: There is no need to zero out fmt.pix.priv in vidioc_g_fmt_vid_cap() vidioc_try_fmt_vid_cap(), and vidioc_s_fmt_vid_cap(). Remove it. Signed-off-by: Shuah Khan shua...@osg.samsung.com

[PATCH] pvrusb2: use msecs_to_jiffies for conversion

2015-01-22 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Converting milliseconds to jiffies by val * HZ / 1000 is technically not wrong but msecs_to_jiffies(val) is the cleaner solution and handles all corner cases correctly.

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Shuah Khan
Hi Prabhakar, thanks for the review, please see in-line. On 01/22/2015 05:41 AM, Lad, Prabhakar wrote: Hi Shuah, Thanks for the patch. On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan shua...@osg.samsung.com wrote: Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi

[saa716x] upstream request

2015-01-22 Thread Tycho Lürsen
Hello Mr Abraham, Thank you very much for coding the saa716x driver. It's highly appreciated! I own a couple of TBS DVB-T/T2/C cards that use those chips, so your driver is of great value to me. Of course official drivers from TBS suck bigtime, but fortunately Luis Alves thinks so too. So he

[RFC v2 0/7] HDMI CEC framework

2015-01-22 Thread Kamil Debski
Hi, This is the second version of my attempt at the CEC framework patches. As mentioned in the previous cover letter the original work was done by Hans Verkuil, but he was short of time and the CEC framework was stalled for some time. The original cover letter attached below will surely shed more

Re: [PATCH 3/7] v4l2-ctrls: Make the control type init op initialize the whole control

2015-01-22 Thread Laurent Pinchart
Hi Hans, Thank you for the review. On Thursday 22 January 2015 16:12:31 Hans Verkuil wrote: On 01/22/15 15:48, Laurent Pinchart wrote: The control type init operation is called in a loop to initialize all elements of a control. Not only is this inefficient for control types that could use

[RFC v2 3/7] cec: add new framework for cec support.

2015-01-22 Thread Kamil Debski
Add the CEC framework. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged CEC Updates commit by Hans Verkuil] [k.deb...@samsung.com: Merged Update author commit by Hans Verkuil] [k.deb...@samsung.com: change kthread handling when setting logical address]

[RFC v2 2/7] media: rc: Add cec protocol handling

2015-01-22 Thread Kamil Debski
Add cec protocol handling the RC framework. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/rc/keymaps/Makefile |1 + drivers/media/rc/keymaps/rc-cec.c | 133 + drivers/media/rc/rc-main.c|1 + include/media/rc-core.h

[RFC v2 6/7] adv7511: add cec support.

2015-01-22 Thread Kamil Debski
From: Hans Verkuil hansv...@cisco.com Add CEC support to the adv7511 driver. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/i2c/adv7511.c | 325

[RFC v2 4/7] v4l2-subdev: add cec ops.

2015-01-22 Thread Kamil Debski
From: Hans Verkuil hansv...@cisco.com Add callbacks to the v4l2_subdev_video_ops. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski k.deb...@samsung.com --- include/media/v4l2-subdev.h |8

[RFC v2 5/7] adv7604: add cec support.

2015-01-22 Thread Kamil Debski
From: Hans Verkuil hansv...@cisco.com Add CEC support ot the adv7604 driver. Signed-off-by: Hans Verkuil hansv...@cisco.com [k.deb...@samsung.com: Merged changes from CEC Updates commit by Hans Verkuil] Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/i2c/adv7604.c | 182

[RFC v2 1/7] ARM: dts: add hdmi cec driver to exynos4412-odroidu3

2015-01-22 Thread Kamil Debski
Add device tree node for the s5p-cec hdmi CEC driver. Signed-off-by: Kamil Debski k.deb...@samsung.com --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi |7 +++ arch/arm/boot/dts/exynos4412-odroidu3.dts | 13 + 2 files changed, 20 insertions(+) diff --git

[RFC v2 7/7] s5p-cec: Add s5p-cec driver

2015-01-22 Thread Kamil Debski
Add CEC interface driver present in the Samsung Exynos range of SoCs. The following files were based on work by SangPil Moon: - exynos_hdmi_cec.h - exynos_hdmi_cecctl.c Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/media/platform/Kconfig |7 +

[GIT PULL FOR v3.20] OMAP4 ISS fix

2015-01-22 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 1fc77d013ba85a29e2edfaba02fd21e8c8187fae: [media] cx23885: Hauppauge WinTV-HVR5525 (2014-12-30 10:48:04 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap4iss/next for you to fetch changes up to

[PATCH v2 00/15] media: blackfin: bfin_capture enhancements

2015-01-22 Thread Lad, Prabhakar
This patch series, enhances blackfin capture driver with vb2 helpers. Changes for v2: -- Only patches 5/15 and 8/15 as per Scott's suggestions. Lad, Prabhakar (15): media: blackfin: bfin_capture: drop buf_init() callback media: blackfin: bfin_capture: release buffers in case

[PATCH v2 04/15] media: blackfin: bfin_capture: improve buf_prepare() callback

2015-01-22 Thread Lad, Prabhakar
this patch improves the buf_prepare() callback. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH v2 11/15] media: blackfin: bfin_capture: return -ENODATA for *dv_timings calls

2015-01-22 Thread Lad, Prabhakar
this patch adds support to return -ENODATA for *dv_timings calls if the current output does not support it. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH v2 08/15] media: blackfin: bfin_capture: use vb2_ioctl_* helpers

2015-01-22 Thread Lad, Prabhakar
this patch adds support to vb2_ioctl_* helpers. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 108 ++--- 1 file changed, 23 insertions(+), 85 deletions(-) diff --git

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Shuah Khan
On 01/22/2015 01:47 PM, Lad, Prabhakar wrote: Hi Shuah, On Thu, Jan 22, 2015 at 4:16 PM, Shuah Khan shua...@osg.samsung.com wrote: Hi Prabhakar, [snip] + buf-vb.v4l2_buf.field = V4L2_FIELD_INTERLACED; + v4l2_get_timestamp(buf-vb.v4l2_buf.timestamp); +

[PATCH v2 06/15] media: blackfin: bfin_capture: use vb2_fop_mmap/poll

2015-01-22 Thread Lad, Prabhakar
No need to reinvent the wheel. Just use the already existing functions provided by vb2. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 28 +++--- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git

[PATCH v2 09/15] media: blackfin: bfin_capture: make sure all buffers are returned on stop_streaming() callback

2015-01-22 Thread Lad, Prabhakar
In start_streaming() callback the buffer is removed from the dma_queue list and assigned to cur_frm, this patch makes sure that is returned to vb2 core with VB2_BUF_STATE_ERROR flag. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 3

[PATCH v2 07/15] media: blackfin: bfin_capture: use v4l2_fh_open and vb2_fop_release

2015-01-22 Thread Lad, Prabhakar
this patch adds support to use v4l2_fh_open() and vb2_fop_release, which allows to drop driver specific struct bcap_fh, as this is handled by core. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 79 +- 1 file

[PATCH v2 13/15] media: blackfin: bfin_capture: add support for VB2_DMABUF

2015-01-22 Thread Lad, Prabhakar
this patch adds support for VB2_DMABUF. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH v2 14/15] media: blackfin: bfin_capture: add support for VIDIOC_EXPBUF

2015-01-22 Thread Lad, Prabhakar
this patch adds support for VIDIOC_EXPBUF. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH v2 02/15] media: blackfin: bfin_capture: release buffers in case start_streaming() call back fails

2015-01-22 Thread Lad, Prabhakar
this patch adds support to release the buffer by calling vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED if start_streaming() call back fails. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 16 +--- 1 file

[PATCH v2 05/15] media: blackfin: bfin_capture: improve queue_setup() callback

2015-01-22 Thread Lad, Prabhakar
this patch improves the queue_setup() callback. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH v2 01/15] media: blackfin: bfin_capture: drop buf_init() callback

2015-01-22 Thread Lad, Prabhakar
this patch drops the buf_init() callback as init of buf list is not required. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH v2 03/15] media: blackfin: bfin_capture: set min_buffers_needed

2015-01-22 Thread Lad, Prabhakar
this patch sets the min_buffers_needed field of the vb2 queue so that the vb2 core will make sure start_streaming() callback is called only when we have minimum buffers queued. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1

[PATCH v2 15/15] media: blackfin: bfin_capture: set v4l2 buffer sequence

2015-01-22 Thread Lad, Prabhakar
this patch adds support to set the v4l2 buffer sequence. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH v2 10/15] media: blackfin: bfin_capture: return -ENODATA for *std calls

2015-01-22 Thread Lad, Prabhakar
this patch adds supports to return -ENODATA to *_std calls if the selected output does not support it. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v2 12/15] media: blackfin: bfin_capture: add support for vidioc_create_bufs

2015-01-22 Thread Lad, Prabhakar
this patch adds support for vidioc_create_bufs. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- drivers/media/platform/blackfin/bfin_capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/blackfin/bfin_capture.c

[PATCH 6/7] staging: media: omap4iss: Cleanup media entities after unregistration

2015-01-22 Thread Laurent Pinchart
The ipipeif, ipipe and resizer media entities are cleaned up before unregistering the media device, creating a race condition. Fix it by cleaning them up at cleanup time. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/staging/media/omap4iss/iss_ipipe.c | 6 +++---

[PATCH 3/7] v4l2-ctrls: Make the control type init op initialize the whole control

2015-01-22 Thread Laurent Pinchart
The control type init operation is called in a loop to initialize all elements of a control. Not only is this inefficient for control types that could use a memset(), it also complicates the implementation of custom control types, for instance when a matrix needs to be initialized with different

[PATCH 5/7] Revert [media] v4l: omap4iss: Add module debug parameter

2015-01-22 Thread Laurent Pinchart
This reverts commit 186612342500b0af8498d7c8bc6b3ac32ac7a48e. The video_device debug field has been renamed to dev_debug, resulting in a compilation failure. As v4l2 debugging is supposed to be controlled through a sysfs attribute created by the v4l2 core, there's no need to duplicate debug

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Devin Heitmueller
- fh-type = type; - fh-dev = dev; - v4l2_fh_init(fh-fh, vdev); - filp-private_data = fh; + dprintk(1, + %s called std_set %d dev_state %d stream users %d users %d\n, + __func__, dev-std_set_in_tuner_core, dev-dev_state, +

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Shuah Khan
On 01/22/2015 08:00 AM, Devin Heitmueller wrote: - fh-type = type; - fh-dev = dev; - v4l2_fh_init(fh-fh, vdev); - filp-private_data = fh; + dprintk(1, + %s called std_set %d dev_state %d stream users %d users %d\n, + __func__,

Re: [PATCH 1/7] v4l2-ctrls: Add new S8, S16 and S32 compound control types

2015-01-22 Thread Hans Verkuil
On 01/22/15 15:48, Laurent Pinchart wrote: Only unsigned compound types are implemented so far, add the corresponding signes types. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Hans Verkuil hans.verk...@cisco.com Looks good! Hans ---

Re: [PATCH 2/7] v4l2-ctrls: Don't initialize array tail when setting a control

2015-01-22 Thread Hans Verkuil
On 01/22/15 15:48, Laurent Pinchart wrote: Setting an array control subset isn't allowed by the control framework, which returns an error in prepare_ext_ctrls() if the control size specified by userspace is smaller than the total size. There is thus no need to initialize the array tail to its

Re: [PATCH 3/7] v4l2-ctrls: Make the control type init op initialize the whole control

2015-01-22 Thread Hans Verkuil
On 01/22/15 15:48, Laurent Pinchart wrote: The control type init operation is called in a loop to initialize all elements of a control. Not only is this inefficient for control types that could use a memset(), it also complicates the implementation of custom control types, for instance when a

[PATCH 4/7] v4l2-ctrls: Export the standard control type operations

2015-01-22 Thread Laurent Pinchart
Drivers that implement custom control types need to implement the equal, init, log and validate operations. Depending on the control type some of those operations can use the standard control type implementation provided by the v4l2 control framework. Export them to enable their reuse.

[PATCH 7/7] staging: media: omap4iss: ipipe: Expose the RGB2RGB blending matrix

2015-01-22 Thread Laurent Pinchart
Expose the module as two controls, one for the 3x3 multiplier matrix and one for the 3x1 offset vector. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/staging/media/omap4iss/iss_ipipe.c | 129 - drivers/staging/media/omap4iss/iss_ipipe.h

[PATCH 1/7] v4l2-ctrls: Add new S8, S16 and S32 compound control types

2015-01-22 Thread Laurent Pinchart
Only unsigned compound types are implemented so far, add the corresponding signes types. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- .../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 21 +++ .../DocBook/media/v4l/vidioc-queryctrl.xml | 30

[PATCH 0/7] omap4iss: Add RGB2RGB blending matrix support

2015-01-22 Thread Laurent Pinchart
Hello, This patch set adds support for exposing the OMAP4 ISS IPIPE RGB2RGB blending matrix through V4L2 controls, using the compound controls support. Patches 1 to 4 add new signed compound control types and simplify the control type init operation. Patches 5 and 6 then fix two issues with the

Re: coda: not generating EOS event

2015-01-22 Thread Philipp Zabel
Hi, Am Donnerstag, den 11.12.2014, 15:47 +0100 schrieb Hans Verkuil: Hi Pawel, On 12/11/14 15:42, Nicolas Dufresne wrote: Le jeudi 11 décembre 2014 à 11:00 -0200, Fabio Estevam a écrit : Hi, I am running Gstreamer 1.4.4 with on a imx6q-sabresd board and I am able to decode a video

[PATCH v4] media: au0828 - convert to use videobuf2

2015-01-22 Thread Shuah Khan
Convert au0828 to use videobuf2. Tested with NTSC. Tested video and vbi devices with xawtv, tvtime, and vlc. Ran v4l2-compliance to ensure there are no regressions. video now has no failures and vbi has 3 fewer failures. video before: test VIDIOC_G_FMT: FAIL 3 failures Total: 72, Succeeded: 69,

cron job: media_tree daily build: ERRORS

2015-01-22 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: Fri Jan 23 04:00:14 CET 2015 git branch: test git hash: 1fc77d013ba85a29e2edfaba02fd21e8c8187fae gcc

Re: coda: not generating EOS event

2015-01-22 Thread Pawel Osciak
Hi Philipp, On Thu, Jan 22, 2015 at 11:58 PM, Philipp Zabel p.za...@pengutronix.de wrote: Hi, Are you planning to pour the workshop's codec API document into a V4L2 documentation patch? Yes, definitely, I am a bit delayed, but will do this eventually, this is in progress. Sorry for the

Re: [PATCH v3 2/3] media: au0828 - convert to use videobuf2

2015-01-22 Thread Lad, Prabhakar
Hi Shuah, On Thu, Jan 22, 2015 at 4:16 PM, Shuah Khan shua...@osg.samsung.com wrote: Hi Prabhakar, [snip] + buf-vb.v4l2_buf.field = V4L2_FIELD_INTERLACED; + v4l2_get_timestamp(buf-vb.v4l2_buf.timestamp); + vb2_buffer_done(buf-vb, VB2_BUF_STATE_DONE); } Why not just have

I Have Picked You For A Charity Project

2015-01-22 Thread mrs marian botham
-- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC] dma-buf: cleanup dma_buf_export() to make it easily extensible

2015-01-22 Thread Sumit Semwal
At present, dma_buf_export() takes a series of parameters, which makes it difficult to add any new parameters for exporters, if required. Make it simpler by moving all these parameters into a struct, and pass the struct * as parameter to dma_buf_export(). While at it, unite