diff options
| author | codeworkx <codeworkx@cyanogenmod.org> | 2012-11-24 14:39:44 +0100 | 
|---|---|---|
| committer | codeworkx <codeworkx@cyanogenmod.org> | 2012-11-30 04:05:54 +0100 | 
| commit | 16be9b2826de9eb129c090b0e8edb75c6c63aad3 (patch) | |
| tree | dcbd6946d8054ad6587efbbd46a12dcbbec0c24e /include | |
| parent | 001573b26e5ccfb6bee9a34837ec4f29d5f73f7f (diff) | |
| download | frameworks_av-16be9b2826de9eb129c090b0e8edb75c6c63aad3.zip frameworks_av-16be9b2826de9eb129c090b0e8edb75c6c63aad3.tar.gz frameworks_av-16be9b2826de9eb129c090b0e8edb75c6c63aad3.tar.bz2  | |
exynos4: libstragefright: add support for samsung colorformat/omx/mfc
Source:
http://git.insignal.co.kr/samsung/exynos/android/platform/frameworks/av/commit/?h=exynos-jb&id=1614612f7ca2a00473d202dbedcb135fadc608ad
Change-Id: Ib40b3cfa1480ecbb69831e7967a81f63719e2ff7
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/stagefright/ACodec.h | 3 | ||||
| -rw-r--r-- | include/media/stagefright/OMXCodec.h | 3 | 
2 files changed, 6 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h index cba8a6b..99548a0 100644 --- a/include/media/stagefright/ACodec.h +++ b/include/media/stagefright/ACodec.h @@ -189,6 +189,9 @@ private:      status_t freeBuffer(OMX_U32 portIndex, size_t i);      status_t allocateOutputBuffersFromNativeWindow(); +#ifdef USE_SAMSUNG_COLORFORMAT +    void setNativeWindowColorFormat(OMX_COLOR_FORMATTYPE &eNativeColorFormat); +#endif      status_t cancelBufferToNativeWindow(BufferInfo *info);      status_t freeOutputBuffersNotOwnedByComponent();      BufferInfo *dequeueBufferFromNativeWindow(); diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h index 583c3b3..2439be6 100644 --- a/include/media/stagefright/OMXCodec.h +++ b/include/media/stagefright/OMXCodec.h @@ -291,6 +291,9 @@ private:      status_t allocateBuffers();      status_t allocateBuffersOnPort(OMX_U32 portIndex); +#ifdef USE_SAMSUNG_COLORFORMAT +    void setNativeWindowColorFormat(OMX_COLOR_FORMATTYPE &eNativeColorFormat); +#endif      status_t allocateOutputBuffersFromNativeWindow();      status_t queueBufferToNativeWindow(BufferInfo *info);  | 
