androidmedia: add support for video encoding

https://bugzilla.gnome.org/show_bug.cgi?id=705129
androidmedia: First try to get symbols from the current program, then load libdvm

If the application is using the new ART runtime it will otherwise
load dalvik and start a dalvik VM next to the ART VM.
Does not work very well obviously.
androidmedia: Add a new QCOM color format

It is a NV12 based, aligned to 32 bytes

https://bugzilla.gnome.org/show_bug.cgi?id=730635
glcolorconvert: Fix YUY2 and UYVY support with luminance_alpha

https://bugzilla.gnome.org/show_bug.cgi?id=730666
gl/memory: allocate the correct memory size

and avoid wasting resources we will never need

https://bugzilla.gnome.org/show_bug.cgi?id=730703
glfilter: Remove format information to allow color convert again

We also need to remove the format information,  as glfilter can do
color convertion. This code was imported from videoconvert.

https://bugzilla.gnome.org/show_bug.cgi?id=729861
dvbsrc: Add missing tone ioctl

https://bugzilla.gnome.org/show_bug.cgi?id=730692
opusenc: Use aux vars to minimize critical region

This avoid dead lock between gst_audio_encoder_finish_frame() and
gst_opus_enc_get_property().
Also, now bytes var is set into protected section.

https://bugzilla.gnome.org/show_bug.cgi?id=729882
mpegts: add service list descriptor

https://bugzilla.gnome.org/show_bug.cgi?id=728364
mpegts: add stuffing descriptor

https://bugzilla.gnome.org/show_bug.cgi?id=728364
mpegts: add bouquet name descriptor

https://bugzilla.gnome.org/show_bug.cgi?id=728364
examples: Add support for DVB Service List descriptor
mpegts: Fix Bouquet Name parsing

the field is not length prefixed
examples: Add support for DVB Bouquet Name parsing
amcvideoenc: Unit of bitrate property is now bit/sec

https://bugzilla.gnome.org/show_bug.cgi?id=705129
dvbsrc: fix typo in testing flag

% instead of &

https://bugzilla.gnome.org/show_bug.cgi?id=721869
dvbsrc: map SYS_DVBC_ANNEX_A SYS_DVBC_ANNEX_AC for DVB API < 5.6

https://bugzilla.gnome.org/show_bug.cgi?id=721869
win32: update .def for new symbols
dvb: parsechannels: add delsys property

Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>

https://bugzilla.gnome.org/show_bug.cgi?id=709414
androidmedia: move create_src|sink_caps to gstamc.c

Some hack logic needs also to be present in create_src|sink_caps, for
working around some broken codecs. These hacks are hidden
in color_format/video_format conversion -- the prototypes of these
functions are also changed to include more args for hack judgement.

Also in case of multi-color_formats mapped to one video_format, then
map that video_format back will not give the original color_format, which
causes gst_amc_codec_configure failed with something like
'does not support color format N'.

The new prototype involves with GstAmcCodecInfo and mime, which
ensures the converted color_format is supported by the codec.

A COLOR_FormatYCbYCr to GST_VIDEO_FORMAT_YUY2 mapping is also added, in
order to work around bugs in OMX.k3.video.decoder.avc(which incorrectly
reports supporting COLOR_FormatYCbYCr, which is actually
COLOR_FormatYUV420SemiPlanar). There are already hacks for this in
gst_amc_video_format_to_color_format, gst_amc_color_format_to_video_format
and gst_amc_color_format_info_set, but the codec will still not work(be
ignored because of "has unknown color formats") without adding this mapping.