00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _XLV_RENDERER_H
00023 #define _XLV_RENDERER_H
00024
00025 #include <glib.h>
00026 #include "xlv_colormap.h"
00027
00028
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