[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] omx/video/decoder CH263OmxDec.cpp, 1.1.2.7,
From:       joeli () helixcommunity ! org
Date:       2011-04-25 4:55:34
Message-ID: 201104250455.p3P4tTZ3011815 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/omx/video/decoder
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv20729/video/decoder

Modified Files:
      Tag: hxclient_3_6_1_atlas
	CH263OmxDec.cpp COmxVideoDec.cpp 
Log Message:
modified by: joeli@real.com
Date: 04/22/2011
Project: RealPlayer for Android Smartphones

Synopsis: Enalbing HW decoding & playback on Qualcom 8x55 chipset
Overview: To get QualCom 8X55 chipset start work with helix, we need to
update its omx color format,
1. used overlay display. (merged from 363, some of them are checked-in already in \
HuaWei smart phone, while some of them are missed) 2. add new umakecf file for \
android2.3 8x55 3. update VC1 hw decoder configuration
Finally add HELIX_ANDROID_QSD8X55 macro to controls codes for 8x55 chipset

Files Added:
ribosome/build/umakecf/android-2.3-arm-qsd_8x55.cf

Files Modified:
ribosome/build/lib/sysinfo.py
datatype/omx/common/CBaseOmxDec.cpp
datatype/omx/video/decoder/CH263OmxDec.cpp
datatype/omx/video/decoder/COmxVideoDec.cpp
video/sitelib/minisitebuild.cpp
video/sitelib/platform/unix/miniandroidsurf.cpp
video/sitelib/pub/platform/unix/miniandroidsurf.h
datatype/flac/fileformat/flacfformat.cpp
datatype/h263/renderer/h263dec.cpp
datatype/h263/renderer/h263video.cpp
datatype/h263/renderer/h263vidfmt.cpp
jtype/image/jpg/import/jpeg-6b/dcolor.c
datatype/null/renderer/nullrend.cpp

Image Size and Heap Use impact (Client -Only): 
None

Platforms and Profiles Affected: 
Platform: hxclient_3_6_1_atlas
Profile: helix-client-android-full

Distribution Libraries Affected: 
None 

Distribution library impact and planned action: 
None 

Platforms and Profiles Build Verified: 
Platform: hxclient_3_6_1_atlas
Profile: helix-client-android-full

Platforms and Profiles Functionality verified: 
Platform: hxclient_3_6_1_atlas
Profile: helix-client-android-full

Copyright assignment: I am a RealNetworks employee or contractor

Thanks
Joe



Index: CH263OmxDec.cpp
===================================================================
RCS file: /cvsroot/datatype/omx/video/decoder/CH263OmxDec.cpp,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -d -r1.1.2.7 -r1.1.2.8
--- CH263OmxDec.cpp	14 Jan 2011 12:59:06 -0000	1.1.2.7
+++ CH263OmxDec.cpp	25 Apr 2011 04:55:32 -0000	1.1.2.8
@@ -240,7 +240,8 @@
            memcpy(pDecodedFrameBuffer, pBuffer->pBuffer + pBuffer->nOffset, \
pBuffer->nFilledLen);  m_hDecoder->ReUse(pBuffer);
            break;
-#if defined(ANDROID_QSD8X50_SURF)
+#if defined(ANDROID_QSD8X50_SURF) || defined(ANDROID_QSD8X55_SURF)
+        case 0x15:
         case 0x7fa30c00:
             // Reference pointer from HW decoder
             // the format of the buffer

Index: COmxVideoDec.cpp
===================================================================
RCS file: /cvsroot/datatype/omx/video/decoder/COmxVideoDec.cpp,v
retrieving revision 1.1.2.7.2.6
retrieving revision 1.1.2.7.2.7
diff -u -d -r1.1.2.7.2.6 -r1.1.2.7.2.7
--- COmxVideoDec.cpp	13 Dec 2010 02:07:09 -0000	1.1.2.7.2.6
+++ COmxVideoDec.cpp	25 Apr 2011 04:55:32 -0000	1.1.2.7.2.7
@@ -304,6 +304,9 @@
                 m_mofYUV.submoftag =  HX_YUV420_ID;
                 break;
        case 0x7FA30C00: //NV21, semi-planer YVU
+#ifdef ANDROID_QSD8X55_SURF
+       case 0x15:
+#endif
 #ifdef ANDROID
                 // Android site knows how to do optimized display of NV21
                 // pass it the OMX buffer pointer directly
@@ -416,6 +419,12 @@
         {
             if(GetFreeBuffer(pBuffer) == HXR_OK)
             {               
+#ifdef ANDROID_QSD8X55_SURF
+      	        memcpy(pBuffer->pBuffer, pBuff, size);
+       	        pBuffer->nFilledLen = size;
+                used = size;
+                pBuffer->nTimeStamp = uTimestamp;
+#else
                 PackUINT24LE(pBuffer->pBuffer, 3, size);
                 pBuffer->pBuffer[3] = 0;
 	            PackUINT32LE(pBuffer->pBuffer + 4, 4, uTimestamp);		
@@ -423,6 +432,7 @@
        	        pBuffer->nFilledLen = size+8;
                 used = size;
                 pBuffer->nTimeStamp = uTimestamp;
+#endif
                 ret = OMX_EmptyThisBuffer(m_hDecoder, pBuffer);		
                 if(ret != OMX_ErrorNone)
                 {


_______________________________________________
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