MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PrivateDecoderVDA Class Reference

#include <privatedecoder_vda.h>

Inheritance diagram for PrivateDecoderVDA:
Inheritance graph
[legend]
Collaboration diagram for PrivateDecoderVDA:
Collaboration graph
[legend]

Public Member Functions

 PrivateDecoderVDA ()
virtual ~PrivateDecoderVDA ()
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)
- Public Member Functions inherited from PrivateDecoder
 PrivateDecoder ()
virtual ~PrivateDecoder ()

Static Public Member Functions

static void GetDecoders (render_opts &opts)
static void VDADecoderCallback (void *decompressionOutputRefCon, CFDictionaryRef frameInfo, OSStatus status, uint32_t infoFlags, CVImageBufferRef imageBuffer)
- Static Public Member Functions inherited from PrivateDecoder
static PrivateDecoderCreate (const QString &decoder, PlayerFlags flags, AVCodecContext *avctx)

Protected Member Functions

void PopDecodedFrame (void)
bool RewriteAvcc (uint8_t **data, int &len, CFDataRef &data_out)
bool RewritePacket (uint8_t *data, int len, CFDataRef &data_out)

Protected Attributes

VDALibrarym_lib
VDADecoderm_decoder
QSize m_size
QMutex m_frame_lock
int32_t m_frames_decoded
QList< VDAFramem_decoded_frames
bool m_annexb
uint32_t m_slice_count
bool m_convert_3byteTo4byteNALSize
int32_t m_max_ref_frames

Detailed Description

Definition at line 53 of file privatedecoder_vda.h.

Constructor & Destructor Documentation

PrivateDecoderVDA::PrivateDecoderVDA ( )

Definition at line 299 of file privatedecoder_vda.cpp.

PrivateDecoderVDA::~PrivateDecoderVDA ( )
virtual

Definition at line 306 of file privatedecoder_vda.cpp.

Member Function Documentation

void PrivateDecoderVDA::GetDecoders ( render_opts opts)
static

Reimplemented from PrivateDecoder.

Definition at line 291 of file privatedecoder_vda.cpp.

virtual QString PrivateDecoderVDA::GetName ( void  )
inlinevirtual

Implements PrivateDecoder.

Definition at line 59 of file privatedecoder_vda.h.

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

Implements PrivateDecoder.

Definition at line 318 of file privatedecoder_vda.cpp.

Referenced by PrivateDecoder::Create().

bool PrivateDecoderVDA::Reset ( void  )
virtual

Implements PrivateDecoder.

Definition at line 517 of file privatedecoder_vda.cpp.

Referenced by ~PrivateDecoderVDA().

int PrivateDecoderVDA::GetFrame ( AVStream *  stream,
AVFrame *  picture,
int got_picture_ptr,
AVPacket *  pkt 
)
virtual

Implements PrivateDecoder.

Definition at line 547 of file privatedecoder_vda.cpp.

bool PrivateDecoderVDA::HasBufferedFrames ( void  )
virtual

Reimplemented from PrivateDecoder.

Definition at line 539 of file privatedecoder_vda.cpp.

virtual bool PrivateDecoderVDA::NeedsReorderedPTS ( void  )
inlinevirtual

Reimplemented from PrivateDecoder.

Definition at line 69 of file privatedecoder_vda.h.

void PrivateDecoderVDA::VDADecoderCallback ( void decompressionOutputRefCon,
CFDictionaryRef  frameInfo,
OSStatus  status,
uint32_t  infoFlags,
CVImageBufferRef  imageBuffer 
)
static

Definition at line 689 of file privatedecoder_vda.cpp.

Referenced by Init().

void PrivateDecoderVDA::PopDecodedFrame ( void  )
protected

Definition at line 530 of file privatedecoder_vda.cpp.

Referenced by Reset().

bool PrivateDecoderVDA::RewriteAvcc ( uint8_t **  data,
int len,
CFDataRef &  data_out 
)
protected
bool PrivateDecoderVDA::RewritePacket ( uint8_t *  data,
int  len,
CFDataRef &  data_out 
)
protected

Member Data Documentation

VDALibrary* PrivateDecoderVDA::m_lib
protected

Definition at line 82 of file privatedecoder_vda.h.

Referenced by GetFrame(), Init(), Reset(), and ~PrivateDecoderVDA().

VDADecoder* PrivateDecoderVDA::m_decoder
protected

Definition at line 83 of file privatedecoder_vda.h.

Referenced by GetFrame(), Init(), Reset(), and ~PrivateDecoderVDA().

QSize PrivateDecoderVDA::m_size
protected

Definition at line 84 of file privatedecoder_vda.h.

Referenced by Init().

QMutex PrivateDecoderVDA::m_frame_lock
protected
int32_t PrivateDecoderVDA::m_frames_decoded
protected

Definition at line 86 of file privatedecoder_vda.h.

Referenced by Reset(), and VDADecoderCallback().

QList<VDAFrame> PrivateDecoderVDA::m_decoded_frames
protected
bool PrivateDecoderVDA::m_annexb
protected

Definition at line 88 of file privatedecoder_vda.h.

Referenced by GetFrame(), and Init().

uint32_t PrivateDecoderVDA::m_slice_count
protected

Definition at line 89 of file privatedecoder_vda.h.

Referenced by Init().

bool PrivateDecoderVDA::m_convert_3byteTo4byteNALSize
protected

Definition at line 90 of file privatedecoder_vda.h.

Referenced by GetFrame(), and Init().

int32_t PrivateDecoderVDA::m_max_ref_frames
protected

Definition at line 91 of file privatedecoder_vda.h.

Referenced by GetFrame(), and Init().


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