Re: [RFC] [PATCH] v4l2: use unsigned rather than enums in ioctl() structs

2012-04-12 Thread James Courtier-Dutton
2012/4/11 Rémi Denis-Courmont r...@remlab.net:        Hello, Le mercredi 11 avril 2012 20:02:00 Mauro Carvalho Chehab, vous avez écrit : Using unsigned instead of enum is not a good idea, from API POV, as unsigned has different sizes on 32 bits and 64 bits. Fair enough. But then we can do

[yavta PATCH 3/3] Support additional dpcm compressed bayer formats.

2012-04-12 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- yavta.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/yavta.c b/yavta.c index 532fb1f..a89d475 100644 --- a/yavta.c +++ b/yavta.c @@ -149,7 +149,10 @@ static struct { { SGBRG8, V4L2_PIX_FMT_SGBRG8 },

[yavta PATCH 1/3] Support integer menus.

2012-04-12 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- yavta.c | 18 +++--- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/yavta.c b/yavta.c index 72679c2..8db6e1e 100644 --- a/yavta.c +++ b/yavta.c @@ -564,19 +564,22 @@ static int video_enable(struct device *dev, int

[yavta PATCH 2/3] Support extended controls, including 64-bit integers.

2012-04-12 Thread Sakari Ailus
Fall back to regular S_CTRL / G_CTRL if extended controls aren't available. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- yavta.c | 129 -- 1 files changed, 100 insertions(+), 29 deletions(-) diff --git a/yavta.c b/yavta.c index

[PATCH v2] tinyjpeg: Dynamic luminance quantization table for Pixart JPEG

2012-04-12 Thread Jean-Francois Moine
In PJPG blocks, a marker gives the quantization tables to use for image decoding. This patch dynamically updates the luminance table when the marker changes. Note that the values of this table have been guessed from a small number of images and that they may not work fine in some situations, but,

Re: RTL28XX driver

2012-04-12 Thread Oliver Schinagl
Would love to, even tried a bit, but don't really know how to start, what to use as a template. I think I can extract the i2c messages from the dreaded ugly af903 driver however, using src or usbsniff. On 11-04-12 23:57, Antti Palosaari wrote: On 12.04.2012 00:33, Oliver Schinagl wrote: On

Re: RTL28XX driver

2012-04-12 Thread Thomas Mair
Hi Oliver, the Realtek driver sources I have also contain a fc2580 driver. Maybe the source code will help you together with the usb sniff. 2012/4/12 Oliver Schinagl oliver+l...@schinagl.nl: Would love to,  even tried a bit, but don't really know how to start, what to use as a template. I

Re: [PATCHv24 00/16] Contiguous Memory Allocator

2012-04-12 Thread cary.zou
Hello all, I'm using CMA to malloc contiguous memory, and I have following failure: __alloc_contig_migrate_range: test_pages_isolated(3bc00, 3c000) failed I try to dump_page, it shows: page:81778620 count:1 mapcount:0 mapping: (null) index:0x88b page flags: 0x4000() since I am not familiar

Re: RTL28XX driver

2012-04-12 Thread Oliver Schinagl
I accept the challenge :p but where is your fc2580 driver? And in that thought, where is antti's stub driver :) That might help me get started :) On 12-04-12 14:18, Thomas Mair wrote: Hi Oliver, the Realtek driver sources I have also contain a fc2580 driver. Maybe the source code will help

[PATCH] dib7000p: remove duplicate code and comment

2012-04-12 Thread Gianluca Gennari
Remove duplicate code and comment, probably due to a patch applied twice. Signed-off-by: Gianluca Gennari gennar...@gmail.com --- drivers/media/dvb/frontends/dib7000p.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb/frontends/dib7000p.c

Re: RTL28XX driver

2012-04-12 Thread Thomas Mair
It is not my driver ;) And at the beginning it looks quite scary but it may help together with the dump. You can find it here:https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/blob/master/RTL2832-2.2.2_kernel-3.0.0/tuner_fc2580.c 2012/4/12 Oliver Schinagl

Re: RTL28XX driver

2012-04-12 Thread Antti Palosaari
On 12.04.2012 15:54, Thomas Mair wrote: It is not my driver ;) And at the beginning it looks quite scary but it may help together with the dump. You can find it here:https://github.com/tmair/DVB-Realtek-RTL2832U-2.2.2-10tuner-mod_kernel-3.0.0/blob/master/RTL2832-2.2.2_kernel-3.0.0/tuner_fc2580.c

Re: [RFC] [PATCH] v4l2: use unsigned rather than enums in ioctl() structs

2012-04-12 Thread Mauro Carvalho Chehab
Em 12-04-2012 05:04, James Courtier-Dutton escreveu: 2012/4/11 Rémi Denis-Courmont r...@remlab.net: Hello, Le mercredi 11 avril 2012 20:02:00 Mauro Carvalho Chehab, vous avez écrit : Using unsigned instead of enum is not a good idea, from API POV, as unsigned has different sizes on 32

Re: [RFC] HDMI-CEC proposal

2012-04-12 Thread Florian Fainelli
Hi Hans, Martin, Sorry to jump in so late in the HDMI-CEC discussion, here are some comments from my perspective on your proposal: - the HDMI-CEC implementation deserves its own bus and class of devices because by definition it is a physical bus, which is even electrically independant from

Re: [RFC] [PATCH] v4l2: use unsigned rather than enums in ioctl() structs

2012-04-12 Thread Rémi Denis-Courmont
On Thu, 12 Apr 2012 11:55:12 -0300, Mauro Carvalho Chehab mche...@redhat.com wrote: I can see only two viable fixes for it: 1) add a typedef for the enum, using the sizeof(enum) in order to select the size of the used integer. Pros: - Patch is easy to write/easy to review;

[PATCH 1/3] adv7180: add support to user controls

2012-04-12 Thread Federico Vaga
Video user controls such as brightness, contrast, saturation, and hue are now handled. Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com Cc: Alan Cox a...@linux.intel.com --- drivers/media/video/adv7180.c | 417

[PATCH 2/3] videobuf-dma-contig: add cache support

2012-04-12 Thread Federico Vaga
Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com Cc: Alan Cox a...@linux.intel.com --- drivers/media/video/videobuf-dma-contig.c | 199 +--- include/media/videobuf-dma-contig.h | 10 ++ 2 files changed, 159

[PATCH 3/3] STA2X11 VIP: new V4L2 driver

2012-04-12 Thread Federico Vaga
V4L2 driver for the Video Input Port within STA2X11 board Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com Cc: Alan Cox a...@linux.intel.com --- drivers/media/video/Kconfig | 13 + drivers/media/video/Makefile |1 +

Re: [RFC] [PATCH] v4l2: use unsigned rather than enums in ioctl() structs

2012-04-12 Thread Nick Bowler
On 2012-04-11 23:32 +0300, Rémi Denis-Courmont wrote: From the perspective of the compiler, this is a feature not a bug. In C and C++, loading or storing a value in an enumerated variable whereby the value is not a member of the enumeration is undefined. I'm afraid that this is not the case in

cron job: media_tree daily build: ERRORS

2012-04-12 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:Thu Apr 12 19:00:22 CEST 2012 git hash:976a87b9ce3172065e21f0d136353a01df06d0d6 gcc version: i686-linux-gcc

Re: [RFC] HDMI-CEC proposal

2012-04-12 Thread Oliver Schinagl
Since a lot of video cards dont' support CEC at all (not even connected), don't have hdmi, but work perfectly fine with dvi-hdmi adapters, CEC can be implemented in many other ways (think media centers) One such exammple is using USB/Arduino

cron job: media_tree daily build: ERRORS

2012-04-12 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:Thu Apr 12 22:10:05 CEST 2012 git hash:f4d4e7656b26a6013bc5072c946920d2e2c44e8e gcc version: i686-linux-gcc

[PATCH linux-next] staging: go7007: Add MODULE_FIRMWARE

2012-04-12 Thread Tim Gardner
Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux-media@vger.kernel.org Cc: de...@driverdev.osuosl.org Signed-off-by: Tim Gardner tim.gard...@canonical.com --- drivers/staging/media/go7007/s2250-loader.c |2 ++ 1 file changed, 2

[PATCH linux-next] video: vicam: Add MODULE_FIRMWARE

2012-04-12 Thread Tim Gardner
Cc: Jean-Francois Moine moin...@free.fr Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: linux-media@vger.kernel.org Signed-off-by: Tim Gardner tim.gard...@canonical.com --- drivers/media/video/gspca/vicam.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [RFC] HDMI-CEC proposal

2012-04-12 Thread Hans Verkuil
You both hit the main problem of the CEC support: how to implement the API. Cisco's work on CEC has been stalled as we first want to get HDMI support in V4L. Hopefully that will happen in the next few months. After that we will resume working on the CEC API. Regards, Hans On Thursday,

cron job: media_tree daily build: ERRORS

2012-04-12 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 Apr 13 06:55:22 CEST 2012 git hash:f4d4e7656b26a6013bc5072c946920d2e2c44e8e gcc version: i686-linux-gcc