[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 1988 - (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 1988 * $Id$
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 : Isibaar 1913 const FRAMEINFO *current;
36 : syskin 1682 uint8_t * RefQ;
37 : Isibaar 1913 int y_row;
38 : syskin 1682 int y_step;
39 :     int start_y;
40 : Isibaar 1913 int stop_y;
41 : syskin 1682 int * complete_count_self;
42 :     int * complete_count_above;
43 :    
44 :     int MVmax, mvSum, mvCount; /* out */
45 : suxen_drol 1686
46 : Isibaar 1913 uint32_t minfcode, minbcode;
47 : syskin 1682
48 : Isibaar 1913 uint8_t *tmp_buffer;
49 :     Bitstream *bs;
50 : syskin 1682
51 : Isibaar 1913 Statistics *sStat;
52 :     void *pEnc;
53 :     } SMPData;
54 : syskin 1682
55 : Isibaar 1913
56 :     void MotionEstimateSMP(SMPData * h);
57 :     void SMPMotionEstimationBVOP(SMPData * h);
58 :    
59 : syskin 1690 #endif /* SMP_MOTION_H */

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