Hi All,
Using the param "dm365_imp.oper_mode", The Davinci Previewer module can be configured to continue or single shot mode.
I also see the follow commentation in head file "dm365_ipipe.h".
* VPFE hardware setup
*
* case 2: Capture to SDRAM with IPIPE Preview modules in Continuous (On the Fly mode)
*
* Image sensor/ ________ ____________________
* Yuv decoder ---->| CCDC |--> | Previewer modules |--> SDRAM
* |______| |___________________|
*
* case 3: Capture to SDRAM with IPIPE Preview modules & Resizer in continuous (On the Fly mode)
*
* Image sensor/ ________ _____________ ___________
* Yuv decoder ---->| CCDC |--> | Previewer |->| Resizer |-> SDRAM
* |______| |____________| |__________|
*
* case 4: Capture to SDRAM with IPIPE Resizer in continuous (On the Fly mode)
*
* Image sensor/ ________ ___________
* Yuv decoder ---->| CCDC |--> | Resizer |-> SDRAM
* |______| |__________|
*
* case 5: Read from SDRAM and do preview and/or Resize in Single shot mode
*
* _____________ ___________
* SDRAM ----> | Previewer |->| Resizer |-> SDRAM
* |____________| |__________|
*
Now I'm working on a 5M pixel camera project, because of the limited of 2176 pixels per horizontal line in the DM365 VPFE. I had to divide the raw data into 2 parts and pass them to the vpfe individually.
And using boot args "dm365_imp.oper_mode=0", I modified the demo of "do_preview_resize.c" and have realized the conversion from 5M(2592x1944) RAW to 5M YUV in Single shot mode. At same time , using boot args "dm365_imp.oper_mode=1", I can capture 5M(2592x1944) RAW to SDRAM from sensor MT9P031 of LI-5M02 in continuous mode.
I want to realize the working flow is: Caputre 5M RAW image data, split to 2 parts and convert to YUV format data separately through Previewer, then unite to 5M YUV on DDR2, and at last to encode to JPEG.
So I design the following flow:
* case 6: Capture to SDRAM , Read from SDRAM and do preview and/or Resize in continuous mode
*
* Image sensor/ _________ _____________ ___________
* Yuv decoder ---->| CCDC |-> SDRAM-> | Previewer |->| Resizer |-> SDRAM
* |_________| |____________| |_____________|
Is it can realize? Can you give me more better advice?
What is the difference between the signal shot and continuous mode?
Thanks!
Best regards;