|
MythTV
0.26-pre
|
#include <privatedecoder_vda.h>
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) |
Static Public Member Functions | |
| static void | GetDecoders (render_opts &opts) |
| static void | VDADecoderCallback (void *decompressionOutputRefCon, CFDictionaryRef frameInfo, OSStatus status, uint32_t infoFlags, CVImageBufferRef imageBuffer) |
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 | |
| VDALibrary * | m_lib |
| VDADecoder * | m_decoder |
| QSize | m_size |
| QMutex | m_frame_lock |
| int32_t | m_frames_decoded |
| QList< VDAFrame > | m_decoded_frames |
| bool | m_annexb |
| uint32_t | m_slice_count |
| bool | m_convert_3byteTo4byteNALSize |
| int32_t | m_max_ref_frames |
Definition at line 53 of file privatedecoder_vda.h.
Definition at line 297 of file privatedecoder_vda.cpp.
| PrivateDecoderVDA::~PrivateDecoderVDA | ( | ) | [virtual] |
Definition at line 304 of file privatedecoder_vda.cpp.
| void PrivateDecoderVDA::GetDecoders | ( | render_opts & | opts | ) | [static] |
Reimplemented from PrivateDecoder.
Definition at line 289 of file privatedecoder_vda.cpp.
| virtual QString PrivateDecoderVDA::GetName | ( | void | ) | [inline, virtual] |
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 316 of file privatedecoder_vda.cpp.
Referenced by PrivateDecoder::Create().
| bool PrivateDecoderVDA::Reset | ( | void | ) | [virtual] |
Implements PrivateDecoder.
Definition at line 504 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 534 of file privatedecoder_vda.cpp.
| bool PrivateDecoderVDA::HasBufferedFrames | ( | void | ) | [virtual] |
Reimplemented from PrivateDecoder.
Definition at line 526 of file privatedecoder_vda.cpp.
| virtual bool PrivateDecoderVDA::NeedsReorderedPTS | ( | void | ) | [inline, virtual] |
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 676 of file privatedecoder_vda.cpp.
Referenced by Init().
| void PrivateDecoderVDA::PopDecodedFrame | ( | void | ) | [protected] |
Definition at line 517 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] |
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] |
Definition at line 85 of file privatedecoder_vda.h.
Referenced by GetFrame(), HasBufferedFrames(), PopDecodedFrame(), Reset(), and VDADecoderCallback().
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] |
Definition at line 87 of file privatedecoder_vda.h.
Referenced by GetFrame(), HasBufferedFrames(), PopDecodedFrame(), Reset(), and VDADecoderCallback().
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().
1.7.6.1