Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
IHardwareDecoder Class Referenceabstract

#include <DVDVideoCodec.h>

Inheritance diagram for IHardwareDecoder:
IDVDResourceCounted< IHardwareDecoder > DXVA::CDecoder VAAPI::CDecoder VDPAU::CDecoder VTB::CDecoder

Public Member Functions

 IHardwareDecoder ()=default
 
 ~IHardwareDecoder () override=default
 
virtual bool Open (AVCodecContext *avctx, AVCodecContext *mainctx, const enum AVPixelFormat)=0
 
virtual CDVDVideoCodec::VCReturn Decode (AVCodecContext *avctx, AVFrame *frame)=0
 
virtual bool GetPicture (AVCodecContext *avctx, VideoPicture *picture)=0
 
virtual CDVDVideoCodec::VCReturn Check (AVCodecContext *avctx)=0
 
virtual void Reset ()
 
virtual unsigned GetAllowedReferences ()
 
virtual bool CanSkipDeint ()
 
virtual const std::string Name ()=0
 
virtual void SetCodecControl (int flags)
 
- Public Member Functions inherited from IDVDResourceCounted< IHardwareDecoder >
 IDVDResourceCounted ()
 
 IDVDResourceCounted (const IDVDResourceCounted &)=delete
 
virtual ~IDVDResourceCounted ()=default
 
IDVDResourceCountedoperator= (const IDVDResourceCounted &)=delete
 
virtual IHardwareDecoderAcquire ()
 
virtual long Release ()
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ IHardwareDecoder()

IHardwareDecoder::IHardwareDecoder ( )
default

◆ ~IHardwareDecoder()

IHardwareDecoder::~IHardwareDecoder ( )
overridedefault

Member Function Documentation

◆ CanSkipDeint()

virtual bool IHardwareDecoder::CanSkipDeint ( )
inlinevirtual

Reimplemented in VAAPI::CDecoder, and VDPAU::CDecoder.

◆ Check()

virtual CDVDVideoCodec::VCReturn IHardwareDecoder::Check ( AVCodecContext * avctx)
pure virtual

◆ Decode()

virtual CDVDVideoCodec::VCReturn IHardwareDecoder::Decode ( AVCodecContext * avctx,
AVFrame * frame )
pure virtual

◆ GetAllowedReferences()

virtual unsigned IHardwareDecoder::GetAllowedReferences ( )
inlinevirtual

◆ GetPicture()

virtual bool IHardwareDecoder::GetPicture ( AVCodecContext * avctx,
VideoPicture * picture )
pure virtual

◆ Name()

virtual const std::string IHardwareDecoder::Name ( )
pure virtual

◆ Open()

virtual bool IHardwareDecoder::Open ( AVCodecContext * avctx,
AVCodecContext * mainctx,
const enum AVPixelFormat )
pure virtual

◆ Reset()

virtual void IHardwareDecoder::Reset ( )
inlinevirtual

◆ SetCodecControl()

virtual void IHardwareDecoder::SetCodecControl ( int flags)
inlinevirtual

Reimplemented in VAAPI::CDecoder, and VDPAU::CDecoder.


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