CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

codec.h File Reference

#include "csutil/scf.h"

Go to the source code of this file.

Classes

struct  csAudioStreamDescription
 Audio stream description structure. More...
struct  csCodecDescription
 Codec description structure. More...
struct  csStreamDescription
 Stream description structure. More...
struct  csVideoStreamDescription
 Video stream description structure. More...
struct  iAudioStream
 An audio stream. More...
struct  iStream
 A stream. More...
struct  iStreamFormat
 Stream format. More...
struct  iStreamIterator
struct  iVideoStream
 A video stream. More...

Defines

#define CS_CODECFORMAT_PCM
 Formats for audiodata.
#define CS_CODECFORMAT_RGB_CHANNEL   1
 Formats for videodata.
#define CS_CODECFORMAT_RGB_INTERLEAVED   4
#define CS_CODECFORMAT_RGBA_CHANNEL   2
#define CS_CODECFORMAT_RGBA_INTERLEAVED   5
#define CS_CODECFORMAT_YUV_CHANNEL   3
#define CS_CODECFORMAT_YUV_INTERLEAVED   6
#define CS_STREAMTYPE_AUDIO   1
#define CS_STREAMTYPE_MIDI   3
#define CS_STREAMTYPE_TEXT   4
#define CS_STREAMTYPE_VIDEO   2

Enumerations

enum  csStreamFormatCap { CS_POS_BY_FRAME = 1, CS_POS_BY_TIME = 2, CS_DECODE_SPAN = 4, CS_DYNAMIC_FRAMESIZE = 8 }
 Stream format capability enumeration. More...


Detailed Description

Definition in file codec.h.


Define Documentation

#define CS_CODECFORMAT_PCM
 

Formats for audiodata.

Definition at line 260 of file codec.h.

#define CS_CODECFORMAT_RGB_CHANNEL   1
 

Formats for videodata.

CHANNEL means all data of one kind in a row, like all red first then all green etc. INTERLEAVED means all components of one point in a row, for instance 1st byte is red component of pixel 0, 2nd byte is green component of pixel 0 etc.

Definition at line 252 of file codec.h.


Enumeration Type Documentation

enum csStreamFormatCap
 

Stream format capability enumeration.

Enumerator:
CS_POS_BY_FRAME  The decoder is able to set the current position to a particular frame.
CS_POS_BY_TIME  The decoder is able to set the current position based on a time index.
CS_DECODE_SPAN  The decoder is able to decode a set of consecutive frames at once.
CS_DYNAMIC_FRAMESIZE  The decoder is able to dynamically change frame output size.

Definition at line 40 of file codec.h.


Generated for Crystal Space by doxygen 1.4.4