OpalUncompVideoTranscoder Class Reference

#include <vidcodec.h>

Inheritance diagram for OpalUncompVideoTranscoder:

OpalVideoTranscoder OpalTranscoder OpalMediaFormatPair Opal_RGB24_RGB24 Opal_RGB32_RGB32 List of all members.

Public Member Functions

Construction
 OpalUncompVideoTranscoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 ~OpalUncompVideoTranscoder ()
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.


Member Function Documentation

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.

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.


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