Update frame rate settings to work correctly with new fixes to
exposure in the firmware.
Merge pull request #148 from JamesH65/framerate_fixes

Update frame rate settings to work correctly
Changes for high frame rate modes and full FOV preview modes for stills
hello_pi: Update the texture coordinates to match latest firmware
See: https://github.com/raspberrypi/firmware/issues/256
Fix for two bugs
1. Bitrate needs to be set to 0 on OUTPUT port of encoder otherwise
it doesnt pick up the frame rate on its input port when connected
2. Filename incorrectly copied without terminator when set.
Merge pull request #154 from JamesH65/framerate_and_filename_fixes

Fix for two bugs
mmal: Add controls for manual AWB gains
mmal: Add controls for enabling SEI
Patched in DavidS changes to fix up the preview modes
Merge in the fixed AWB changes from DavidS
Merge pull request #157 from JamesH65/preview_fixes2

Patched in DavidS changes to fix up the preview modes
Merge pull request #158 from JamesH65/fixed_awb_fix

Merge in the fixed AWB changes from DavidS
Fix vcos_semaphore_wait_timeout

vcos_semaphore_wait_timeout uses sem_timedwait() internally. sem_timedwait
expects an absolute timespec instead of a relative one. So it has to be
computed. Furthermore sem_timedwait has only one error return code (-1) and
uses errno to signal the actual error reason. In case of EINTR the waitinig
was interrupted by a signal and shall be continued.

Signed-off-by: Julian Scheel <julian@jusst.de>
mmal: Add queue_timedwait

Implement a blocking wait for the mmal_queue which aborts after a given
timeout.

Signed-off-by: Julian Scheel <julian@jusst.de>
Merge pull request #160 from julianscheel/master

Fix vcos_semaphore_wait_timeout and add mmal_queue_timedwait
ILCamera: Add option to remove all padding from the output images.

Update to MMAL, IL, and RIL Camera to support removing the
padding from output buffers. Buffer size is still the
padded size, but the image will be packed within that
buffer.
vcos: Add prototype for vcos_semaphore_wait_timeout (for GPU side)
tvservice: Add callback unregister with data pointer check

In some circumstances an application may register multiple callback instances
using the same function pointer but differerent data context. To allow proper
unregister of these callbacks add a new method which checks for function
pointer and data pointer before removal.

Signed-off-by: Julian Scheel <julian@jusst.de>
tvservice: Increase max callback count to 5

A maximum callback count of 2 might be too low for some usecases.

Signed-off-by: Julian Scheel <julian@jusst.de>
Merge pull request #162 from julianscheel/master

tvservice: Enhance callback mechanism