aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorSunita Nadampalli2013-12-11 13:22:38 -0600
committerSunita Nadampalli2013-12-11 13:22:38 -0600
commit50f233c4d3a969065fcbe9767a7ebde6ac5690d8 (patch)
tree548e1340552c66612af71b4e4650228afd5e47dd /README
parent33343d01a3fe529ab6b1f4060607162047241b5a (diff)
downloadrepo-libdce-50f233c4d3a969065fcbe9767a7ebde6ac5690d8.tar.gz
repo-libdce-50f233c4d3a969065fcbe9767a7ebde6ac5690d8.tar.xz
repo-libdce-50f233c4d3a969065fcbe9767a7ebde6ac5690d8.zip
[LIBDCE]: Changes to make Encoder and Decoder co-exist on Android
In the current design omx video decoder is sending ptr for inbufs and dma_buf_fd for the outbufs to the dce client. In order to co-exist with encoder the inbufs/outbufs interpretation is unified between encoder and decoder. this is achieved by passing the memheader for both inbufs and outbufs for both encoder and decoders. This patch modified the process function to handle memheader for all Android scenarios (inbufs/outbufs for encoder/decoder) With this unified buf interpretation, the process function simplified for Android. Note# This patch has should be merged along with the omx patch: http://review.omapzoom.org/#/c/34414/ Change-Id: Ia89ef9785ddf702bca986ce6b4a91983fb8bcc11 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 7 insertions, 4 deletions
diff --git a/README b/README
index 28c63d1..f715848 100644
--- a/README
+++ b/README
@@ -190,8 +190,8 @@ XDAS_Int32 VIDDEC3_control(VIDDEC3_Handle codec, VIDDEC3_Cmd id,
190 * inBufs->descs[0].buf should have a virtual pointer 190 * inBufs->descs[0].buf should have a virtual pointer
191 * to the Input Buffer in QNX. In Linux, it 191 * to the Input Buffer in QNX. In Linux, it
192 * 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 193 * In Android, it should have the memheader pointer
194 * memplugin, and the memheader->offset should have 194 * and the memheader->offset should have
195 * the offset for the actual data within the input buffer; 195 * the offset for the actual data within the input buffer;
196 * memheader->offset = pInBufHeader->nOffset; 196 * memheader->offset = pInBufHeader->nOffset;
197 * @ param outBufs [in] : Pointer to Output Buffer Descriptor structure 197 * @ param outBufs [in] : Pointer to Output Buffer Descriptor structure
@@ -199,8 +199,11 @@ XDAS_Int32 VIDDEC3_control(VIDDEC3_Handle codec, VIDDEC3_Cmd id,
199 * outBufs->descs[0].buf and outBufs->descs[1].buf 199 * outBufs->descs[0].buf and outBufs->descs[1].buf
200 * should have virtual pointers to the Output 200 * should have virtual pointers to the Output
201 * Luma and Chroma Buffers respectively in QNX. 201 * Luma and Chroma Buffers respectively in QNX.
202 * In Linux/Android, these fields should have 202 * In Linux these fields should have
203 * DMA Buf FDs to the Output Buffers. 203 * DMA Buf FDs to the Output Buffers. In Android
204 * these fields should have the memheader pointer,
205 * and the memheader->offset should have the offset
206 * for the actual data with in the outbuffer.
204 * @ param inArgs [in] : Pointer to Input Arguments structure 207 * @ param inArgs [in] : Pointer to Input Arguments structure
205 * of codec allocated using dce_alloc() API. 208 * of codec allocated using dce_alloc() API.
206 * @ param outArgs [out] : Pointer to Output Arguments structure 209 * @ param outArgs [out] : Pointer to Output Arguments structure