diff options
author | Anu Sundararajan <sanuradha@ti.com> | 2011-06-22 12:24:46 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-06-23 18:35:24 -0700 |
commit | d35df4412bc2218bb0d22522bd366123b8e6400c (patch) | |
tree | 7ec2de6c24a6d328ac0c031c2b82d3fdf96d6871 /include | |
parent | fe35597064cec2a290c0107727000788c336ae31 (diff) | |
download | frameworks_base-d35df4412bc2218bb0d22522bd366123b8e6400c.zip frameworks_base-d35df4412bc2218bb0d22522bd366123b8e6400c.tar.gz frameworks_base-d35df4412bc2218bb0d22522bd366123b8e6400c.tar.bz2 |
Integrating TI OMAP4 Video Decoder
Added the video decoder component name to kDecoderInfo.
Set the quirks for the video decoder.
Add a new color format to OMX_IVCommon.h to denote TI OMAP4 NV12 color format.
Added a color conversion routine [ from NV12 to RGB ] for thumbnail generation.
Change-Id: I6b23c36441645ef65ec7406ba262d19f89cf64fd
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
Signed-off-by: Sreenidhi Koti <sreenidhi@ti.com>
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/ColorConverter.h | 3 | ||||
-rw-r--r-- | include/media/stagefright/openmax/OMX_IVCommon.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/media/stagefright/ColorConverter.h b/include/media/stagefright/ColorConverter.h index 2ae8a5b..85ba920 100644 --- a/include/media/stagefright/ColorConverter.h +++ b/include/media/stagefright/ColorConverter.h @@ -76,6 +76,9 @@ private: status_t convertYUV420SemiPlanar( const BitmapParams &src, const BitmapParams &dst); + status_t convertTIYUV420PackedSemiPlanar( + const BitmapParams &src, const BitmapParams &dst); + ColorConverter(const ColorConverter &); ColorConverter &operator=(const ColorConverter &); }; diff --git a/include/media/stagefright/openmax/OMX_IVCommon.h b/include/media/stagefright/openmax/OMX_IVCommon.h index 12b4f93..7ed072b 100644 --- a/include/media/stagefright/openmax/OMX_IVCommon.h +++ b/include/media/stagefright/openmax/OMX_IVCommon.h @@ -149,6 +149,7 @@ typedef enum OMX_COLOR_FORMATTYPE { OMX_COLOR_Format24BitABGR6666, OMX_COLOR_FormatKhronosExtensions = 0x6F000000, /**< Reserved region for introducing Khronos Standard Extensions */ OMX_COLOR_FormatVendorStartUnused = 0x7F000000, /**< Reserved region for introducing Vendor Extensions */ + OMX_TI_COLOR_FormatYUV420PackedSemiPlanar = 0x7F000100, OMX_QCOM_COLOR_FormatYVU420SemiPlanar = 0x7FA30C00, OMX_COLOR_FormatMax = 0x7FFFFFFF } OMX_COLOR_FORMATTYPE; |