Main Page   Modules   Compound List   File List   Compound Members   File Members  

_XLV_CodecSpec Struct Reference
[XLV Codec API]

Main structure for XLV Codec API: Format specification. More...

#include <xlv_codec.h>

List of all members.

Public Attributes

guint8 m_type
const gchar * m_plugin_id
guint32 m_fourcc
guint32 m_bitrate
 Bitrate of the stream.

guint32 m_flags
 Codec flags. More...

gfloat m_frame_rate
guint32 m_codec_data_len
 Length of the codec data.

union {
   XLV_PCMData *   pcm
   XLV_VideoData *   video
   gpointer   data
m_codec_data


Detailed Description

Main structure for XLV Codec API: Format specification.

This structure may be considered as one of the most important of XLV Codec API because it informs the user and the codec about the format they will use to exchange data.


Member Data Documentation

guint32 _XLV_CodecSpec::m_flags
 

Codec flags.

You must take care of these flags, they may tell you the image is naturally inverted in the buffer or that you must keep the data of the previous image to generate the next image. See Codec flags

guint32 _XLV_CodecSpec::m_fourcc
 

A Fourcc ID of the format, it is always required this to be set accurately. See Codec encodings to know which value may be put here.

const gchar* _XLV_CodecSpec::m_plugin_id
 

XLV Plugin ID string. It may be NULL if it concerns a generic encoding (see Codec encodings)

guint8 _XLV_CodecSpec::m_type
 

Type of the format: audio or video (see Codec types)


The documentation for this struct was generated from the following file:
Generated on Mon Jul 1 19:39:08 2002 for XLV by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002