diff options
author | Srinu Gorle <sgorle@codeaurora.org> | 2014-01-31 16:57:26 +0530 |
---|---|---|
committer | Arun Menon <avmenon@codeaurora.org> | 2014-07-02 12:59:12 -0700 |
commit | 98ef8172f73306c9102d816ac336ffd49ae466d4 (patch) | |
tree | feebcab51b83791abffba28108dc92c982cc4fff /mm-core | |
parent | ac91363dabf0a2050d02428a6357b62a1cd54522 (diff) | |
download | android_hardware_qcom_media-98ef8172f73306c9102d816ac336ffd49ae466d4.tar.gz android_hardware_qcom_media-98ef8172f73306c9102d816ac336ffd49ae466d4.tar.bz2 android_hardware_qcom_media-98ef8172f73306c9102d816ac336ffd49ae466d4.zip |
mm-video: vdec: Separate meta buffers support in secure mode
Extradata is appended at the end of the output buffer
in the normal scenario. But in case of secure playback,
we can not parse the input and output buffers,
therefore extradata support is unavailable in this case.
This change adds the extradata support in case of secure
playback. For secure playback,extradata is now dumped
in the separate meta buffers that enables HLOS to read
and parse it.
Change-Id: Ic4358a519f22a121122098908a596be62497efa6
Diffstat (limited to 'mm-core')
-rw-r--r-- | mm-core/inc/OMX_QCOMExtns.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mm-core/inc/OMX_QCOMExtns.h b/mm-core/inc/OMX_QCOMExtns.h index db1b7cb0..0fd27a5e 100644 --- a/mm-core/inc/OMX_QCOMExtns.h +++ b/mm-core/inc/OMX_QCOMExtns.h @@ -216,6 +216,9 @@ typedef struct OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO OMX_U32 pmem_fd; /** Offset from pmem device base address */ OMX_U32 offset; + OMX_U32 size; + OMX_U32 mapped_size; + OMX_PTR buffer; }OMX_QCOM_PLATFORM_PRIVATE_PMEM_INFO; typedef struct OMX_QCOM_PLATFORM_PRIVATE_ENTRY |