AnsweredAssumed Answered

Capture screenshot in iMX53

Question asked by Devi Swamy on Jul 5, 2016
Latest reply on Jul 5, 2016 by igorpadykov

I am trying to create an app that will capture a snapshot of the display in iMX53. In my display configuration - there are two image layers, fg buffered in /dev/fb2 and bg buffered in /dev/fb0, that are combined using IPU DP block. In my attempt to create this app - I have tried to read the raw image data directly from fb0 and fb2 and using python image library unify their color space formats and then combine the two frames. The problem with this method is there is no guarantee that the frame buffers  (fb2 and fb0) read  are synchronised. Is there a way to directly read back the combined image that is processing on the fly in DP instead of manually combining the frame buffers in the app? In the iMX53 reference manual, there is a brief mention about DC read channel (channel# 40) – can it be used to obtain what I am after and if so, how can do that?

Outcomes