Commit 6adedc89 authored by Martin Storsjö's avatar Martin Storsjö

omxil: Add a configure option for enabling raspberry pi specific omx code

Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent a6dee1e4
...@@ -2132,6 +2132,17 @@ then ...@@ -2132,6 +2132,17 @@ then
VLC_ADD_PLUGIN([omxil_vout]) VLC_ADD_PLUGIN([omxil_vout])
fi fi
dnl
dnl raspberry pi openmax il configuration
dnl
AC_ARG_ENABLE(rpi-omxil,
[ --enable-rpi-omxil openmax il configured for raspberry pi (default disabled)])
if test "${enable_rpi_omxil}" = "yes"
then
VLC_ADD_PLUGIN([omxil omxil_vout])
VLC_ADD_CFLAGS([omxil omxil_vout],[-DRPI_OMX])
fi
dnl dnl
dnl CrystalHD codec plugin dnl CrystalHD codec plugin
dnl dnl
......
...@@ -187,11 +187,11 @@ libomxil_plugin_la_SOURCES = \ ...@@ -187,11 +187,11 @@ libomxil_plugin_la_SOURCES = \
h264_nal.h \ h264_nal.h \
omxil/qcom.c omxil/qcom.h \ omxil/qcom.c omxil/qcom.h \
omxil/omxil.c omxil/omxil.h omxil/omxil_core.c omxil/omxil_core.h omxil/omxil.c omxil/omxil.h omxil/omxil_core.c omxil/omxil_core.h
libomxil_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil libomxil_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil $(CFLAGS_omxil)
libomxil_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL) libomxil_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL)
libomxil_vout_plugin_la_SOURCES = omxil/vout.c omxil/omxil_core.c omxil/utils.c omxil/qcom.c libomxil_vout_plugin_la_SOURCES = omxil/vout.c omxil/omxil_core.c omxil/utils.c omxil/qcom.c
libomxil_vout_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil libomxil_vout_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil $(CFLAGS_omxil_vout)
libomxil_vout_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL) libomxil_vout_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL)
libiomx_plugin_la_SOURCES = $(libomxil_plugin_la_SOURCES) libiomx_plugin_la_SOURCES = $(libomxil_plugin_la_SOURCES)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment