in-port-index=0
out-port-index=1
hacks=no-component-role;no-disable-outport
-src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ],stream-format=(string)SN12
+src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ]
[omxdec_mpeg4]
type-name=GstOMXMPEG4VideoDec
in-port-index=0
out-port-index=1
hacks=no-component-role;no-disable-outport
-src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ],stream-format=(string)SN12
+src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ]
[omxdec_h263]
type-name=GstOMXH263Dec
in-port-index=0
out-port-index=1
hacks=no-component-role;no-disable-outport
-src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ],stream-format=(string)SN12
+src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ]
[omxdec_h264]
type-name=GstOMXH264Dec
in-port-index=0
out-port-index=1
hacks=no-component-role;no-disable-outport
-src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ],stream-format=(string)SN12
+src-template-caps=video/x-raw,width=(int)[1,1920],height=(int)[1,1080],framerate=(fraction)[ 0/1, MAX ]
[omxdec_vc1]
type-name=GstOMXWMVDec
ptr->handle.dmabuf_fd[1] = gst_omx_tbm_get_bo_fd(ptr->handle.bo[1]);
ptr->data[1] = gst_omx_tbm_get_bo_ptr(ptr->handle.bo[1]);
ptr->size[1] = uv_size;
- ptr->type = MM_VIDEO_BUFFER_TYPE_DMABUF_FD;
+ ptr->type = MM_VIDEO_BUFFER_TYPE_TBM_BO;
ptr->plane_num = 2;
GST_INFO_OBJECT (comp->parent,
"Allocating %d buffer bo[0]:%p bo[1]:%p fd[0]:%d fd[1]:%d size[0]:%d size[1]:%d for %s port %u", i,
Name: gst-omx
Summary: GStreamer plug-in that allows communication with OpenMAX IL components
Version: 1.2.0
-Release: 1
+Release: 2
License: LGPL-2.1+
Group: Multimedia/Framework
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(mm-common)
BuildRequires: model-build-features
-%if "%profile" == "wearable"
-ExclusiveArch:
-%endif
-
%description
gst-openmax is a GStreamer plug-in that allows communication with OpenMAX IL components.
Multiple OpenMAX IL implementations can be used.
%build
./autogen.sh --noconfigure
-export CFLAGS+=" -DEXYNOS_SPECIFIC"
export CFLAGS+=" -DGST_TIZEN_MODIFICATION"
+%if "%profile" == "wearable"
+export CFLAGS+=" -DEXYNOS_SPECIFIC"
+%endif
%ifarch aarch64
%configure --disable-static --prefix=/usr --with-omx-target=exynos64