[cvs] / xvidcore / src / motion / smp_motion_est.h Repository:
ViewVC logotype

Diff of /xvidcore/src/motion/smp_motion_est.h

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

revision 1.4, Sat Feb 15 15:22:19 2003 UTC revision 1.4.2.1, Sat Feb 22 18:19:32 2003 UTC
# 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.1.4  
changed lines
  Added in v.1.4.2.1

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