Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CDVDFactoryCodec Class Reference

#include <DVDFactoryCodec.h>

Static Public Member Functions

static CDVDVideoCodecCreateVideoCodec (CDVDStreamInfo &hint, CProcessInfo &processInfo)
 
static IHardwareDecoderCreateVideoCodecHWAccel (std::string id, CDVDStreamInfo &hint, CProcessInfo &processInfo, AVPixelFormat fmt)
 
static CDVDAudioCodecCreateAudioCodec (CDVDStreamInfo &hint, CProcessInfo &processInfo, bool allowpassthrough, bool allowdtshddecode, CAEStreamInfo::DataType ptStreamType)
 
static CDVDOverlayCodecCreateOverlayCodec (CDVDStreamInfo &hint)
 
static void RegisterHWVideoCodec (std::string id, CreateHWVideoCodec createFunc)
 
static void ClearHWVideoCodecs ()
 
static void RegisterHWAccel (std::string id, CreateHWAccel createFunc)
 
static std::vector< std::string > GetHWAccels ()
 
static void ClearHWAccels ()
 
static void RegisterHWAudioCodec (std::string id, CreateHWAudioCodec createFunc)
 
static void ClearHWAudioCodecs ()
 

Static Protected Member Functions

static CDVDVideoCodecCreateVideoCodecHW (std::string id, CProcessInfo &processInfo)
 
static CDVDAudioCodecCreateAudioCodecHW (std::string id, CProcessInfo &processInfo)
 

Static Protected Attributes

static std::map< std::string, CreateHWVideoCodecm_hwVideoCodecs
 
static std::map< std::string, CreateHWAccelm_hwAccels
 
static std::map< std::string, CreateHWAudioCodecm_hwAudioCodecs
 

Member Function Documentation

◆ ClearHWAccels()

void CDVDFactoryCodec::ClearHWAccels ( )
static

◆ ClearHWAudioCodecs()

void CDVDFactoryCodec::ClearHWAudioCodecs ( )
static

◆ ClearHWVideoCodecs()

void CDVDFactoryCodec::ClearHWVideoCodecs ( )
static

◆ CreateAudioCodec()

CDVDAudioCodec * CDVDFactoryCodec::CreateAudioCodec ( CDVDStreamInfo hint,
CProcessInfo processInfo,
bool  allowpassthrough,
bool  allowdtshddecode,
CAEStreamInfo::DataType  ptStreamType 
)
static

◆ CreateAudioCodecHW()

CDVDAudioCodec * CDVDFactoryCodec::CreateAudioCodecHW ( std::string  id,
CProcessInfo processInfo 
)
staticprotected

◆ CreateOverlayCodec()

CDVDOverlayCodec * CDVDFactoryCodec::CreateOverlayCodec ( CDVDStreamInfo hint)
static

◆ CreateVideoCodec()

CDVDVideoCodec * CDVDFactoryCodec::CreateVideoCodec ( CDVDStreamInfo hint,
CProcessInfo processInfo 
)
static

◆ CreateVideoCodecHW()

CDVDVideoCodec * CDVDFactoryCodec::CreateVideoCodecHW ( std::string  id,
CProcessInfo processInfo 
)
staticprotected

◆ CreateVideoCodecHWAccel()

IHardwareDecoder * CDVDFactoryCodec::CreateVideoCodecHWAccel ( std::string  id,
CDVDStreamInfo hint,
CProcessInfo processInfo,
AVPixelFormat  fmt 
)
static

◆ GetHWAccels()

std::vector< std::string > CDVDFactoryCodec::GetHWAccels ( )
static

◆ RegisterHWAccel()

void CDVDFactoryCodec::RegisterHWAccel ( std::string  id,
CreateHWAccel  createFunc 
)
static

◆ RegisterHWAudioCodec()

void CDVDFactoryCodec::RegisterHWAudioCodec ( std::string  id,
CreateHWAudioCodec  createFunc 
)
static

◆ RegisterHWVideoCodec()

void CDVDFactoryCodec::RegisterHWVideoCodec ( std::string  id,
CreateHWVideoCodec  createFunc 
)
static

Member Data Documentation

◆ m_hwAccels

std::map< std::string, CreateHWAccel > CDVDFactoryCodec::m_hwAccels
staticprotected

◆ m_hwAudioCodecs

std::map< std::string, CreateHWAudioCodec > CDVDFactoryCodec::m_hwAudioCodecs
staticprotected

◆ m_hwVideoCodecs

std::map< std::string, CreateHWVideoCodec > CDVDFactoryCodec::m_hwVideoCodecs
staticprotected

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