--- encoder.h 2005/12/09 04:45:35 1.29 +++ encoder.h 2006/02/24 08:46:22 1.31 @@ -20,7 +20,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: encoder.h,v 1.29 2005/12/09 04:45:35 syskin Exp $ + * $Id: encoder.h,v 1.31 2006/02/24 08:46:22 syskin Exp $ * ****************************************************************************/ @@ -79,11 +79,6 @@ int par_width; int par_height; -#ifdef _SMP - int num_threads; -#endif - - int iMaxKeyInterval; int max_bframes; @@ -113,6 +108,7 @@ int mblks; int ublks; int gblks; + int iMVBits; } Statistics; @@ -159,6 +155,8 @@ } FRAMEINFO; +#include "motion/motion_smp.h" + typedef struct { MBParam mbParam; @@ -217,6 +215,10 @@ int closed_bframenum; /* == -1 if there is no fixup intended */ QUEUEINFO closed_qframe; /* qFrame, only valid when >= 0 */ + /* multithreaded stuff */ + int num_threads; /* number of additional threads */ + SMPmotionData * motionData; /* data structures used to pass all thread-specific data */ + int m_framenum; /* debug frame num counter; unlike iFrameNum, does not reset at ivop */ float fMvPrevSigma;