© Jan Newmarch 2017

Jan Newmarch, Raspberry Pi GPU Audio Video Programming , 10.1007/978-1-4842-2472-4_15

15. Rendering OpenMAX to OpenGL on the Raspberry Pi

Jan Newmarch

(1)Oakleigh, Victoria, Australia

OpenMAX generally forms a self-contained system that can display videos using the GPU. OpenGL ES is a distinct system that can use the GPU to draw graphics. There is a hook to allow OpenMAX videos to be displayed on OpenGL ES surfaces on the Raspberry Pi, which is discussed in this chapter.

EGLImage

EGL is the platform-independant way of drawing windows for OpenVG and OpenGL ES. OpenMAX has a buffer type corresponding to an EGL window, and this allows OpenMAX to render into windows also used by OpenGL ES.

OpenMAX

OpenMAX uses buffers to pass information ...

Get Raspberry Pi GPU Audio Video Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.