omap3isp, omap3-isp-live, mt9p031: snapshot-mode causing picture corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent

I'm still modifying your omap3-isp-live application to fit our needs.
Now I have severe problems with the snapshot-mode.

When I let the "live"-app running, the picture is fine. Then I capture
a snapshot by clicking the right mouse-button. The snapshot is taken
(1-2 seconds) and displayed on the LCD. Now the picture is corrupted.
Only the lower part of the picture looks good (altough it has a
green cast):

https://www.dropbox.com/s/ijk1nq8nrhlobfd/bad-snapshot.jpg

When I now resume the viewfinder, then a moving picture is shown, but
also partially corrupted (not a lot - just about the last 50 lines).
If I do the switching (viewfinder<->snapshot) several times, the
hardware locks completely up.

My hardware is as usual ;)
beagleboard-xm
kernel 3.7
mt9p031 running at 96Mhz (instead of 48Mhz, problem?)
lcd 800x480
vrfb with rotate 3

Further testing:
It also happens with vrfb disabled.
If I manually load a picture from disk into the resizer-input 
(in the function snapshot_process) while in snapshot-mode, the picture
is displayed correctly. 
It seems that the picture taken from the snapshot-pipeline is "dirty".
The buffer-sizes are correct though. Furthermore the snapshot-pipeline
looks nearly the same as the viewfinder-pipeline...

streaming-pipeline: http://pastebin.com/7qXtqXNz
during-snapshot-pipeline: http://pastebin.com/L5XE0h30
display-snapshot-pipeline: http://pastebin.com/dZ0zzHyC

I really have to get this working... any workarounds, dirty hacks or
ideas (or even fixes ;)) are very welcome!

Regards,

Florian

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux