MythTV  0.26-pre
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
PrivateDecoderCrystalHD Class Reference

#include <privatedecoder_crystalhd.h>

Inheritance diagram for PrivateDecoderCrystalHD:
PrivateDecoder

List of all members.

Public Member Functions

 PrivateDecoderCrystalHD ()
virtual ~PrivateDecoderCrystalHD ()
virtual QString GetName (void)
virtual bool Init (const QString &decoder, PlayerFlags flags, AVCodecContext *avctx)
virtual bool Reset (void)
virtual int GetFrame (AVStream *stream, AVFrame *picture, int *got_picture_ptr, AVPacket *pkt)
virtual bool HasBufferedFrames (void)
virtual bool NeedsReorderedPTS (void)

Static Public Member Functions

static void GetDecoders (render_opts &opts)

Private Member Functions

void FetchFrames (void)
bool StartFetcherThread (void)
int ProcessPacket (AVStream *stream, AVPacket *pkt)
bool CreateFilter (AVCodecContext *avctx)
void FillFrame (BC_DTS_PROC_OUT *out)
void AddFrameToQueue (void)
void CheckProcOutput (BC_DTS_PROC_OUT *out)
void CheckPicInfo (BC_DTS_PROC_OUT *out)
void CheckStatus (void)
int GetTxFreeSize (bool hwsel)

Private Attributes

HANDLE m_device
BC_DEVICE_TYPE m_device_type
BC_OUTPUT_FORMAT m_pix_fmt
QList< VideoFrame * > m_decoded_frames
QList< PacketBuffer * > m_packet_buffers
QMutex m_decoded_frames_lock
FetcherThreadm_fetcher_thread
bool m_fetcher_pause
bool m_fetcher_paused
bool m_fetcher_stop
VideoFramem_frame
AVBitStreamFilterContext * m_filter

Friends

class FetcherThread

Detailed Description

Definition at line 47 of file privatedecoder_crystalhd.h.


Constructor & Destructor Documentation

Definition at line 43 of file privatedecoder_crystalhd.cpp.

Definition at line 51 of file privatedecoder_crystalhd.cpp.


Member Function Documentation

Reimplemented from PrivateDecoder.

Definition at line 35 of file privatedecoder_crystalhd.cpp.

virtual QString PrivateDecoderCrystalHD::GetName ( void  ) [inline, virtual]

Implements PrivateDecoder.

Definition at line 55 of file privatedecoder_crystalhd.h.

bool PrivateDecoderCrystalHD::Init ( const QString &  decoder,
PlayerFlags  flags,
AVCodecContext *  avctx 
) [virtual]

Implements PrivateDecoder.

Definition at line 89 of file privatedecoder_crystalhd.cpp.

Referenced by PrivateDecoder::Create().

Implements PrivateDecoder.

Definition at line 373 of file privatedecoder_crystalhd.cpp.

Referenced by Init(), and ~PrivateDecoderCrystalHD().

int PrivateDecoderCrystalHD::GetFrame ( AVStream *  stream,
AVFrame *  picture,
int got_picture_ptr,
AVPacket *  pkt 
) [virtual]

Implements PrivateDecoder.

Definition at line 502 of file privatedecoder_crystalhd.cpp.

Reimplemented from PrivateDecoder.

Definition at line 409 of file privatedecoder_crystalhd.cpp.

virtual bool PrivateDecoderCrystalHD::NeedsReorderedPTS ( void  ) [inline, virtual]

Reimplemented from PrivateDecoder.

Definition at line 65 of file privatedecoder_crystalhd.h.

Definition at line 556 of file privatedecoder_crystalhd.cpp.

Referenced by FetcherThread::run().

Definition at line 604 of file privatedecoder_crystalhd.cpp.

Referenced by GetFrame().

int PrivateDecoderCrystalHD::ProcessPacket ( AVStream *  stream,
AVPacket *  pkt 
) [private]

Definition at line 417 of file privatedecoder_crystalhd.cpp.

Referenced by GetFrame().

bool PrivateDecoderCrystalHD::CreateFilter ( AVCodecContext *  avctx) [private]

Definition at line 323 of file privatedecoder_crystalhd.cpp.

Referenced by Init().

void PrivateDecoderCrystalHD::FillFrame ( BC_DTS_PROC_OUT *  out) [private]

Definition at line 619 of file privatedecoder_crystalhd.cpp.

Referenced by FetchFrames().

Definition at line 699 of file privatedecoder_crystalhd.cpp.

Referenced by FillFrame().

void PrivateDecoderCrystalHD::CheckProcOutput ( BC_DTS_PROC_OUT *  out) [private]

Definition at line 709 of file privatedecoder_crystalhd.cpp.

Referenced by FetchFrames().

void PrivateDecoderCrystalHD::CheckPicInfo ( BC_DTS_PROC_OUT *  out) [private]

Definition at line 742 of file privatedecoder_crystalhd.cpp.

Referenced by CheckProcOutput().

Definition at line 774 of file privatedecoder_crystalhd.cpp.

Definition at line 812 of file privatedecoder_crystalhd.cpp.

Referenced by ProcessPacket().


Friends And Related Function Documentation

friend class FetcherThread [friend]

Definition at line 49 of file privatedecoder_crystalhd.h.

Referenced by StartFetcherThread().


Member Data Documentation

Definition at line 81 of file privatedecoder_crystalhd.h.

Referenced by Init(), Reset(), and ~PrivateDecoderCrystalHD().

BC_OUTPUT_FORMAT PrivateDecoderCrystalHD::m_pix_fmt [private]

Definition at line 82 of file privatedecoder_crystalhd.h.

Referenced by FillFrame(), and Init().

Definition at line 83 of file privatedecoder_crystalhd.h.

Referenced by AddFrameToQueue(), GetFrame(), HasBufferedFrames(), and Reset().

Definition at line 84 of file privatedecoder_crystalhd.h.

Referenced by ProcessPacket(), and Reset().

Definition at line 85 of file privatedecoder_crystalhd.h.

Referenced by AddFrameToQueue(), GetFrame(), HasBufferedFrames(), and Reset().

Definition at line 86 of file privatedecoder_crystalhd.h.

Referenced by Reset(), StartFetcherThread(), and ~PrivateDecoderCrystalHD().

Definition at line 88 of file privatedecoder_crystalhd.h.

Referenced by FetchFrames(), and Reset().

Definition at line 89 of file privatedecoder_crystalhd.h.

Referenced by FetchFrames(), and ~PrivateDecoderCrystalHD().

Definition at line 90 of file privatedecoder_crystalhd.h.

Referenced by AddFrameToQueue(), FillFrame(), and Reset().

AVBitStreamFilterContext* PrivateDecoderCrystalHD::m_filter [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends