/usr/include/gmerlin/textrenderer.h is in libgmerlin-dev 1.2.0~dfsg+1-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | /*****************************************************************
* gmerlin - a general purpose multimedia framework and applications
*
* Copyright (c) 2001 - 2011 Members of the Gmerlin project
* gmerlin-general@lists.sourceforge.net
* http://gmerlin.sourceforge.net
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* *****************************************************************/
typedef struct bg_text_renderer_s bg_text_renderer_t;
bg_text_renderer_t * bg_text_renderer_create();
void bg_text_renderer_destroy(bg_text_renderer_t *);
const bg_parameter_info_t * bg_text_renderer_get_parameters(void);
void bg_text_renderer_set_parameter(void * data, const char * name,
const bg_parameter_value_t * val);
/* Frame format can be NULL */
void bg_text_renderer_init(bg_text_renderer_t*,
const gavl_video_format_t * frame_format,
gavl_video_format_t * overlay_format);
void bg_text_renderer_get_frame_format(bg_text_renderer_t * r,
gavl_video_format_t * frame_format);
void bg_text_renderer_render(bg_text_renderer_t*,
const char * string, gavl_overlay_t * ovl);
|