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

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] omx/video/decoder rv20strm.cpp, 1.1.2.13.2.1,
From:       vkathuria () helixcommunity ! org
Date:       2009-10-30 10:12:31
Message-ID: 200910301123.n9UBNpdc029919 () mailer ! progressive-comp ! com
[Download RAW message or body]

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

Modified Files:
      Tag: hxclient_3_6_1_atlas
	rv20strm.cpp rv20strm.h 
Log Message:
Changes to fix BUG 9619 & 9625

Index: rv20strm.h
===================================================================
RCS file: /cvsroot/datatype/omx/video/decoder/rv20strm.h,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.4.2.1
diff -u -d -r1.1.2.4 -r1.1.2.4.2.1
--- rv20strm.h	21 Jul 2009 05:41:16 -0000	1.1.2.4
+++ rv20strm.h	30 Oct 2009 10:12:24 -0000	1.1.2.4.2.1
@@ -193,7 +193,7 @@
     void Flush();
 	OMXVStream();
 	virtual ~OMXVStream();
-
+	void OnProcIdle();
 	HX_RESULT PNStream_GetStreamHeaderSize(ULONG32 * puSize);
 	HX_RESULT PNStream_GetStreamHeader(HX_MOF * pmofHeader);
 	HX_RESULT PNStream_SetOutputPacketSize(ULONG32 PrefSize, 

Index: rv20strm.cpp
===================================================================
RCS file: /cvsroot/datatype/omx/video/decoder/rv20strm.cpp,v
retrieving revision 1.1.2.13.2.1
retrieving revision 1.1.2.13.2.2
diff -u -d -r1.1.2.13.2.1 -r1.1.2.13.2.2
--- rv20strm.cpp	22 Oct 2009 09:42:21 -0000	1.1.2.13.2.1
+++ rv20strm.cpp	30 Oct 2009 10:12:24 -0000	1.1.2.13.2.2
@@ -582,6 +582,19 @@
     return theErr;        
 }
 
+void 
+OMXVStream::OnProcIdle()
+{
+    HX_RESULT ri, ro;
+    do
+    {
+       m_hDecoder->ProcIdle();    	
+       ri = ProcessInput();
+       ro = ProcessOutput();
+    }
+    while (ri == HXR_OK || ro == HXR_OK);
+}
+
 HX_RESULT 
 OMXVStream::ProcessInput(void)
 {
@@ -772,6 +785,12 @@
                 Flush();
             }
             break;
+        case SP_PROCIDLE:
+            {
+                OnProcIdle();
+                theErr = HXR_OK;
+            }
+            break;			
         case SP_OUPUT_QUEUE_STATUS:
             {
                 memcpy(&m_currentOQS, pValue, sizeof(HX_OQS)); /* Flawfinder: ignore */


_______________________________________________
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