transcoders.h File Reference

#include <opal/buildopts.h>
#include <opal/mediafmt.h>
#include <opal/mediacmd.h>
#include <rtp/rtp.h>

Go to the source code of this file.

Classes

class  OpalMediaFormatPair
class  OpalTranscoder
class  OpalFramedTranscoder
class  OpalStreamedTranscoder
class  Opal_Linear16Mono_PCM
class  Opal_PCM_Linear16Mono
class  OpalEmptyFramedAudioTranscoder

Defines

#define OPAL_REGISTER_TRANSCODER(cls, input, output)   OpalTranscoderFactory::Worker<cls> OpalTranscoder_##cls(MakeOpalTranscoderKey(input, output))
#define OPAL_REGISTER_L16_MONO()
#define OPAL_DECLARE_EMPTY_TRANSCODER(fmt)
#define OPAL_DEFINE_EMPTY_TRANSCODER(fmt)

Typedefs

typedef std::pair< PString,
PString > 
OpalTranscoderKey
typedef PFactory
< OpalTranscoder,
OpalTranscoderKey
OpalTranscoderFactory
typedef PFactory
< OpalTranscoder,
OpalTranscoderKey >::KeyList_T 
OpalTranscoderList
typedef PFactory
< OpalTranscoder,
OpalTranscoderKey >
::KeyList_T::iterator 
OpalTranscoderIterator

Functions

__inline OpalTranscoderKey MakeOpalTranscoderKey (const OpalMediaFormat &from, const OpalMediaFormat &to)
__inline OpalTranscoderKey MakeOpalTranscoderKey (const char *from, const char *to)

Define Documentation

#define OPAL_DECLARE_EMPTY_TRANSCODER ( fmt   ) 
Value:
class Opal_Empty_##fmt##_Encoder : public OpalEmptyFramedAudioTranscoder \
{ \
  public: \
    Opal_Empty_##fmt##_Encoder() \
      : OpalEmptyFramedAudioTranscoder(OpalPCM16, fmt) \
    { } \
}; \
class Opal_Empty_##fmt##_Decoder : public OpalEmptyFramedAudioTranscoder \
{ \
  public: \
    Opal_Empty_##fmt##_Decoder() \
      : OpalEmptyFramedAudioTranscoder(fmt, OpalPCM16) \
    { } \
}; \
#define OPAL_DEFINE_EMPTY_TRANSCODER ( fmt   ) 
Value:
OPAL_REGISTER_TRANSCODER(Opal_Empty_##fmt##_Encoder, OpalPCM16, fmt); \
OPAL_REGISTER_TRANSCODER(Opal_Empty_##fmt##_Decoder, fmt,       OpalPCM16); \
 
#define OPAL_REGISTER_L16_MONO (  ) 
#define OPAL_REGISTER_TRANSCODER ( cls,
input,
output   )     OpalTranscoderFactory::Worker<cls> OpalTranscoder_##cls(MakeOpalTranscoderKey(input, output))

Typedef Documentation

typedef PFactory<OpalTranscoder, OpalTranscoderKey>::KeyList_T::iterator OpalTranscoderIterator
typedef std::pair<PString, PString> OpalTranscoderKey
typedef PFactory<OpalTranscoder, OpalTranscoderKey>::KeyList_T OpalTranscoderList

Function Documentation

__inline OpalTranscoderKey MakeOpalTranscoderKey ( const char *  from,
const char *  to 
)
__inline OpalTranscoderKey MakeOpalTranscoderKey ( const OpalMediaFormat from,
const OpalMediaFormat to 
)
Generated on Tue Jun 15 00:28:42 2010 for OPAL by  doxygen 1.6.3