summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSunita Nadampalli2013-09-13 06:35:59 -0500
committerSunita Nadampalli2013-09-13 06:35:59 -0500
commit2cf98af97f1e826818dafdfe4139506bf4778751 (patch)
tree98af2bf7d4cd07c5a7984f7dcaf561282157ea96 /README
parent2951de0afaf2ce000d37ec8505b27b05924012dd (diff)
downloadhardware-ti-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.tar.gz
hardware-ti-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.tar.xz
hardware-ti-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.zip
[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 <sunitan@ti.com>
Diffstat (limited to 'README')
-rw-r--r--README15
1 files changed, 14 insertions, 1 deletions
diff --git a/README b/README
index 6db110e..28c63d1 100644
--- a/README
+++ b/README
@@ -109,9 +109,18 @@ Clean:
109 109
110######################### For Android ######################### 110######################### For Android #########################
111 111
112Project clone:
113 This project is included into Android manifest and cloned into Android Filesystem.
112 114
115Building:
116 "make" at Android root level will build libdce libraries along with filesystem.
117 for individual component building, execute the below command
113 118
119 cd mydroid/hardware/ti/omap4xxx
120 mm
114 121
122Location of binary:
123 libdce.so is created at mydroid/out/target/product/jacinto6evm/system/lib/
115 124
116 125
117******************************* API DETAILS ******************************* 126******************************* API DETAILS *******************************
@@ -179,8 +188,12 @@ XDAS_Int32 VIDDEC3_control(VIDDEC3_Handle codec, VIDDEC3_Cmd id,
179 * @ param inBufs [in] : Pointer to Input Buffer Descriptor structure 188 * @ param inBufs [in] : Pointer to Input Buffer Descriptor structure
180 * of codec allocated using dce_alloc() API. 189 * of codec allocated using dce_alloc() API.
181 * inBufs->descs[0].buf should have a virtual pointer 190 * inBufs->descs[0].buf should have a virtual pointer
182 * to the Input Buffer in QNX. In Linux/Android, it 191 * to the Input Buffer in QNX. In Linux, it
183 * should have a DMA Buf FD to the Input Buffer. 192 * should have a DMA Buf FD to the Input Buffer.
193 * In Android, it should have the ptr returned from
194 * memplugin, and the memheader->offset should have
195 * the offset for the actual data within the input buffer;
196 * memheader->offset = pInBufHeader->nOffset;
184 * @ param outBufs [in] : Pointer to Output Buffer Descriptor structure 197 * @ param outBufs [in] : Pointer to Output Buffer Descriptor structure
185 * of codec allocated using dce_alloc() API. 198 * of codec allocated using dce_alloc() API.
186 * outBufs->descs[0].buf and outBufs->descs[1].buf 199 * outBufs->descs[0].buf and outBufs->descs[1].buf