[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] omx/video/decoder COmxVideoDec.cpp, 1.1.2.22,
From: zlin () helixcommunity ! org
Date: 2011-02-24 2:10:24
Message-ID: 201102240210.p1O2AAHK027225 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/datatype/omx/video/decoder
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29457
Modified Files:
Tag: hxclient_3_6_5_atlas
COmxVideoDec.cpp
Log Message:
Update for 365atlas
Index: COmxVideoDec.cpp
===================================================================
RCS file: /cvsroot/datatype/omx/video/decoder/COmxVideoDec.cpp,v
retrieving revision 1.1.2.22
retrieving revision 1.1.2.22.4.1
diff -u -d -r1.1.2.22 -r1.1.2.22.4.1
--- COmxVideoDec.cpp 17 Nov 2010 03:16:51 -0000 1.1.2.22
+++ COmxVideoDec.cpp 24 Feb 2011 02:10:21 -0000 1.1.2.22.4.1
@@ -59,6 +59,9 @@
*
* ***** END LICENSE BLOCK ***** */
+#define LOG_TAG "MiniAndroidSurface_IOMX"
+#include <utils/Log.h>
+
#include "hxthread.h"
#include "hxslist.h"
#include "pckunpck.h"
@@ -369,23 +372,22 @@
{
m_eColorFormat = vPortParam.eColorFormat;
}
-
switch (m_eColorFormat)
{
case OMX_COLOR_FormatYUV420Planar:
+#ifdef ANDROID
+ // Android site knows how to do optimized display of YUV420
+ // pass it the OMX buffer pointer directly
+ m_mofYUV.submoftag = HX_OMXV_ID;
+#else
m_mofYUV.submoftag = HX_YUV420_ID;
+#endif
break;
case OMX_COLOR_FormatCbYCrY:
m_mofYUV.submoftag = HX_UYVY_ID;
break;
case 0x7FA30C00: //NV21, semi-planer YVU
-#ifdef ANDROID
- // Android site knows how to do optimized display of NV21
- // pass it the OMX buffer pointer directly
- m_mofYUV.submoftag = HX_OMXV_ID;
-#else
m_mofYUV.submoftag = HX_NV21_ID;
-#endif
break;
default:
// not supported yet
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic