All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] gspca - ov534: saturation and hue (using fixp-arith.h)
@ 2012-04-23 13:21 Antonio Ospite
  2012-04-23 13:21 ` [PATCH 1/3] [media] gspca - ov534: Add Saturation control Antonio Ospite
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Antonio Ospite @ 2012-04-23 13:21 UTC (permalink / raw)
  To: linux-media
  Cc: Antonio Ospite, Jean-Francois Moine, linux-input,
	Dmitry Torokhov, Johann Deneux, Anssi Hannula, Jonathan Corbet

Hi,

here are a couple more of controls for the gspca ov534 subdriver.

In order to control the HUE value the sensor expects sin(HUE) and
cos(HUE) to be set so I decided to reuse the fixed point implementation
of sine and cosine from drivers/input/fixp-arith.h, see patches 2 and 3.

Dmitry, can the movement of fixp-arith.h in patch 2 go via the media
tree?  That should ease up the integration of patch 3 in this series
I think.

Jonathan, maybe fixp_sin() and fixp_cos() can be used in
drivers/media/video/ov7670.c too where currently ov7670_sine() and
ov7670_cosine() are defined, but I didn't want to send a patch I could
not test.

BTW What is the usual way to communicate these cross-subsystem stuff?
I CC-ed everybody only on the cover letter and on patches 2 and 3 which
are the ones concerning somehow both "input" and "media".

Thanks,
   Antonio


Antonio Ospite (3):
  [media] gspca - ov534: Add Saturation control
  Input: move drivers/input/fixp-arith.h to include/linux
  [media] gspca - ov534: Add Hue control

 drivers/input/ff-memless.c        |    3 +-
 drivers/input/fixp-arith.h        |   87 ------------------------------------
 drivers/media/video/gspca/ov534.c |   89 ++++++++++++++++++++++++++++++++++++-
 include/linux/fixp-arith.h        |   87 ++++++++++++++++++++++++++++++++++++
 4 files changed, 176 insertions(+), 90 deletions(-)
 delete mode 100644 drivers/input/fixp-arith.h
 create mode 100644 include/linux/fixp-arith.h

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-05-14 11:18 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23 13:21 [PATCH 0/3] gspca - ov534: saturation and hue (using fixp-arith.h) Antonio Ospite
2012-04-23 13:21 ` [PATCH 1/3] [media] gspca - ov534: Add Saturation control Antonio Ospite
2012-04-23 13:21 ` [PATCH 2/3] Input: move drivers/input/fixp-arith.h to include/linux Antonio Ospite
2012-04-23 16:16   ` Dmitry Torokhov
2012-04-23 13:21 ` [PATCH 3/3] [media] gspca - ov534: Add Hue control Antonio Ospite
2012-04-23 13:31 ` [PATCH 0/3] gspca - ov534: saturation and hue (using fixp-arith.h) Antonio Ospite
2012-04-23 16:17 ` Dmitry Torokhov
2012-04-23 20:16 ` Jonathan Corbet
2012-04-30 13:51   ` Antonio Ospite
2012-05-05  8:26     ` Antonio Ospite
2012-05-06 10:14       ` [PATCH v2 " Antonio Ospite
2012-05-06 10:14         ` [PATCH v2 1/3] gspca - ov534: Add Saturation control Antonio Ospite
2012-05-06 10:14         ` [PATCH v2 2/3] Input: move drivers/input/fixp-arith.h to include/linux Antonio Ospite
2012-05-06 10:14         ` [PATCH v2 3/3] gspca - ov534: Add Hue control Antonio Ospite
2012-05-11 15:01         ` [PATCH v2 0/3] gspca - ov534: saturation and hue (using fixp-arith.h) Antonio Ospite
2012-05-14 11:18         ` Antonio Ospite

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.