Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <VTB.h>
Public Member Functions | |
CDecoder (CProcessInfo &processInfo) | |
~CDecoder () override | |
bool | Open (AVCodecContext *avctx, AVCodecContext *mainctx, const enum AVPixelFormat) override |
CDVDVideoCodec::VCReturn | Decode (AVCodecContext *avctx, AVFrame *frame) override |
bool | GetPicture (AVCodecContext *avctx, VideoPicture *picture) override |
CDVDVideoCodec::VCReturn | Check (AVCodecContext *avctx) override |
const std::string | Name () override |
unsigned | GetAllowedReferences () override |
void | Close () |
Public Member Functions inherited from IHardwareDecoder | |
IHardwareDecoder ()=default | |
~IHardwareDecoder () override=default | |
virtual void | Reset () |
virtual bool | CanSkipDeint () |
virtual void | SetCodecControl (int flags) |
Public Member Functions inherited from IDVDResourceCounted< IHardwareDecoder > | |
IDVDResourceCounted () | |
IDVDResourceCounted (const IDVDResourceCounted &)=delete | |
virtual | ~IDVDResourceCounted ()=default |
IDVDResourceCounted & | operator= (const IDVDResourceCounted &)=delete |
virtual IHardwareDecoder * | Acquire () |
virtual long | Release () |
Static Public Member Functions | |
static IHardwareDecoder * | Create (CDVDStreamInfo &hint, CProcessInfo &processInfo, AVPixelFormat fmt) |
static bool | Register () |
Protected Attributes | |
unsigned | m_renderbuffers_count |
AVCodecContext * | m_avctx |
CProcessInfo & | m_processInfo |
CVideoBufferVTB * | m_renderBuffer = nullptr |
std::shared_ptr< CVideoBufferPoolVTB > | m_videoBufferPool |
Additional Inherited Members | |
Public Attributes inherited from IDVDResourceCounted< IHardwareDecoder > | |
std::atomic< long > | m_refs |
CDecoder::CDecoder | ( | CProcessInfo & | processInfo | ) |
|
override |
|
overridevirtual |
Implements IHardwareDecoder.
void CDecoder::Close | ( | ) |
|
static |
|
overridevirtual |
Implements IHardwareDecoder.
|
overridevirtual |
Reimplemented from IHardwareDecoder.
|
overridevirtual |
Implements IHardwareDecoder.
|
inlineoverridevirtual |
Implements IHardwareDecoder.
|
overridevirtual |
Implements IHardwareDecoder.
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |