All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/2] Sensor orientation reporting
@ 2009-03-15 22:24 Adam Baker
  2009-03-15 22:29 ` [RFC][PATCH 1/2] " Adam Baker
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Adam Baker @ 2009-03-15 22:24 UTC (permalink / raw)
  To: linux-media, kilgota, Hans de Goede, Jean-Francois Moine,
	Hans Verkuil

Hi all,

I've finally got round to writing a sample patch to support the proposed 
mechanism of reporting sensor orientation to user space. It is split into 2 
parts, part 1 contains the kernel changes and part 2 the libv4l changes. In 
order to keep the patch simple I haven't attempted to add support to libv4l 
for HFLIP and VFLIP but just assumed for now that if a cam needs one then it 
needs both. If the basic idea gets accepted then fixing that is purely a user 
space change.

I also haven't provided an implementation of VIDIOC_ENUMINPUT in libv4l that 
updates the flags to reflect what libv4l has done to the image. Hans Verkuil 
originally said he wanted to leave the orientation information available to 
the user app but I suspect that is actually undesirable. If an app is 
designed to work without libv4l and to re-orient an image as required then if 
someone runs it with the LD_PRELOAD capability of libv4l then correct 
operation depends upon reporting the corrected orientation to the app, not 
the original orientation.

Adam

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

end of thread, other threads:[~2009-03-27 23:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-15 22:24 [RFC][PATCH 0/2] Sensor orientation reporting Adam Baker
2009-03-15 22:29 ` [RFC][PATCH 1/2] " Adam Baker
2009-03-27 17:31   ` Mauro Carvalho Chehab
2009-03-27 23:36     ` Adam Baker
2009-03-27 19:21   ` Jean-Francois Moine
2009-03-15 22:34 ` [RFC][PATCH 2/2] " Adam Baker
2009-03-16  8:00 ` [RFC][PATCH 0/2] " Hans de Goede
2009-03-16 18:20   ` Theodore Kilgore
2009-03-16 23:36   ` Adam Baker
2009-03-17  8:10     ` Hans de Goede

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.