|
libbluray
|
Application-allocated frame buffer for ARGB overlays. More...
#include <overlay.h>
Data Structures | |
| struct | [struct].dirty |
| Dirty area of frame buffers. More... | |
Data Fields | |
| void(*) | lock (struct bd_argb_buffer_s *) |
| Lock (or prepare) buffer for writing. | |
| void(*) | unlock (struct bd_argb_buffer_s *) |
| Unlock buffer (write complete). | |
| uint32_t * | buf [6] |
| [0] - PG plane, [1] - IG plane, [2] - Background plane. | |
| int | width |
| overlay buffer width (pixels) | |
| int | height |
| overlay buffer height (pixels) | |
| struct | dirty [3] |
| [0] - PG plane, [1] - IG plane, [2] - Background plane | |
Application-allocated frame buffer for ARGB overlays.
When using application-allocated frame buffer DRAW events are executed by libbluray. Application needs to handle only OPEN/FLUSH/CLOSE events.
DRAW events can still be used for optimizations.
| uint32_t* BD_ARGB_BUFFER::buf[6] |
[0] - PG plane, [1] - IG plane, [2] - Background plane.
[3..5] reserved for stereoscopic overlay.