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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
/*
* libzvbi - Closed Caption and Teletext rendering
*
* Copyright (C) 2000, 2001, 2002, 2004 Michael H. Schimek
*
* Based on code from AleVT 1.5.1
* Copyright (C) 1998, 1999 Edgar Toernig <froese@gmx.de>
* Copyright (C) 1999 Paul Ortyl <ortylp@from.pl>
*
* 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, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: exp-gfx.h,v 1.4 2005/06/28 00:57:33 mschimek Exp $ */
#ifndef __ZVBI3_EXP_GFX_H__
#define __ZVBI3_EXP_GFX_H__
#include <stdarg.h> /* va_list */
#include "macros.h"
#include "page.h" /* vbi3_page */
#include "image_format.h" /* vbi3_image_format */
VBI3_BEGIN_DECLS
/**
* @addtogroup Render
* @{
*/
extern vbi3_bool
vbi3_page_draw_teletext_region_va_list
(const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
unsigned int x,
unsigned int y,
unsigned int column,
unsigned int row,
unsigned int n_columns,
unsigned int n_rows,
va_list export_options)
__attribute__ ((_vbi3_nonnull (1, 2, 3)));
extern vbi3_bool
vbi3_page_draw_teletext_region (const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
unsigned int x,
unsigned int y,
unsigned int column,
unsigned int row,
unsigned int n_columns,
unsigned int n_rows,
...)
__attribute__ ((_vbi3_nonnull (1, 2, 3),
_vbi3_sentinel));
extern vbi3_bool
vbi3_page_draw_teletext_va_list (const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
va_list export_options)
__attribute__ ((_vbi3_nonnull (1, 2, 3)));
extern vbi3_bool
vbi3_page_draw_teletext (const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
...)
__attribute__ ((_vbi3_nonnull (1, 2, 3),
_vbi3_sentinel));
extern vbi3_bool
vbi3_page_draw_caption_region_va_list
(const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
unsigned int x,
unsigned int y,
unsigned int column,
unsigned int row,
unsigned int n_columns,
unsigned int n_rows,
va_list export_options)
__attribute__ ((_vbi3_nonnull (1, 2, 3)));
extern vbi3_bool
vbi3_page_draw_caption_region (const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
unsigned int x,
unsigned int y,
unsigned int column,
unsigned int row,
unsigned int n_columns,
unsigned int n_rows,
...)
__attribute__ ((_vbi3_nonnull (1, 2, 3),
_vbi3_sentinel));
extern vbi3_bool
vbi3_page_draw_caption_va_list (const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
va_list export_options)
__attribute__ ((_vbi3_nonnull (1, 2, 3)));
extern vbi3_bool
vbi3_page_draw_caption (const vbi3_page * pg,
void * buffer,
const vbi3_image_format *format,
...)
__attribute__ ((_vbi3_nonnull (1, 2),
_vbi3_sentinel));
/** @} */
VBI3_END_DECLS
#endif /* __ZVBI3_EXP_GFX_H__ */
|