Opal_H261_YUV420P Class Reference

#include <h261codec.h>

Inheritance diagram for Opal_H261_YUV420P:

OpalVideoTranscoder OpalTranscoder OpalMediaFormatPair List of all members.

Public Member Functions

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

Protected Attributes

P64Decoder * videoDecoder
WORD expectedSequenceNumber
BYTE * rvts
int ndblk
int nblk
int now
BOOL packetReceived

Constructor & Destructor Documentation

Opal_H261_YUV420P::Opal_H261_YUV420P (  ) 

Opal_H261_YUV420P::~Opal_H261_YUV420P (  ) 


Member Function Documentation

virtual BOOL Opal_H261_YUV420P::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_H261_YUV420P::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

WORD Opal_H261_YUV420P::expectedSequenceNumber [protected]

int Opal_H261_YUV420P::nblk [protected]

int Opal_H261_YUV420P::ndblk [protected]

int Opal_H261_YUV420P::now [protected]

BOOL Opal_H261_YUV420P::packetReceived [protected]

BYTE* Opal_H261_YUV420P::rvts [protected]

P64Decoder* Opal_H261_YUV420P::videoDecoder [protected]


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