1 /*****************************************************************************
2 * renderer.c : dummy text rendering functions
3 *****************************************************************************
4 * Copyright (C) 2000, 2001 the VideoLAN team
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 *****************************************************************************/
26 #include "vlc_block.h"
27 #include "vlc_filter.h"
29 static int RenderText( filter_t *, subpicture_region_t *,
30 subpicture_region_t * );
32 int E_(OpenRenderer)( vlc_object_t *p_this )
34 filter_t *p_filter = (filter_t *)p_this;
35 p_filter->pf_render_text = RenderText;
39 static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
40 subpicture_region_t *p_region_in )