-SUBDIRS = bellagio rpi exynos
+SUBDIRS = bellagio rpi exynos exynos64
--- /dev/null
+EXTRA_DIST = gstomx.conf
+
+if USE_OMX_TARGET_EXYNOS64
+configdir = $(sysconfdir)/xdg
+config_DATA = gstomx.conf
+endif
--- /dev/null
+[omxdec_mpeg2]
+type-name=GstOMXMPEG2VideoDec
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.MPEG2.Decoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+
+[omxdec_mpeg4]
+type-name=GstOMXMPEG4VideoDec
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.MPEG4.Decoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+
+[omxdec_h263]
+type-name=GstOMXH263Dec
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.H263.Decoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+
+[omxdec_h264]
+type-name=GstOMXH264Dec
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.AVC.Decoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+
+[omxdec_vc1]
+type-name=GstOMXWMVDec
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.WMV.Decoder
+rank=256
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+sink-template-caps=video/x-wmv,wmvversion=(int)3,format=(string){WMV3,WVC1},width=(int)[1,MAX],height=(int)[1,MAX]
+
+[omxenc_h264]
+type-name=GstOMXH264Enc
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.AVC.Encoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+
+[omxenc_mpeg4]
+type-name=GstOMXMPEG4VideoEnc
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.MPEG4.Encoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
+
+[omxenc_h263]
+type-name=GstOMXH263Enc
+core-name=/usr/lib64/libExynosOMX_Core.so
+component-name=OMX.Exynos.H263.Encoder
+rank=258
+in-port-index=0
+out-port-index=1
+hacks=no-component-role
LDFLAGS="${SAVED_LDFLAGS}"])
AC_ARG_WITH([omx-target],
- AS_HELP_STRING([--with-omx-target],[Use this OpenMAX IL target (generic, bellagio, rpi, exynos)]),
+ AS_HELP_STRING([--with-omx-target],[Use this OpenMAX IL target (generic, bellagio, rpi, exynos, exynos64)]),
[ac_cv_omx_target="$withval"], [ac_cv_omx_target="generic"])
ac_cv_omx_target_struct_packing="none"
exynos)
AC_DEFINE(USE_OMX_TARGET_EXYNOS, 1, [Use Exynos OpenMAX IL target])
;;
+ exynos64)
+ AC_DEFINE(USE_OMX_TARGET_EXYNOS64, 1, [Use Exynos64 OpenMAX IL target])
+ ;;
*)
AC_ERROR([invalid OpenMAX IL target])
;;
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_EXYNOS, test "x$ac_cv_omx_target" = "xexynos")
+AM_CONDITIONAL(USE_OMX_TARGET_EXYNOS64, test "x$ac_cv_omx_target" = "xexynos64")
AC_ARG_WITH([omx-struct-packing],
AS_HELP_STRING([--with-omx-struct-packing],[Force OpenMAX struct packing, (default is none)]),
config/bellagio/Makefile
config/rpi/Makefile
config/exynos/Makefile
+config/exynos64/Makefile
)
AC_OUTPUT
ptr->handle.dmabuf_fd[0] = gst_omx_tbm_get_bo_fd(ptr->handle.bo[0]);
ptr->data[0] = gst_omx_tbm_get_bo_ptr(ptr->handle.bo[0]);
ptr->size[0] = port->port_def.nBufferSize;
- ptr->type = MM_VIDEO_BUFFER_TYPE_PHYSICAL_ADDRESS;
+ ptr->type = MM_VIDEO_BUFFER_TYPE_TBM_BO;
}
else { /* output port */
ptr->handle.bo[0] = gst_omx_tbm_allocate_bo(bufMgr, port->port_def.nBufferSize);
ptr->handle.dmabuf_fd[0] = gst_omx_tbm_get_bo_fd(ptr->handle.bo[0]);
ptr->handle.paddr[0] = gst_omx_tbm_get_bo_ptr(ptr->handle.bo[0]);
- ptr->type = MM_VIDEO_BUFFER_TYPE_PHYSICAL_ADDRESS;
+ ptr->type = MM_VIDEO_BUFFER_TYPE_TBM_BO;
ptr->size[0] = port->port_def.nBufferSize;
ptr->handle_num = 1;
}
/*Specific for exynos processors*/
/*if (gst_omx_port_allocate_buffers (self->enc_out_port) != OMX_ErrorNone)*/
if(gst_omx_port_tbm_allocate_enc_buffers(self->hTBMBufMgr,self->enc_out_port,
- self->enc_in_port->port_def.format.video.eCompressionFormat) != OMX_ErrorNone)
+ self->enc_out_port->port_def.format.video.eCompressionFormat) != OMX_ErrorNone)
#else
/* And disable output port */
if (gst_omx_port_set_enabled (self->enc_out_port, FALSE) != OMX_ErrorNone)
Name: gst-omx
Summary: GStreamer plug-in that allows communication with OpenMAX IL components
Version: 1.0.0
-Release: 5
+Release: 6
License: LGPL-2.1+
Group: Multimedia/Framework
Source0: %{name}-%{version}.tar.gz
%build
./autogen.sh --noconfigure
-%ifarch %{arm}
export CFLAGS+=" -DEXYNOS_SPECIFIC"
export CFLAGS+=" -DUSE_TBM"
-%endif
+%ifarch aarch64
+%configure --disable-static --prefix=/usr --with-omx-target=exynos64
+%else
%configure --disable-static --prefix=/usr --with-omx-target=exynos
+%endif
make %{?jobs:-j%jobs}