Adding support for the 'Zynq UltraScale+' as a new OMX target.
See https://www.xilinx.com/products/silicon-devices/soc/zynq-ultrascale-mpsoc.html
for details about the platform.
https://bugzilla.gnome.org/show_bug.cgi?id=783097
-SUBDIRS = bellagio rpi
+SUBDIRS = bellagio rpi zynqultrascaleplus
subdir ('rpi')
elif omx_target == 'bellagio'
subdir ('bellagio')
+elif omx_target == 'zynqultrascaleplus'
+ subdir ('zynqultrascaleplus')
endif
--- /dev/null
+EXTRA_DIST = gstomx.conf
+
+if USE_OMX_TARGET_ZYNQ_USCALE_PLUS
+configdir = $(sysconfdir)/xdg
+config_DATA = gstomx.conf
+endif
--- /dev/null
+[omxh264enc]
+type-name=GstOMXH264Enc
+core-name=/usr/lib/libOMX.allegro.core.so.1
+component-name=OMX.allegro.h264.encoder
+in-port-index=0
+out-port-index=1
+rank=257
+hacks=no-disable-outport
+
+[omxh264dec]
+type-name=GstOMXH264Dec
+core-name=/usr/lib/libOMX.allegro.core.so.1
+component-name=OMX.allegro.h264.decoder
+in-port-index=0
+out-port-index=1
+rank=257
+hacks=no-disable-outport
--- /dev/null
+install_data (['gstomx.conf'], install_dir : omx_conf_dir)
LDFLAGS="${SAVED_LDFLAGS}" LIBS="${SAVED_LIBS}"])
AC_ARG_WITH([omx-target],
- AS_HELP_STRING([--with-omx-target],[Use this OpenMAX IL target (generic, bellagio, rpi)]),
+ AS_HELP_STRING([--with-omx-target],[Use this OpenMAX IL target (generic, bellagio, rpi, zynqultrascaleplus)]),
[ac_cv_omx_target="$withval"], [ac_cv_omx_target="none"])
ac_cv_omx_target_struct_packing="none"
bellagio)
AC_DEFINE(USE_OMX_TARGET_BELLAGIO, 1, [Use Bellagio OpenMAX IL target])
;;
+ zynqultrascaleplus)
+ AC_DEFINE(USE_OMX_TARGET_ZYNQ_USCALE_PLUS, 1, [Use Zynq UltraScale+ OpenMAX IL target])
+ ;;
none|*)
- AC_ERROR([invalid OpenMAX IL target, you must specify one of --with-omx-target={generic,rpi,bellagio}])
+ AC_ERROR([invalid OpenMAX IL target, you must specify one of --with-omx-target={generic,rpi,bellagio,zynqultrascaleplus}])
;;
esac
AM_CONDITIONAL(USE_OMX_TARGET_GENERIC, test "x$ac_cv_omx_target" = "xgeneric")
AM_CONDITIONAL(USE_OMX_TARGET_BELLAGIO, test "x$ac_cv_omx_target" = "xbellagio")
AM_CONDITIONAL(USE_OMX_TARGET_RPI, test "x$ac_cv_omx_target" = "xrpi")
+AM_CONDITIONAL(USE_OMX_TARGET_ZYNQ_USCALE_PLUS, test "x$ac_cv_omx_target" = "xzynqultrascaleplus")
AC_ARG_WITH([omx-struct-packing],
AS_HELP_STRING([--with-omx-struct-packing],[Force OpenMAX struct packing, (default is none)]),
config/Makefile
config/bellagio/Makefile
config/rpi/Makefile
+config/zynqultrascaleplus/Makefile
examples/Makefile
examples/egl/Makefile
m4/Makefile
endif
elif omx_target == 'bellagio'
cdata.set('USE_OMX_TARGET_BELLAGIO', 1)
+elif omx_target == 'zynqultrascaleplus'
+ cdata.set('USE_OMX_TARGET_ZYNQ_USCALE_PLUS', 1)
else
error ('Unsupported omx target specified. Use the -Dwith_omx_target option')
endif
option('with_omx_header_path', type : 'string', value : '', description : 'An extra include directory to find the OpenMax headers')
-option('with_omx_target', type : 'combo', choices : ['none', 'generic', 'rpi', 'bellagio'], value : 'none', description : 'The OMX platform to target')
+option('with_omx_target', type : 'combo', choices : ['none', 'generic', 'rpi', 'bellagio', 'zynqultrascaleplus'], value : 'none', description : 'The OMX platform to target')
option('with_omx_struct_packing', type : 'combo', choices : ['0', '1', '2', '4', '8'], value : '0', description : 'Force OpenMAX struct packing')