kodi
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
VTB::CDecoder Class Reference
Inheritance diagram for VTB::CDecoder:
Inheritance graph
[legend]
Collaboration diagram for VTB::CDecoder:
Collaboration graph
[legend]

Public Member Functions

 CDecoder (CProcessInfo &processInfo)
 
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
virtual void Reset ()
 
virtual bool CanSkipDeint ()
 
virtual void SetCodecControl (int flags)
 
- Public Member Functions inherited from IDVDResourceCounted< IHardwareDecoder >
 IDVDResourceCounted (const IDVDResourceCounted &)=delete
 
IDVDResourceCountedoperator= (const IDVDResourceCounted &)=delete
 
virtual IHardwareDecoderAcquire ()
 
virtual long Release ()
 

Static Public Member Functions

static IHardwareDecoderCreate (CDVDStreamInfo &hint, CProcessInfo &processInfo, AVPixelFormat fmt)
 
static bool Register ()
 

Protected Attributes

unsigned m_renderbuffers_count
 
AVCodecContext * m_avctx
 
CProcessInfom_processInfo
 
CVideoBufferVTBm_renderBuffer = nullptr
 
std::shared_ptr< CVideoBufferPoolVTBm_videoBufferPool
 

Additional Inherited Members

- Public Attributes inherited from IDVDResourceCounted< IHardwareDecoder >
std::atomic< long > m_refs
 

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