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

#include <DVDFactoryCodec.h>

Static Public Member Functions

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

Static Protected Member Functions

static std::unique_ptr< CDVDVideoCodecCreateVideoCodecHW (const std::string &id, CProcessInfo &processInfo)
 
static std::unique_ptr< CDVDAudioCodecCreateAudioCodecHW (const 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()

std::unique_ptr< CDVDAudioCodec > CDVDFactoryCodec::CreateAudioCodec ( CDVDStreamInfo & hint,
CProcessInfo & processInfo,
bool allowpassthrough,
bool allowdtshddecode,
CAEStreamInfo::DataType ptStreamType )
static

◆ CreateAudioCodecHW()

std::unique_ptr< CDVDAudioCodec > CDVDFactoryCodec::CreateAudioCodecHW ( const std::string & id,
CProcessInfo & processInfo )
staticprotected

◆ CreateOverlayCodec()

std::unique_ptr< CDVDOverlayCodec > CDVDFactoryCodec::CreateOverlayCodec ( CDVDStreamInfo & hint)
static

◆ CreateVideoCodec()

std::unique_ptr< CDVDVideoCodec > CDVDFactoryCodec::CreateVideoCodec ( CDVDStreamInfo & hint,
CProcessInfo & processInfo )
static

◆ CreateVideoCodecHW()

std::unique_ptr< CDVDVideoCodec > CDVDFactoryCodec::CreateVideoCodecHW ( const std::string & id,
CProcessInfo & processInfo )
staticprotected

◆ CreateVideoCodecHWAccel()

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

◆ GetHWAccels()

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

◆ RegisterHWAccel()

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

◆ RegisterHWAudioCodec()

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

◆ RegisterHWVideoCodec()

void CDVDFactoryCodec::RegisterHWVideoCodec ( const 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: