Always use platform_tls_get_check to avoid corruption issue with eglGetDisplay
Add callback function option to vchi_bulk_queue_receive_reloc to specify copy_pagelist function
Add default enum to pixel encodings
Fix bug in length calculation of vc_dispmanx_resource_write_data
Remove warnings and add bitrate option
raspivid: Add option to output to stdout
Add installation targets for required header files.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Make shared libraries more standard.

On most linux distros libraries have their version encoded both in the
binary and it's name. The libname.so file is just a symlink which points
dynamic linker to a specific library version name to be used during
linking.

Besides that it's not normal to have two libraries which depend on each
other. Such circular dependencies are bad and in this case affect both
libEGL and libGLESv2.

This commit tries to address both problems.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Make it possible to override VMCS_INSTALL_PREFIX from command line.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Add pkgconfig files for EGL, GLESv2 and bcm_host libraries.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Only subsitute VMCS_INSTALL_PREFIX in pkgconfig files.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Working solution for libEGL<->libGLESv2 circular dependency problem.

Both libraries cannot exists stand alone. One always needs another. In
such case it's a better idea to merge them into one lib. Symlinks and
pkgconig files have been provided for compatibility.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Generate bcm_host.pc in binary not source dir.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Fix some compiler warnings reported by gcc 4.7.2

At least some of them look like potentian bugs.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Add soversion to mmal_core, mmal_util.

Signed-off-by: Peter Tworek <tworaz666@gmail.com>