[svn] / trunk / xvidcore / src / motion / motion_smp.h Repository:
ViewVC logotype

Annotation of /trunk/xvidcore/src/motion/motion_smp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1883 - (view) (download)

1 : syskin 1682 /*****************************************************************************
2 :     *
3 :     * XVID MPEG-4 VIDEO CODEC
4 :     * - multithreaded Motion Estimation header -
5 :     *
6 :     * Copyright(C) 2005 Radoslaw Czyz <xvid@syskin.cjb.net>
7 :     *
8 :     * significant portions derived from x264 project,
9 :     * original authors: Trax, Gianluigi Tiesi, Eric Petit
10 :     *
11 :     * This program is free software ; you can redistribute it and/or modify
12 :     * it under the terms of the GNU General Public License as published by
13 :     * the Free Software Foundation ; either version 2 of the License, or
14 :     * (at your option) any later version.
15 :     *
16 :     * This program is distributed in the hope that it will be useful,
17 :     * but WITHOUT ANY WARRANTY ; without even the implied warranty of
18 :     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 :     * GNU General Public License for more details.
20 :     *
21 :     * You should have received a copy of the GNU General Public License
22 :     * along with this program ; if not, write to the Free Software
23 :     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 :     *
25 : Isibaar 1883 * $Id: motion_smp.h,v 1.7 2010-03-09 10:00:14 Isibaar Exp $
26 : syskin 1682 *
27 :     ****************************************************************************/
28 :    
29 :     #ifndef SMP_MOTION_H
30 :     #define SMP_MOTION_H
31 :    
32 :     typedef struct
33 :     {
34 :     pthread_t handle; /* thread's handle */
35 :     const MBParam * pParam;
36 :     const FRAMEINFO * current;
37 :     const FRAMEINFO * reference;
38 :     const IMAGE * pRefH;
39 :     const IMAGE * pRefV;
40 :     const IMAGE * pRefHV;
41 :     const IMAGE * pGMC;
42 :     uint8_t * RefQ;
43 :     int y_step;
44 :     int start_y;
45 :     int * complete_count_self;
46 :     int * complete_count_above;
47 :    
48 :     /* bvop stuff */
49 :     int time_bp, time_pp;
50 :     const MACROBLOCK * f_mbs;
51 :     const IMAGE * pRef;
52 :     const IMAGE * fRef;
53 :     const IMAGE * fRefH;
54 :     const IMAGE * fRefV;
55 :     const IMAGE * fRefHV;
56 :    
57 :     int MVmax, mvSum, mvCount; /* out */
58 : suxen_drol 1686
59 : syskin 1690 int minfcode, minbcode;
60 : syskin 1682 } SMPmotionData;
61 :    
62 :    
63 :     void MotionEstimateSMP(SMPmotionData * h);
64 :     void SMPMotionEstimationBVOP(SMPmotionData * h);
65 :    
66 : syskin 1690 #endif /* SMP_MOTION_H */

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