OpenMAX components have input buffers to give data to the component and output buffers to return data either to the application or to the next component in a pipeline. This chapter looks at buffer management both using OpenMAX and using the IL Client library on the Raspberry Pi.
You can build the programs in this chapter using the following Makefile:
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/linux
OMX_INC = -I /opt/vc/include/IL ...