]> git.sesse.net Git - vlc/blob - src/video_decoder/video_decoder.h
b7b33e035527f471c285af83b516a602cba64a57
[vlc] / src / video_decoder / video_decoder.h
1 /*****************************************************************************
2  * video_decoder.h : video decoder thread
3  *****************************************************************************
4  * Copyright (C) 1999, 2000 VideoLAN
5  * $Id: video_decoder.h,v 1.4 2001/07/18 14:21:00 massiot Exp $
6  *
7  * Authors: Christophe Massiot <massiot@via.ecp.fr>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  * 
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23  
24 /*****************************************************************************
25  * Prototypes
26  *****************************************************************************/
27 struct vpar_thread_s;
28 struct macroblock_s;
29
30 /* Thread management functions */
31 void            vdec_InitThread         ( struct vdec_thread_s *p_vdec );
32 void            vdec_EndThread          ( struct vdec_thread_s *p_vdec );
33 void            vdec_DecodeMacroblock   ( struct vdec_thread_s *p_vdec,
34                                           struct macroblock_s *p_mb );
35 void            vdec_DecodeMacroblockC  ( struct vdec_thread_s *p_vdec,
36                                           struct macroblock_s *p_mb );
37 void            vdec_DecodeMacroblockBW ( struct vdec_thread_s *p_vdec,
38                                           struct macroblock_s *p_mb );
39 struct vdec_thread_s * vdec_CreateThread( struct vdec_pool_s * );
40 void            vdec_DestroyThread      ( struct vdec_thread_s *p_vdec );
41