gst_omx_args = ['-DHAVE_CONFIG_H']
configinc = include_directories('.')
-omx_header_path = get_option('with_omx_header_path')
+omx_header_path = get_option('header_path')
if omx_header_path != ''
omx_inc = []
gst_omx_args += ['-I' + omx_header_path]
endif
default_omx_struct_packing = 0
-omx_target = get_option ('with_omx_target')
+omx_target = get_option ('target')
if omx_target == 'generic'
cdata.set('USE_OMX_TARGET_GENERIC', 1)
elif omx_target == 'rpi'
args : gst_omx_args,
include_directories : [omx_inc])
if not have_allegro_header
- error ('Need Allegro OMX headers to build for Zynq UltraScale+. Use with_omx_header_path option to specify the path of those headers.')
+ error ('Need Allegro OMX headers to build for Zynq UltraScale+. Use -Dheader_path option to specify the path of those headers.')
endif
elif omx_target == 'tizonia'
cdata.set('USE_OMX_TARGET_TIZONIA', 1)
tizil_includedir = tizil_dep.get_pkgconfig_variable('includedir')
gst_omx_args += ['-I' + tizil_includedir + '/tizonia']
else
- error ('Unsupported omx target specified. Use the -Dwith_omx_target option')
+ error ('Unsupported omx target specified. Use the -Dtarget option')
endif
extra_video_headers = ''
cdata.set ('HAVE_X11', 1)
endif
-omx_struct_packing = get_option ('with_omx_struct_packing').to_int()
+omx_struct_packing = get_option ('struct_packing').to_int()
if omx_struct_packing == 0
omx_struct_packing = default_omx_struct_packing
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', 'tizonia', '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')
+option('header_path', type : 'string', value : '',
+ description : 'An extra include directory to find the OpenMax headers')
+option('target', type : 'combo',
+ choices : ['none', 'generic', 'rpi', 'bellagio', 'tizonia', 'zynqultrascaleplus'], value : 'none',
+ description : 'The OMX platform to target')
+option('struct_packing', type : 'combo',
+ choices : ['0', '1', '2', '4', '8'], value : '0',
+ description : 'Force OpenMAX struct packing')