public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [omap3-isp-live] Autofocus buffer interpretation of H3A engine
@ 2012-11-01 11:17 Florian Neuhaus
  2012-11-04 11:47 ` Laurent Pinchart
  0 siblings, 1 reply; 6+ messages in thread
From: Florian Neuhaus @ 2012-11-01 11:17 UTC (permalink / raw)
  To: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (laurent.pinchart@ideasonboard.com)
  Cc: linux-media@vger.kernel.org, sakari.ailus@iki.fi,
	dacohen@gmail.com

Hi Laurent

I am adapting your current omap3-isp-live application to fit our needs (http://git.ideasonboard.org/omap3-isp-live.git/commit/619164a994c8d878249d6c1b8b16c27074a04209).
For this I need to implement an autofocus algorithm to control an attached actuator. 
Let me summarize what components I use:

- beagleboard-xm
- mt9p031 on leopardimaging li-5m03
- own developed voice-coil-motor (vcm) driven by current regulator ad5821
- kernel 3.5 out of the linux-omap tree

To generate a control signal for my vcm, I need to interpret the values generated by 
the AF engine of the omap3isp, h3a module. I see, that you have already implemented 
a working auto-exposure functionality with the AEWB module - so I have done the same 
with the AF module. But now I have problems to interpret the generated values in omap3_isp_af_process. Do you know how the paxel-buffer is structured? 
I see that the received buffer has the size of

buf_size = af->paxel.h_cnt * af->paxel.v_cnt * OMAP3ISP_AF_PAXEL_SIZE;

where  OMAP3ISP_AF_PAXEL_SIZE is 48 bytes, but what is in the 48 bytes?

Have you made some progress in implementing an autofocus algorithm?

Thank you for your help and greetings,
Florian


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

end of thread, other threads:[~2012-12-02 22:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01 11:17 [omap3-isp-live] Autofocus buffer interpretation of H3A engine Florian Neuhaus
2012-11-04 11:47 ` Laurent Pinchart
2012-11-09 15:57   ` AW: " Florian Neuhaus
2012-11-15  0:15     ` [PATCH] ad5820: Voice coil motor controller driver Laurent Pinchart
2012-12-02 22:24       ` Sakari Ailus
2012-11-15  0:28     ` AW: [omap3-isp-live] Autofocus buffer interpretation of H3A engine Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox