OpalUncompVideoTranscoder Class Reference

#include <vidcodec.h>

Inheritance diagram for OpalUncompVideoTranscoder:

OpalVideoTranscoder OpalTranscoder OpalMediaFormatPair Opal_RGB24_RGB24 Opal_RGB32_RGB32 OpalRFC4175Transcoder OpalRFC4175Decoder OpalRFC4175Encoder Opal_RFC4175RGB_to_RGB24 Opal_RFC4175YCbCr420_to_YUV420P Opal_RGB24_to_RFC4175RGB Opal_YUV420P_to_RFC4175YCbCr420 List of all members.

Public Member Functions

Operations
virtual PINDEX GetOptimalDataFrameSize (BOOL input) const
virtual BOOL ConvertFrames (const RTP_DataFrame &input, RTP_DataFrameList &output)

Detailed Description

This class defines a transcoder implementation class that will encode/decode uncompressed video.


Constructor & Destructor Documentation

OpalUncompVideoTranscoder::OpalUncompVideoTranscoder ( const OpalMediaFormat inputMediaFormat,
const OpalMediaFormat outputMediaFormat 
)

Create a new video transcoder implementation.

Parameters:
inputMediaFormat  Input media format
outputMediaFormat  Output media format

OpalUncompVideoTranscoder::~OpalUncompVideoTranscoder (  ) 

Destroy the video transcoder cleaning up the colour converter.

OpalUncompVideoTranscoder::OpalUncompVideoTranscoder ( const OpalMediaFormat inputMediaFormat,
const OpalMediaFormat outputMediaFormat 
)

Create a new video transcoder implementation.

Parameters:
inputMediaFormat  Input media format
outputMediaFormat  Output media format

OpalUncompVideoTranscoder::~OpalUncompVideoTranscoder (  ) 

Destroy the video transcoder cleaning up the colour converter.


Member Function Documentation

virtual PINDEX OpalUncompVideoTranscoder::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.

Parameters:
input  Flag for input or output data size

Implements OpalTranscoder.

virtual BOOL OpalUncompVideoTranscoder::ConvertFrames ( const RTP_DataFrame input,
RTP_DataFrameList &  output 
) [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.

Parameters:
input  Input data
output  Output data

Reimplemented from OpalTranscoder.

Reimplemented in OpalRFC4175Encoder, and OpalRFC4175Decoder.


The documentation for this class was generated from the following file:
Generated on Fri Mar 7 06:34:05 2008 for OPAL by  doxygen 1.5.1