OPAL  Version 3.18.8
Opal_RFC4175YCbCr420_to_YUV420P Class Reference

#include <rfc4175.h>

Inheritance diagram for Opal_RFC4175YCbCr420_to_YUV420P:
Collaboration diagram for Opal_RFC4175YCbCr420_to_YUV420P:

Public Member Functions

 Opal_RFC4175YCbCr420_to_YUV420P ()
 
PINDEX GetPgroupSize () const
 
PINDEX GetColsPerPgroup () const
 
PINDEX GetRowsPerPgroup () const
 
PINDEX PixelsToBytes (PINDEX pixels) const
 
PINDEX BytesToPixels (PINDEX bytes) const
 
bool DecodeFrames (RTP_DataFrameList &output)
 
- Public Member Functions inherited from OpalRFC4175Decoder
 OpalRFC4175Decoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 
 ~OpalRFC4175Decoder ()
 
bool ConvertFrames (const RTP_DataFrame &input, RTP_DataFrameList &output)
 
- Public Member Functions inherited from OpalRFC4175Transcoder
 OpalRFC4175Transcoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 
PINDEX RFC4175HeaderSize (PINDEX lines)
 
- Public Member Functions inherited from OpalVideoTranscoder
 OpalVideoTranscoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 
virtual void GetStatistics (OpalMediaStatistics &statistics) const
 
virtual bool UpdateMediaFormats (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 
virtual PINDEX GetOptimalDataFrameSize (PBoolean input) const
 
virtual PBoolean ExecuteCommand (const OpalMediaCommand &command)
 
virtual PBoolean Convert (const RTP_DataFrame &input, RTP_DataFrame &output)
 
virtual bool HasErrorConcealment () const
 
virtual bool ShouldDropFrame (RTP_Timestamp ts)
 
virtual void UpdateFrameDrop (const RTP_DataFrameList &encoded)
 
bool WasLastFrameIFrame () const
 
virtual void SendIFrameRequest (unsigned sequenceNumber, unsigned timestamp)
 
virtual bool HandleIFrameRequest ()
 
void SetEncodingIntraFrameControlTimes (const PTimeInterval &minThrottle, const PTimeInterval &maxThrottle, const PTimeInterval &periodic, const PTimeInterval &retry)
 
void SetDecodingIntraFrameControlTimes (const PTimeInterval &minThrottle, const PTimeInterval &maxThrottle, const PTimeInterval &periodic, const PTimeInterval &retry)
 
- Public Member Functions inherited from OpalTranscoder
 OpalTranscoder (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 
PINDEX GetMaxOutputSize () const
 
void SetMaxOutputSize (PINDEX size)
 
void SetCommandNotifier (const PNotifier &notifier)
 
const PNotifier & GetCommandNotifier () const
 
void NotifyCommand (const OpalMediaCommand &command) const
 Notify command notifier of command. More...
 
unsigned GetSessionID () const
 Get session ID for the transcoder (from OpalMediaStream) More...
 
void SetSessionID (unsigned id)
 Set session ID for the transcoder (from OpalMediaStream) More...
 
RTP_DataFrame::PayloadTypes GetPayloadType (PBoolean input) const
 
virtual bool AcceptComfortNoise () const
 
virtual bool AcceptEmptyPayload () const
 
virtual bool AcceptOtherPayloads () const
 
void CopyTimestamp (RTP_DataFrame &dst, const RTP_DataFrame &src, bool inToOut) const
 
- Public Member Functions inherited from OpalMediaFormatPair
 OpalMediaFormatPair (const OpalMediaFormat &inputMediaFormat, const OpalMediaFormat &outputMediaFormat)
 
void PrintOn (ostream &strm) const
 
virtual Comparison Compare (const PObject &obj) const
 
const OpalMediaFormatGetInputFormat () const
 
const OpalMediaFormatGetOutputFormat () const
 

Additional Inherited Members

- Public Types inherited from OpalVideoTranscoder
typedef
PluginCodec_Video_FrameHeader 
FrameHeader
 
- Static Public Member Functions inherited from OpalTranscoder
static OpalTranscoderCreate (const OpalMediaFormat &srcFormat, const OpalMediaFormat &dstFormat, const BYTE *instance=NULL, unsigned instanceLen=0)
 
static bool SelectFormats (const OpalMediaType &mediaType, const OpalMediaFormatList &srcFormats, const OpalMediaFormatList &dstFormats, const OpalMediaFormatList &masterFormats, OpalMediaFormat &srcFormat, OpalMediaFormat &dstFormat)
 
static bool FindIntermediateFormat (const OpalMediaFormat &srcFormat, const OpalMediaFormat &dstFormat, OpalMediaFormat &intermediateFormat)
 
static OpalMediaFormatList GetDestinationFormats (const OpalMediaFormat &srcFormat)
 
static OpalMediaFormatList GetSourceFormats (const OpalMediaFormat &dstFormat)
 
static OpalMediaFormatList GetPossibleFormats (const OpalMediaFormatList &formats)
 
- Protected Member Functions inherited from OpalRFC4175Decoder
void DecodeFramesAndSetFrameSize (RTP_DataFrameList &output)
 
- Protected Member Functions inherited from OpalTranscoder
virtual bool OnCreated (const OpalMediaFormat &srcFormat, const OpalMediaFormat &destFormat, const BYTE *instance, unsigned instanceLen)
 
 PDECLARE_MUTEX (updateMutex)
 
- Protected Attributes inherited from OpalRFC4175Decoder
RTP_DataFrameList m_inputFrames
 
std::vector< PINDEX > m_scanlineCounts
 
PINDEX m_frameWidth
 
PINDEX m_frameHeight
 
bool m_first
 
bool m_missingPackets
 
PINDEX m_maxWidth
 
PINDEX m_maxHeight
 
DWORD m_nextSequenceNumber
 
DWORD m_lastTimeStamp
 
DWORD m_timeStampOfFrame
 
DWORD m_firstSequenceOfFrame
 
- Protected Attributes inherited from OpalVideoTranscoder
PINDEX m_inDataSize
 
PINDEX m_outDataSize
 
bool m_errorConcealment
 
bool m_freezeTillIFrame
 
bool m_frozenTillIFrame
 
bool m_lastFrameWasIFrame
 
unsigned m_frameDropRate
 
int m_frameDropBits
 
RTP_Timestamp m_lastTimestamp
 
unsigned m_framesDropped
 
OpalIntraFrameControl m_encodingIntraFrameControl
 
OpalIntraFrameControl m_decodingIntraFrameControl
 
- Protected Attributes inherited from OpalTranscoder
PINDEX maxOutputSize
 
PNotifier commandNotifier
 
unsigned m_sessionID
 
bool outputIsRTP
 
bool inputIsRTP
 
bool acceptEmptyPayload
 
bool acceptOtherPayloads
 
unsigned m_inClockRate
 
unsigned m_outClockRate
 
RTP_DataFrame::PayloadTypes m_lastPayloadType
 
unsigned m_consecutivePayloadTypeMismatches
 
- Protected Attributes inherited from OpalMediaFormatPair
OpalMediaFormat inputMediaFormat
 
OpalMediaFormat outputMediaFormat
 

Detailed Description

This class defines a transcoder implementation class that converts RFC4175 to YUV420P

Constructor & Destructor Documentation

Opal_RFC4175YCbCr420_to_YUV420P::Opal_RFC4175YCbCr420_to_YUV420P ( )
inline

Member Function Documentation

PINDEX Opal_RFC4175YCbCr420_to_YUV420P::BytesToPixels ( PINDEX  bytes) const
inlinevirtual

Implements OpalRFC4175Decoder.

bool Opal_RFC4175YCbCr420_to_YUV420P::DecodeFrames ( RTP_DataFrameList &  output)
virtual

Implements OpalRFC4175Decoder.

PINDEX Opal_RFC4175YCbCr420_to_YUV420P::GetColsPerPgroup ( ) const
inlinevirtual

Implements OpalRFC4175Transcoder.

PINDEX Opal_RFC4175YCbCr420_to_YUV420P::GetPgroupSize ( ) const
inlinevirtual

Implements OpalRFC4175Transcoder.

PINDEX Opal_RFC4175YCbCr420_to_YUV420P::GetRowsPerPgroup ( ) const
inlinevirtual

Implements OpalRFC4175Transcoder.

PINDEX Opal_RFC4175YCbCr420_to_YUV420P::PixelsToBytes ( PINDEX  pixels) const
inlinevirtual

Implements OpalRFC4175Decoder.


The documentation for this class was generated from the following file: