OpalRFC4175Decoder Class Reference

#include <rfc4175.h>

Inheritance diagram for OpalRFC4175Decoder:

OpalRFC4175Transcoder OpalUncompVideoTranscoder OpalVideoTranscoder OpalTranscoder OpalMediaFormatPair Opal_RFC4175RGB_to_RGB24 Opal_RFC4175YCbCr420_to_YUV420P List of all members.

Public Member Functions

 OpalRFC4175Decoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 ~OpalRFC4175Decoder ()
virtual PINDEX PixelsToBytes (PINDEX pixels) const =0
virtual PINDEX BytesToPixels (PINDEX pixels) const =0
BOOL ConvertFrames (const RTP_DataFrame &input, RTP_DataFrameList &output)

Protected Member Functions

BOOL Initialise ()
virtual BOOL DecodeFrames (RTP_DataFrameList &output)=0

Protected Attributes

RTP_DataFrameList inputFrames
std::vector< PINDEX > scanlineCounts
PINDEX frameWidth
PINDEX frameHeight
BOOL first
DWORD lastSequenceNumber
DWORD lastTimeStamp

Constructor & Destructor Documentation

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

Parameters:
inputMediaFormat  Input media format
outputMediaFormat  Output media format

OpalRFC4175Decoder::~OpalRFC4175Decoder (  ) 


Member Function Documentation

virtual PINDEX OpalRFC4175Decoder::PixelsToBytes ( PINDEX  pixels  )  const [pure virtual]

Implements OpalRFC4175Transcoder.

Implemented in Opal_RFC4175YCbCr420_to_YUV420P, and Opal_RFC4175RGB_to_RGB24.

virtual PINDEX OpalRFC4175Decoder::BytesToPixels ( PINDEX  pixels  )  const [pure virtual]

Implemented in Opal_RFC4175YCbCr420_to_YUV420P, and Opal_RFC4175RGB_to_RGB24.

BOOL OpalRFC4175Decoder::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.

Reimplemented from OpalUncompVideoTranscoder.

BOOL OpalRFC4175Decoder::Initialise (  )  [protected]

virtual BOOL OpalRFC4175Decoder::DecodeFrames ( RTP_DataFrameList &  output  )  [protected, pure virtual]

Implemented in Opal_RFC4175YCbCr420_to_YUV420P, and Opal_RFC4175RGB_to_RGB24.


Member Data Documentation

RTP_DataFrameList OpalRFC4175Decoder::inputFrames [protected]

std::vector<PINDEX> OpalRFC4175Decoder::scanlineCounts [protected]

PINDEX OpalRFC4175Decoder::frameWidth [protected]

Reimplemented from OpalVideoTranscoder.

PINDEX OpalRFC4175Decoder::frameHeight [protected]

Reimplemented from OpalVideoTranscoder.

BOOL OpalRFC4175Decoder::first [protected]

DWORD OpalRFC4175Decoder::lastSequenceNumber [protected]

DWORD OpalRFC4175Decoder::lastTimeStamp [protected]


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