Changes to OMX IL Core for VP8 support.

Add support to VP8 on omxil-core

Change-Id: I97aa5f2f586a05169b851c53d550183ffca33d0e
Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Changes to OMX Core to support non-Sandboxing case

Added code to load components during OMX_Init() for
non-Chromium case, where libraries are not required
to be preloaded (Chrominum requires preloading due to
Sandboxing).

Also fixed an issue with component unload. The component
Unload was being done when freeing instance handle. However
it should be done during OMX_Deinit() otherwise during
multistream playback FreeHandle for one instance will kill
other active instances.

The two changes are required together since they are for
non-preloading case playback. Hence putting in one patch.

Change-Id: I8a432d63a03a2756a6c54448d498062f7551ee5f
Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Fix hang when port disable called for empty port.

In gst-omx playback, when transitioning component to idle state
the output port is disabled. The call to disable output port
hangs in WaitPortBufferCompletion() in the OMX IL Core. This
is due to a bug where WaitPortBufferCompletion() waits for
buffer free operation to complete on an empty port. Since port
is empty buffer free will never be called. Added check on buffer
count before doing the wait to avoid the hang.

Change-Id: Id572250e4a57c23de28a4bf02fc7f88f3b94a484
Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>