From 2cf98af97f1e826818dafdfe4139506bf4778751 Mon Sep 17 00:00:00 2001 From: Sunita Nadampalli Date: Fri, 13 Sep 2013 06:35:59 -0500 Subject: [LIBDCE] Add Android specific changes This patch adds changes specific to Android OS: (1) Semaphore handling (2) Input buffer offset handling Change-Id: Id6232e0b90e638fd1268ccbfafb51c6ca916fad2 Signed-off-by: Sunita Nadampalli --- README | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 6db110e..28c63d1 100644 --- a/README +++ b/README @@ -109,9 +109,18 @@ Clean: ######################### For Android ######################### +Project clone: + This project is included into Android manifest and cloned into Android Filesystem. +Building: + "make" at Android root level will build libdce libraries along with filesystem. + for individual component building, execute the below command + cd mydroid/hardware/ti/omap4xxx + mm +Location of binary: + libdce.so is created at mydroid/out/target/product/jacinto6evm/system/lib/ ******************************* API DETAILS ******************************* @@ -179,8 +188,12 @@ XDAS_Int32 VIDDEC3_control(VIDDEC3_Handle codec, VIDDEC3_Cmd id, * @ param inBufs [in] : Pointer to Input Buffer Descriptor structure * of codec allocated using dce_alloc() API. * inBufs->descs[0].buf should have a virtual pointer - * to the Input Buffer in QNX. In Linux/Android, it + * to the Input Buffer in QNX. In Linux, it * should have a DMA Buf FD to the Input Buffer. + * In Android, it should have the ptr returned from + * memplugin, and the memheader->offset should have + * the offset for the actual data within the input buffer; + * memheader->offset = pInBufHeader->nOffset; * @ param outBufs [in] : Pointer to Output Buffer Descriptor structure * of codec allocated using dce_alloc() API. * outBufs->descs[0].buf and outBufs->descs[1].buf -- cgit v1.2.3-54-g00ecf