author | Sunita Nadampalli <sunitan@ti.com> | |
Wed, 11 Dec 2013 19:22:38 +0000 (13:22 -0600) | ||
committer | Sunita Nadampalli <sunitan@ti.com> | |
Wed, 11 Dec 2013 19:22:38 +0000 (13:22 -0600) | ||
commit | 50f233c4d3a969065fcbe9767a7ebde6ac5690d8 | |
tree | 548e1340552c66612af71b4e4650228afd5e47dd | tree | snapshot (tar.xz tar.gz zip) |
parent | 33343d01a3fe529ab6b1f4060607162047241b5a | commit | diff |
[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>
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>
README | diff | blob | history | |
libdce.c | diff | blob | history |