wip: Increase number of omx buffers for direct rendering.

To activate direct rendering the vlc core requires enough buffers to store the
dpb (makes not much sense with omx...) and the internally kept references. For
mpeg2 this is 14. Hence increase the buffercount to 14 for testing.

This is not meant to go mainline like this!
omx: bcm: Add non-absolute library paths.

Not all distributions install the broadcom libraries in the broadcom default
path /opt/vc/lib. To supprt those the default system paths should be searched
as well.

Signed-off-by: Julian Scheel <julian@jusst.de>
Remove AI_IDN flags
omxil: Allow generic use of PrintOmx.

PrintOmx is not actually specific to the decoder module and can be handy in
all other omx modules as well. Therefor remove the linkage to decoder_t and
allow generic use with any vlc object. That pointer is used solely for debug
printing.

Signed-off-by: Julian Scheel <julian@jusst.de>
omxil: Provide function pointer for bcm debug.

The broadcom OMX implementation contains a handy debug function, which we load
now.

Signed-off-by: Julian Scheel <julian@jusst.de>
omxil: vout: Do not block in LockSurface when fifo is empty.

Instead of blocking when LockSurface can't get an omx bufferheader it should
return with an error to prevent deadlocks in VLC core.

Signed-off-by: Dennis Hamester <dhamester@jusst.de>
Signed-off-by: Julian Scheel <julian@jusst.de>
omxil: vout: Output images directly in Display

Instead of waiting for an Image to be released to display it, directly call
OmxEmptyThisBuffer to display the image as soon as possible. This also avoids
a race-condition, where the omx bufferheaders fifo could run empty while
actual pictures are available in the picture pool.

Signed-off-by: Dennis Hamester <dhamester@jusst.de>
Signed-off-by: Julian Scheel <julian@jusst.de>
wip: vout_wrapper: Increase private picture count from 4 to 7

As the omxil deinterlace filter can consume up to 5 pictures in parallel (2 in
the deinterlace filter, 2 headed to the output, 1 being prepared) the desired
count of filter reserved pictures of 3 is not sufficient anymore. Increase it
to 6, and hence the total count to 7.
Maybe this should be redesigned to be configurable depending on the used
filter plugins.
wip: omxil: rpi: deinterlace filter

This implements a deinterlace filter based on the broadcom image_fx component.
It should be automatically selected if deinterlacing is enabled in vlcrc and this
module is built.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Dennis Hamester <dhamester@jusst.de>