[no subject]

2013-06-11 Thread phil rosenberg
Hi this is my first email to the list, I'm hoping someone can help I have a logitech C300 webcam with the option of raw/bayer output. This works fine on windows where the RGB output consists of zeros in the r and b bytes and pixel intensitey in the g byte. However on linux when I activate the

Re: [PATCH 5/6] [media] V4L: Add VP8 encoder controls

2013-06-11 Thread Arun Kumar K
Hi Hans, Thank you for the review. + +section id=vpx-controls + titleVPX Control Reference/title + + paraThe VPX control class includes controls for encoding parameters + of VPx video codec./para Are these controls defined by the VPx standard, or are they specific to

Re: [PATCH 5/6] [media] V4L: Add VP8 encoder controls

2013-06-11 Thread Arun Kumar K
Hi Sylwester, Thank you for the review. + static const char * const vpx_num_partitions[] = { + 1 partition, + 2 partitions, + 4 partitions, + 8 partitions, + NULL, + }; + static const char * const

[PATCH v10 10/21] soc-camera: make .clock_{start,stop} compulsory, .add / .remove optional

2013-06-11 Thread Guennadi Liakhovetski
All existing soc-camera host drivers use .clock_start() and .clock_stop() callbacks to activate and deactivate their camera interfaces, whereas .add() and .remove() callbacks are usually dummy. Make the former two compulsory and the latter two optional. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 08/21] mx1-camera: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the mx1-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 07/21] mx2-camera: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the mx2-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 17/21] soc-camera: switch I2C subdevice drivers to use v4l2-clk

2013-06-11 Thread Guennadi Liakhovetski
Instead of centrally enabling and disabling subdevice master clocks in soc-camera core, let subdevice drivers do that themselves, using the V4L2 clock API and soc-camera convenience wrappers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/i2c/soc_camera/imx074.c

[PATCH v10 00/21] V4L2 clock and asynchronous probing

2013-06-11 Thread Guennadi Liakhovetski
3.11 is approaching... Here comes v10 of the V4L2 clock helper and asynchronous probing patch set. In this series I included 3 groups of patches, that actually aren't that strongly related. 1. patches 1-11 split soc-camera subdevice linking procedure into two steps: (a) turning on the master

[PATCH v10 02/21] soc-camera: add host clock callbacks to start and stop the master clock

2013-06-11 Thread Guennadi Liakhovetski
Currently soc-camera uses a single camera host callback to activate the interface master clock and to configure the interface for a specific client. However, during probing we might not have the information about a client, we just need to activate the clock. Add new camera host driver callbacks to

[PATCH v10 18/21] soc-camera: add V4L2-async support

2013-06-11 Thread Guennadi Liakhovetski
Add support for asynchronous subdevice probing, using the v4l2-async API. The legacy synchronous mode is still supported too, which allows to gradually update drivers and platforms. The selected approach adds a notifier for each struct soc_camera_device instance, i.e. for each video device node,

[PATCH v10 11/21] soc-camera: don't attach the client to the host during probing

2013-06-11 Thread Guennadi Liakhovetski
During client probing we only have to turn on the host's clock, no need to actually attach the client to the host. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/soc_camera.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH v10 04/21] omap1-camera: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the omap1-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 20/21] imx074: support asynchronous probing

2013-06-11 Thread Guennadi Liakhovetski
Both synchronous and asynchronous imx074 subdevice probing is supported by this patch. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/i2c/soc_camera/imx074.c | 20 +--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git

[PATCH v10 12/21] sh-mobile-ceu-camera: add primitive OF support

2013-06-11 Thread Guennadi Liakhovetski
Add an OF hook to sh_mobile_ceu_camera.c, no properties so far. Booting with DT also requires platform data to be optional. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- .../platform/soc_camera/sh_mobile_ceu_camera.c | 33 ++-- 1 files changed, 23

[PATCH v10 21/21] ARM: shmobile: convert ap4evb to asynchronously register camera subdevices

2013-06-11 Thread Guennadi Liakhovetski
Register the imx074 camera I2C and the CSI-2 platform devices directly in board platform data instead of letting the sh_mobile_ceu_camera driver and the soc-camera framework register them at their run-time. This uses the V4L2 asynchronous subdevice probing capability. Signed-off-by: Guennadi

[PATCH v10 01/21] soc-camera: move common code to soc_camera.c

2013-06-11 Thread Guennadi Liakhovetski
All soc-camera host drivers include a pointer to an soc-camera device in their host private struct to check, that only one client is connected. Move this common code to soc_camera.c. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/platform/soc_camera/atmel-isi.c

[PATCH v10 03/21] pxa-camera: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the pxa-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 15/21] V4L2: add a device pointer to struct v4l2_subdev

2013-06-11 Thread Guennadi Liakhovetski
It is often useful to have simple means to get from a subdevice to the underlying physical device. This patch adds such a pointer to struct v4l2_subdev and sets it accordingly in the I2C and SPI cases. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de ---

[PATCH v10 19/21] sh_mobile_ceu_camera: add asynchronous subdevice probing support

2013-06-11 Thread Guennadi Liakhovetski
Use the v4l2-async API to support asynchronous subdevice probing, including the CSI2 subdevice. Synchronous probing is still supported too. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- .../platform/soc_camera/sh_mobile_ceu_camera.c | 134 +-

[PATCH v10 14/21] V4L2: add temporary clock helpers

2013-06-11 Thread Guennadi Liakhovetski
Typical video devices like camera sensors require an external clock source. Many such devices cannot even access their hardware registers without a running clock. These clock sources should be controlled by their consumers. This should be performed, using the generic clock framework. Unfortunately

[PATCH v10 06/21] mx3-camera: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the mx3-camera driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 09/21] sh-mobile-ceu-camera: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the sh-mobile-ceu-camera driver activates and, respectively, deactivates its camera interface and, if necessary, the CSI2 controller. Only handling of the CSI2 interface is client-specific and is only needed, when a data-exchange with the client is taking place.

[PATCH v10 05/21] atmel-isi: move interface activation and deactivation to clock callbacks

2013-06-11 Thread Guennadi Liakhovetski
When adding and removing a client, the atmel-isi camera host driver only activates and deactivates its camera interface respectively, which doesn't include any client-specific actions. Move this functionality into .clock_start() and .clock_stop() callbacks. Signed-off-by: Guennadi Liakhovetski

[PATCH v10 13/21] sh-mobile-ceu-driver: support max width and height in DT

2013-06-11 Thread Guennadi Liakhovetski
Some CEU implementations have non-standard (larger) maximum supported width and height values. Add two OF properties to specify them. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- .../devicetree/bindings/media/sh_mobile_ceu.txt| 18 +++

[PATCH v10 16/21] V4L2: support asynchronous subdevice registration

2013-06-11 Thread Guennadi Liakhovetski
Currently bridge device drivers register devices for all subdevices synchronously, tupically, during their probing. E.g. if an I2C CMOS sensor is attached to a video bridge device, the bridge driver will create an I2C device and wait for the respective I2C driver to probe. This makes linking of

Re: mt9p031 shows purple coloured capture

2013-06-11 Thread Florian Neuhaus
Hi Andrei, Your post helped me a lot! My environment: beagleboard-xm mt9p031 @96Mhz (adapted power-supply) linux-omap 3.7.10 omap3isp-live I have two similiar issues with the mt9p031, that has probably the same cause: If I use omap3isp-live to capture a stream on my beagleboard, the first time

Fwd:

2013-06-11 Thread Paulo Assis
For the list (again) -- Forwarded message -- From: Paulo Assis pj.as...@gmail.com Date: 2013/6/11 Subject: Re: To: phil rosenberg philip_rosenb...@yahoo.com Cc: linux-media@vger.kernel.org linux-media@vger.kernel.org Hi, make sure you are streaming in YUYV format and not in MJPG

Corrupt Raw webcam data

2013-06-11 Thread phil rosenberg
Hello Paulo Thank you for your quick response. Unfortunately if I select YUYV or any other format that is not MJPG data flow stops and I see timeouts appear in the console.   Does this represent a bug in either the webcam's UVC support or the UVC driver? If so I presume there is no likely quick

Re: Corrupt Raw webcam data

2013-06-11 Thread Paulo Assis
Hi, You should select YUYV before disabling the video processing. So with video processing still enabled: set YUYV format set the desired fps and resolution set exposure now disable video processing and set the bayer order every time you need to change exposure or resolution you need to enable

[RFC PATCH 2/2] davinci_vpfe: Clean up media entity after unregistering subdev

2013-06-11 Thread Sakari Ailus
media_entity_cleanup() frees the links array which will be accessed by media_entity_remove_links() called by v4l2_device_unregister_subdev(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/staging/media/davinci_vpfe/dm365_ipipe.c |4 ++--

Re: [RFC PATCH v3 0/2] Media entity links handling

2013-06-11 Thread Sakari Ailus
Hi Sylwester, On Mon, Jun 10, 2013 at 04:54:28PM +0200, Sylwester Nawrocki wrote: This is an updated version of the patch set http://www.spinics.net/lists/linux-media/msg64536.html Comparing to v2 it includes improvements of the __media_entity_remove_links() function, thanks to Sakari.

[RFC PATCH 1/2] smiapp: Clean up media entity after unregistering subdev

2013-06-11 Thread Sakari Ailus
media_entity_cleanup() frees the links array which will be accessed by media_entity_remove_links() called by v4l2_device_unregister_subdev(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/i2c/smiapp/smiapp-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [RFC PATCH v3 0/2] Media entity links handling

2013-06-11 Thread Sylwester Nawrocki
Hi Sakari, On 06/11/2013 12:50 PM, Sakari Ailus wrote: On Mon, Jun 10, 2013 at 04:54:28PM +0200, Sylwester Nawrocki wrote: This is an updated version of the patch set http://www.spinics.net/lists/linux-media/msg64536.html Comparing to v2 it includes improvements of the

Re: [RFC PATCH 1/2] smiapp: Clean up media entity after unregistering subdev

2013-06-11 Thread Sylwester Nawrocki
On 06/11/2013 12:50 PM, Sakari Ailus wrote: media_entity_cleanup() frees the links array which will be accessed by media_entity_remove_links() called by v4l2_device_unregister_subdev(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --

Re: [RFC PATCH 2/2] davinci_vpfe: Clean up media entity after unregistering subdev

2013-06-11 Thread Sylwester Nawrocki
On 06/11/2013 12:50 PM, Sakari Ailus wrote: media_entity_cleanup() frees the links array which will be accessed by media_entity_remove_links() called by v4l2_device_unregister_subdev(). Signed-off-by: Sakari Ailus sakari.ai...@iki.fi Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --

Re: [REVIEW PATCH 6/9] omap24xxcam: use v4l2_dev instead of the deprecated parent field.

2013-06-11 Thread Sakari Ailus
On Mon, Jun 10, 2013 at 02:48:35PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Thanks! Acked-by: Sakari Ailus sakari.ai...@iki.fi -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk -- To

Re: [REVIEW PATCH 9/9] v4l2: remove parent from v4l2 core.

2013-06-11 Thread Sakari Ailus
On Mon, Jun 10, 2013 at 02:48:38PM +0200, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Sakari Ailus sakari.ai...@iki.fi -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk -- To unsubscribe

Re: [RFC PATCH v3 1/2] media: Add a function removing all links of a media entity

2013-06-11 Thread Sylwester Nawrocki
On 06/10/2013 04:54 PM, Sylwester Nawrocki wrote: +void media_entity_remove_links(struct media_entity *entity) +{ + /* Do nothing if the entity is not registered. */ + if (entity-parent == NULL) + return; + + mutex_lock(entity-parent-graph_mutex); +

Re: [REVIEW PATCH 8/9] f_uvc: use v4l2_dev instead of the deprecated parent field.

2013-06-11 Thread Hans Verkuil
On Mon 10 June 2013 20:50:42 Laurent Pinchart wrote: Hi Hans, Thanks for the patch. On Monday 10 June 2013 14:48:37 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/usb/gadget/f_uvc.c |8 +++-

Re: [REVIEW PATCH 8/9] f_uvc: use v4l2_dev instead of the deprecated parent field.

2013-06-11 Thread Laurent Pinchart
Hi Hans, On Tuesday 11 June 2013 14:13:33 Hans Verkuil wrote: On Mon 10 June 2013 20:50:42 Laurent Pinchart wrote: On Monday 10 June 2013 14:48:37 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

Re: [REVIEW PATCH 9/9] v4l2: remove parent from v4l2 core.

2013-06-11 Thread Ezequiel Garcia
Hi Hans, On Mon, Jun 10, 2013 at 9:48 AM, Hans Verkuil hverk...@xs4all.nl wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-dev.c | 34 +++---

cron job: media_tree daily build: WARNINGS

2013-06-11 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 11 19:00:18 CEST 2013 git branch: test git hash: ab5060cdb8829c0503b7be2b239b52e9a25063b4 gcc

Confirmed Reciept.....

2013-06-11 Thread info
Uk National Lottery Ref: L/200-26937 Batch: 2007MJL-01 FINAL NOTIFICATION We are pleased to inform you today 6th June, 2013 of the result of the winners of the UK NATIONAL LOTTERY ONLINE PROMO PROGRAMME, held on the 30th of May, 2013. You have therefore been approved

Re: [RFC] Add query/get/set matrix ioctls

2013-06-11 Thread Sylwester Nawrocki
Hi Hans, On 06/03/2013 02:14 PM, Hans Verkuil wrote: Hi all, When working on the Motion Detection API, I realized that my proposal for two new G/S_MD_BLOCKS ioctls was too specific for the motion detection use case. The Motion Detection RFC can be found here:

Re: Corrupt Raw webcam data

2013-06-11 Thread phil rosenberg
Hi Paulo Unfortunately I tried setting things up in the order you suggested, but as soon as I select 'Disable video processing I get only a single frame of something that looks a bit like a bayer grid, coloured deep blue. I think the image might be in this data but shifted horizontally and then

PROTECTED PROJECT

2013-06-11 Thread Kim
Hello, The Project is about the exportation of 100,000 barrels of Light Crude Oil daily out from Iraq to Turkey through my client's company in Iraq at the rate of $92.00 a barrel. This amount to $9,200,000 daily. I ask for your support as a foreigner to handle this business project with my

Re: Audio: no sound

2013-06-11 Thread Ezequiel Garcia
Ale, On Mon, Jun 10, 2013 at 8:27 PM, Alejandro A. Valdés av2...@gmail.com wrote: [...] Besides, please find the kernel configuration file attached t this note. Seems that the STK1160_AC97 is already there (Ln 4151 AND SS). Yes, it seems your configuration is correct. I have a device here

**Short Note**

2013-06-11 Thread info
Your Email-ID has been Granted £1,000,000.00 Pounds in Uk National Lottery, To Receive, Send Your Name: Address: Telephone: Country to email: claim.jonesgre...@hotmail.co.uk -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re: [RFC PATCH 2/2] davinci_vpfe: Clean up media entity after unregistering subdev

2013-06-11 Thread Prabhakar Lad
Hi Sakari, Thanks for the patch. On Tue, Jun 11, 2013 at 4:20 PM, Sakari Ailus sakari.ai...@iki.fi wrote: media_entity_cleanup() frees the links array which will be accessed by media_entity_remove_links() called by v4l2_device_unregister_subdev(). Signed-off-by: Sakari Ailus