Main Page   Modules   Compound List   File List   Compound Members   File Members  

xlv_video.h

00001 /*
00002  * xlv_video.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_VIDEO_H
00023 #define _XLV_VIDEO_H
00024 
00025 #include <glib.h>
00026 #include "xlv_plugin_mgr.h"
00027 #include "xlv_colormap.h"
00028 
00029 /* m_frame_rate */
00030 #define XLV_VIDEO_RATE_VALID   0x0001
00031 /* width & height */
00032 #define XLV_VIDEO_SIZE_VALID   0x0002
00033 /* planes & bit_count */
00034 #define XLV_VIDEO_BPP_VALID    0x0008
00035 /* m_image_size */
00036 #define XLV_VIDEO_ISIZE_VALID  0x0010
00037 /* m_xpels_meter & m_ypels_meter */
00038 #define XLV_VIDEO_METERS_VALID 0x0020
00039 /* m_extra_len & m_extra_data */
00040 #define XLV_VIDEO_EXTRA_VALID  0x0040
00041 /* m_colormap */
00042 #define XLV_VIDEO_CMAP_VALID   0x0080
00043 
00044 typedef struct _XLV_VideoData {
00045     guint32 m_valid_entries;
00046     guint32 m_encoding;
00047     gfloat m_frame_rate;
00048     guint32 m_width;
00049     guint32 m_height;
00050     guint16 m_planes;
00051     guint16 m_bit_count;
00052     guint32 m_image_size;
00053     guint32 m_xpels_meter;
00054     guint32 m_ypels_meter;
00055     XLV_ColorMap *m_colormap;
00056     guchar  m_dummy[12];
00057     guint16 m_extra_len;
00058     guint8 m_extra_data[1];
00059 } XLV_VideoData;
00060 
00061 #endif

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