[svn] / branches / dev-api-4 / xvidcore / src / motion / smp_motion_est.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/motion/smp_motion_est.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 890, Sat Feb 22 08:49:45 2003 UTC revision 891, Sat Feb 22 18:19:32 2003 UTC
# Line 26  Line 26 
26   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
27   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
28   *   *
29   *  $Id: smp_motion_est.h,v 1.4 2003-02-15 15:22:19 edgomez Exp $   *  $Id: smp_motion_est.h,v 1.4.2.1 2003-02-22 18:19:32 chl Exp $
30   *   *
31   ***************************************************************************/   ***************************************************************************/
32    
# Line 35  Line 35 
35    
36  #ifdef _SMP  #ifdef _SMP
37    
38  #define MAXNUMTHREADS 16  #error SMP support has been removed until B-frame API is stable.
   
 //#define NUMTHREADS 2  
   
 typedef struct  
 {  
   
                 MBParam * pParam;  
   
                 FRAMEINFO* reference;  
                 FRAMEINFO* current;  
   
                 IMAGE* pRef;  
                 IMAGE* pRefH;  
                 IMAGE* pRefV;  
                 IMAGE* pRefHV;  
   
 //              int iLimit;             /* currently unused */  
   
                 MACROBLOCK * pMBs;  
                 MACROBLOCK * prevMBs;  
   
 } globaldata;           /* this data is the same for all threads */  
   
 typedef struct  
 {  
                 int id;  
   
                 int minx;  
                 int maxx;  
                 int miny;  
                 int maxy;  
   
                 globaldata *gdata;  
   
 } jobdata;                      /* every thread get it's personal version of these */  
   
   
 void  
 SMP_correct_pmv(int x, int y, int iWcount, MACROBLOCK* pMBs);  
   
 void  
 SMP_MotionEstimationWorker(jobdata *arg);  
   
 bool  
 SMP_MotionEstimation(MBParam * const pParam,  
                                  FRAMEINFO * const current,  
                                  FRAMEINFO * const reference,  
                                  const IMAGE * const pRefH,  
                                  const IMAGE * const pRefV,  
                                  const IMAGE * const pRefHV,  
                                  const uint32_t iLimit);  
   
 #endif  
39    
40  #endif  #endif

Legend:
Removed from v.890  
changed lines
  Added in v.891

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4