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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (view) (download)

1 : syskin 1.1 /*****************************************************************************
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 1.8 * $Id: motion_smp.h,v 1.7 2010/03/09 10:00:14 Isibaar Exp $
26 : syskin 1.1 *
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 1.8 const FRAMEINFO *current;
36 : syskin 1.1 uint8_t * RefQ;
37 : Isibaar 1.8 int y_row;
38 : syskin 1.1 int y_step;
39 :     int start_y;
40 : Isibaar 1.8 int stop_y;
41 : syskin 1.1 int * complete_count_self;
42 :     int * complete_count_above;
43 :    
44 : Isibaar 1.8 int MVmax, mvSum, mvCount; /* out */
45 :    
46 :     uint32_t minfcode, minbcode;
47 : syskin 1.1
48 : Isibaar 1.8 uint8_t *tmp_buffer;
49 :     Bitstream *bs;
50 : suxen_drol 1.2
51 : Isibaar 1.8 Statistics *sStat;
52 :     void *pEnc;
53 :     } SMPData;
54 : syskin 1.1
55 :    
56 : Isibaar 1.8 void MotionEstimateSMP(SMPData * h);
57 :     void SMPMotionEstimationBVOP(SMPData * h);
58 : syskin 1.1
59 : syskin 1.3 #endif /* SMP_MOTION_H */

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