BRT Community

General Category => Discussion - EVE => Topic started by: Cyrilou on December 02, 2020, 09:38:49 AM

Title: Possibility to capture frame buffer to bring remote control functionality
Post by: Cyrilou on December 02, 2020, 09:38:49 AM
Is it possible to read the actual frame buffer of the screen to get an image to send it to a remote control client?
Title: Re: Possibility to capture frame buffer to bring remote control functionality
Post by: BRT Community on December 02, 2020, 11:27:51 AM
Hello,

The EVE devices don't use a hardware frame buffer and so this is not accessible. However, you can use the snapshot command to take a snapshot of the screen as an image.

You can get details in 5.72 and 5.73 below. The snapshot command takes a snapshot of the entire screen but you must have sufficient space in RAM_G for the image without overlapping or overwriting any items such as bitmaps or fonts which are being used on the screen. This therefore takes quite a lot of RAM_G for most screen sizes. Snapshot2 allows you to take the snapshot of an area and so you can for example take it line by line and then offload the data to the MCU.
https://brtchip.com/wp-content/uploads/Support/Documentation/Programming_Guides/ICs/EVE/BRT_AN_033_BT81X_Series_Programming_Guide.pdf


We have one example of this in the application note below where we convert to a ppm format (see chapter 10)
https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/BRT_AN_014_FT81X_Simple_PIC_Library_Examples.pdf

Best Regards, BRT Community
Title: Re: Possibility to capture frame buffer to bring remote control functionality
Post by: Cyrilou on December 02, 2020, 02:34:18 PM
Thank you it's just what I wanted.