RaspiVid: Fix file splitting code.

File splitting code was failing to write the first set of
header bytes to all except the first file due to a bug
introduced by the circular buffer handling.
See http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=76172
Merge pull request #168 from 6by9/master

RaspiVid: Fix file splitting code.
Option to save the inline motion vectors to a file

The option "-x filename" will save the inline motion vector buffer in raw format.
Two example programs where added to host_applications/linux/apps/raspicam/imv_examples/
to show how to post-process these buffers.
Update README.md
Added copyright to the new created c files
Merge pull request #172 from ethanol100/InlineMotionVectors

Inline motion vectors
gpu_fft: Update help file to describe issues when using with 3d
egl: remove assert on surface size - zero sized surfaces are okay
userland: User /bin/bash for buildme script
mmal: Adds the two new effects parameters

    MMAL_PARAM_IMAGEFX_DEINTERLACE_DOUBLE and
    MMAL_PARAM_IMAGEFX_DEINTERLACE_ADV
hello_fft: Add qasm source files
display: Add support for 32bpp palettes
tvservice: Make HDMI attached messages less ambiguous
Add DRC (Dynamic range compression) enable/disable to the raspicamcontrol code
Needs an associated firmware change to include the DRC stage
Merge pull request #181 from JamesH65/drc

Add DRC (Dynamic range compression)
Added a default for DRC, and also added the DRC options to the help text.
Merge pull request #183 from JamesH65/drc

Added a default for DRC, and added the DRC options to the help text.
hello_fft: fix warning during build
video_render: Add config option to read rendering statistics
imagefx: Add new effect to convert 3D video to anaglyph