[vlc-devel] [PATCH 0/2] Add mmal deinterlace filter
Julian Scheel
julian at jusst.de
Fri Aug 29 09:19:55 CEST 2014
This series adds a mmal based deinterlace filter. The filter currently can
only handle the mmal opaque picture type. Once the Raspberry firmware is fixed
to make mmal image_fx work with non opaque buffers we can extend it to also
deinterlace other image types.
As the mmal image_fx module requires nearly 20 buffers in its output pipe all
the time we cannot use the vouts picture pool. Instead we create an internal
picture pool in the image filter, which creates pictures that link to mmal
buffer headers. Those buffer headers can be directly sent to the mmal
video_render module, so that no overhead is caused by this approach in terms
of copying image data around.
To be able to use this picture pool approach the vout and deinterlacer need to
use a common picture_sys, which is moved from vout to mmal_picture in the
first commit.
Julian Scheel (2):
mmal: Add shared code for handling mmal pictures
mmal: Add deinterlace filter
modules/hw/mmal/Makefile.am | 8 +-
modules/hw/mmal/deinterlace.c | 522 +++++++++++++++++++++++++++++++++++++++++
modules/hw/mmal/mmal_picture.c | 78 ++++++
modules/hw/mmal/mmal_picture.h | 37 +++
modules/hw/mmal/vout.c | 70 +-----
5 files changed, 653 insertions(+), 62 deletions(-)
create mode 100644 modules/hw/mmal/deinterlace.c
create mode 100644 modules/hw/mmal/mmal_picture.c
create mode 100644 modules/hw/mmal/mmal_picture.h
--
2.1.0
More information about the vlc-devel
mailing list