Opal_YUV420P_H261 Class Reference

#include <h261codec.h>

Inheritance diagram for Opal_YUV420P_H261:

OpalVideoTranscoder OpalTranscoder OpalMediaFormatPair List of all members.

Public Member Functions

 Opal_YUV420P_H261 ()
 ~Opal_YUV420P_H261 ()
virtual PINDEX GetOptimalDataFrameSize (BOOL input) const
virtual BOOL ConvertFrames (const RTP_DataFrame &src, RTP_DataFrameList &dst)

Protected Attributes

P64Encoder * videoEncoder
PTimeInterval newTime

Constructor & Destructor Documentation

Opal_YUV420P_H261::Opal_YUV420P_H261 (  ) 

Opal_YUV420P_H261::~Opal_YUV420P_H261 (  ) 


Member Function Documentation

virtual BOOL Opal_YUV420P_H261::ConvertFrames ( const RTP_DataFrame src,
RTP_DataFrameList &  dst 
) [virtual]

Convert the data from one format to another. This function takes the input data as a RTP_DataFrame and converts it to its output format, placing it (possibly) into multiple RTP_DataFrame objects.

The default behaviour makes sure the output list has only one element in it and calls the Convert() function.

Returns FALSE if the conversion fails.

Reimplemented from OpalTranscoder.

virtual PINDEX Opal_YUV420P_H261::GetOptimalDataFrameSize ( BOOL  input  )  const [virtual]

Get the optimal size for data frames to be converted. This function returns the size of frames that will be most efficient in conversion. A RTP_DataFrame will attempt to provide or use data in multiples of this size. Note that it may not do so, so the transcoder must be able to handle any sized packets.

Implements OpalTranscoder.


Member Data Documentation

PTimeInterval Opal_YUV420P_H261::newTime [protected]

P64Encoder* Opal_YUV420P_H261::videoEncoder [protected]


The documentation for this class was generated from the following file:
Generated on Mon Sep 25 16:21:51 2006 for OPAL by  doxygen 1.4.7