Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update the library to support access to advance codec parameters

in the latest versions of the EZSDK. Improve documentation and
fix include paths on the pkgconfig
  • Loading branch information...
commit dd3c5ee30d21a50fec75e1edabb5da4ef84f0b46 1 parent 1eeb31b
Diego Dompe authored
View
3  Makefile.am
@@ -32,6 +32,9 @@ libOMX_Core.pc: $(srcdir)/libOMX_Core.pc.in
-e "s?@&VERSION@?@VERSION@?" \
-e "s?@&OMXVERSION@?@OMXVERSION@?" \
-e "s?@OMX_INSTALL_DIR@?$(OMX_INSTALL_DIR)?" \
+ -e "s?@CE_INSTALL_DIR@?$(CE_INSTALL_DIR)?" \
+ -e "s?@FC_INSTALL_DIR@?$(FC_INSTALL_DIR)?" \
+ -e "s?@XDAIS_INSTALL_DIR@?$(XDAIS_INSTALL_DIR)?" \
-e "s?@XDC_INSTALL_DIR@?$(XDC_INSTALL_DIR)?" \
-e "s?@KERNEL_INSTALL_DIR@?$(KERNEL_INSTALL_DIR)?g" \
$< > $@
View
3  Makefile.in
@@ -749,6 +749,9 @@ libOMX_Core.pc: $(srcdir)/libOMX_Core.pc.in
-e "s?@&VERSION@?@VERSION@?" \
-e "s?@&OMXVERSION@?@OMXVERSION@?" \
-e "s?@OMX_INSTALL_DIR@?$(OMX_INSTALL_DIR)?" \
+ -e "s?@CE_INSTALL_DIR@?$(CE_INSTALL_DIR)?" \
+ -e "s?@FC_INSTALL_DIR@?$(FC_INSTALL_DIR)?" \
+ -e "s?@XDAIS_INSTALL_DIR@?$(XDAIS_INSTALL_DIR)?" \
-e "s?@XDC_INSTALL_DIR@?$(XDC_INSTALL_DIR)?" \
-e "s?@KERNEL_INSTALL_DIR@?$(KERNEL_INSTALL_DIR)?g" \
$< > $@
View
13 README
@@ -1,11 +1,16 @@
-libOMX library for DM81xx SoC
+libOMX library for DM81xx SoC by RidgeRun
The EZSDK provides OMX components in non Linux-friendly format for autotools
or others, so this library takes the components from the EZSDK and creates
and easy to use library with Linux standards (we even provide a pkgconfig file).
-To build all you need to do is to pass the argument --with-ezsdkdir to the configure
-or setup the environment variable EZSDKDIR when calling configure
+You require to patch your EZSDK with the files in the patches directory. These are
+small changes that ensure that your libraries will build correctly against the
+library when using the flags from the pkgconfig file.
+
+To build all you need to do is to pass the following arguments:
+ --with-ezsdkdir to configure the location of the ezsdk directory
+ --with-platform to configure which platform to build for (ti814x-evm or ti816x-evm)
This library always target the latest EZSDK, for older EZSDK releases see the
-corresponding branch.
+corresponding branch.
View
2  configure
@@ -10510,7 +10510,7 @@ fi
if test -z $TARGETPLATFORM ; then
- as_fn_error $? "you need to provide the platform that you are using!" "$LINENO" 5
+ as_fn_error $? "you need to provide the platform that you are using: ti814x-evm or ti816x-evm" "$LINENO" 5
fi
View
2  configure.ac
@@ -34,7 +34,7 @@ AC_ARG_WITH(platform,
)
if test -z $TARGETPLATFORM ; then
- AC_MSG_ERROR([you need to provide the platform that you are using!])
+ AC_MSG_ERROR([you need to provide the platform that you are using: ti814x-evm or ti816x-evm])
fi
View
13 libOMX_Core.pc.in
@@ -8,13 +8,10 @@ Description: OMX Components for DM81xx
Version: @&VERSION@
Libs: -L${libdir} -lOMX_Core
Cflags: -Dxdc_target_name__=GCArmv5T -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc__RESTRICT__ \
--I@OMX_INSTALL_DIR@/include/openMaxv11 \
--I@OMX_INSTALL_DIR@/packages \
+-D_LOCAL_CORE_a8host_ -DGlobal_appTerminate=0 -DGlobal_GrpxDssMsgHeapId=6 -DGlobal_TilerHeapId=7 -D_VIDEO_M3_DYNAMIC_CONFIG \
+-DCODEC_H264ENC -DCODEC_H264DEC -DCODEC_MPEG4DEC -DCODEC_MPEG4ENC -DCODEC_MPEG2DEC -DCODEC_VC1DEC \
-I@OMX_INSTALL_DIR@/include \
--I@OMX_INSTALL_DIR@/packages/ti/omx/comp/ctrl \
--I@OMX_INSTALL_DIR@/packages/ti/omx/interfaces/openMaxv11 \
--I@OMX_INSTALL_DIR@/packages/ti/omx/comp/vfpc \
--I@OMX_INSTALL_DIR@/packages/ti/omx/comp/vfdc \
--I@OMX_INSTALL_DIR@/packages/ti/omx/comp/ctrl \
+-I@OMX_INSTALL_DIR@/src/ti/omx/interfaces/openMaxv11 \
-I@KERNEL_INSTALL_DIR@/include -I@KERNEL_INSTALL_DIR@/arch/arm/include \
--I@XDC_INSTALL_DIR@/packages
+-I@XDC_INSTALL_DIR@/packages -I@CE_INSTALL_DIR@/packages \
+-I@XDAIS_INSTALL_DIR@/packages -I@FC_INSTALL_DIR@/packages
View
26 patches/add-missing-xdc-header-include.patch
@@ -0,0 +1,26 @@
+Index: ezsdk-5_03_00_09/component-sources/omx_05_02_00_26/include/OMX_TI_Video.h
+===================================================================
+--- ezsdk-5_03_00_09.orig/component-sources/omx_05_02_00_26/include/OMX_TI_Video.h 2011-12-23 09:35:05.461812640 -0600
++++ ezsdk-5_03_00_09/component-sources/omx_05_02_00_26/include/OMX_TI_Video.h 2011-12-23 09:35:23.999221898 -0600
+@@ -57,6 +57,8 @@
+ #include "OMX_Core.h"
+
+ #ifdef _VIDEO_M3_DYNAMIC_CONFIG
++#include <xdc/std.h>
++
+ #include <ti/sdo/ce/video2/videnc2.h>
+ #include <ti/sdo/ce/video3/viddec3.h>
+ #ifdef CODEC_H264ENC
+Index: ezsdk-5_03_00_09/component-sources/omx_05_02_00_26/src/ti/omx/interfaces/openMaxv11/OMX_TI_Video.h
+===================================================================
+--- ezsdk-5_03_00_09.orig/component-sources/omx_05_02_00_26/src/ti/omx/interfaces/openMaxv11/OMX_TI_Video.h 2011-12-23 09:35:58.649975633 -0600
++++ ezsdk-5_03_00_09/component-sources/omx_05_02_00_26/src/ti/omx/interfaces/openMaxv11/OMX_TI_Video.h 2011-12-23 09:36:26.426238494 -0600
+@@ -57,6 +57,8 @@
+ #include "OMX_Core.h"
+
+ #ifdef _VIDEO_M3_DYNAMIC_CONFIG
++#include <xdc/std.h>
++
+ #include <ti/sdo/ce/video2/videnc2.h>
+ #include <ti/sdo/ce/video3/viddec3.h>
+ #ifdef CODEC_H264ENC
Please sign in to comment.
Something went wrong with that request. Please try again.