Main Page   Modules   Compound List   File List   Compound Members   File Members  

xlv_renderer.h

00001 /*
00002  * xlv_renderer.h
00003  *
00004  * Copyright (C) 2001 Guilhem Lavaux
00005  *
00006  * This file is part of XLV, a free middleware audio-video stream coder/decoder.
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Library General Public
00010  * License as published by the Free Software Foundation; either
00011  * version 2 of the License, or (at your option) any later version.
00012  *
00013  * XLV is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  */
00022 #ifndef _XLV_RENDERER_H
00023 #define _XLV_RENDERER_H
00024 
00025 #include <glib.h>
00026 #include "xlv_colormap.h"
00027 
00028 /* Renderers specific */
00029 #define XLV_RENDERER_LOCK_OUTPUT     100
00030 #define XLV_RENDERER_PREALLOC_BUFFER 101
00031 #define XLV_RENDERER_FREE_BUFFER     102
00032 #define XLV_RENDERER_SEND_BUF        103
00033 #define XLV_RENDERER_LOCK            104
00034 #define XLV_RENDERER_UNLOCK          105
00035 
00036 #define XLV_RENDERER_SET_AUDIO_SPEC  106
00037 #define XLV_RENDERER_SET_VIDEO_SPEC  107
00038 
00039 typedef struct _XLV_VideoSpec {
00040   guint32 m_fourcc_encoding;
00041   guint32 m_width;
00042   guint32 m_height;
00043   guint32 m_flags;
00044   XLV_ColorMap *m_cmap;
00045 } XLV_VideoSpec;
00046 
00047 typedef struct _XLV_AudioSpec {
00048   guint32 m_fourcc_encoding;
00049   guint32 m_sample_rate;
00050   guint8 m_bps;
00051   guint8 m_channels;
00052   guint32 m_flags;
00053 } XLV_AudioSpec;
00054 
00055 #define XLV_RENDERER_GET_DELAY       108
00056 #define XLV_RENDERER_PAUSE_OUTPUT    109
00057 #define XLV_RENDERER_RESUME_OUTPUT   110
00058 
00059 #define XLV_RENDERER_EXT_FULLSCREEN  120
00060 #define XLV_RENDERER_EXT_GET_XWIN    121
00061 #define XLV_RENDERER_EXT_SET_SCREENSAVER 122
00062 
00063 #endif

Generated on Mon Jul 1 19:39:06 2002 for XLV by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002