1 /*****************************************************************************
2 * renderer.c : dummy text rendering functions
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 VideoLAN
5 * $Id: renderer.c,v 1.4 2003/12/08 17:48:13 yoann Exp $
7 * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
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.
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.
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 *****************************************************************************/
27 static subpicture_t * AddText ( vout_thread_t *, char *, text_style_t *, int,
28 int, int, mtime_t, mtime_t );
30 int E_(OpenRenderer)( vlc_object_t *p_this )
32 vout_thread_t *p_vout = (vout_thread_t *)p_this;
33 p_vout->pf_add_string = AddText;
37 static subpicture_t * AddText ( vout_thread_t *p_vout, char *psz_string,
38 text_style_t *p_style , int i_flags, int i_x_margin,
39 int i_y_margin, mtime_t i_start, mtime_t i_stop )