December 2016
Intermediate to advanced
448 pages
10h 11m
English
© Jan Newmarch 2017
Jan Newmarch, Raspberry Pi GPU Audio Video Programming , 10.1007/978-1-4842-2472-4_4
Jan Newmarch1
(1)Oakleigh, Victoria, Australia
Dispmanx is the lowest level of programming for the RPi’s GPU. I don’t go very deeply into it in this chapter, but you’ll learn enough to get a native window for use by other toolkits.
The following is a Makefile to build the program in this chapter:
DMX_INC = -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linuxINCLUDES = $(DMX_INC)CFLAGS = $(INCLUDES)CPPFLAGS = -march=armv7-a -mtune=cortex-a7DMX_LIBS = -L/opt/vc/lib/ -lbcm_host -lvcos -lvchiq_arm -lpthreadLDFLAGS ...
Read now
Unlock full access