xbmc
Public Types | Public Member Functions | Static Public Member Functions | List of all members
DXVA::CContext Class Reference

Public Types

typedef std::shared_ptr< CContextshared_ptr
 
typedef std::weak_ptr< CContextweak_ptr
 

Public Member Functions

bool GetFormatAndConfig (AVCodecContext *avctx, D3D11_VIDEO_DECODER_DESC &format, D3D11_VIDEO_DECODER_CONFIG &config) const
 
bool CreateSurfaces (const D3D11_VIDEO_DECODER_DESC &format, uint32_t count, uint32_t alignment, ID3D11VideoDecoderOutputView **surfaces, HANDLE *pHandle, bool trueShared) const
 
bool CreateDecoder (const D3D11_VIDEO_DECODER_DESC &format, const D3D11_VIDEO_DECODER_CONFIG &config, ID3D11VideoDecoder **decoder, ID3D11VideoContext **context)
 
void Release (CDecoder *decoder)
 
bool Check () const
 
bool Reset ()
 
bool IsContextShared () const
 
bool HasAMDWorkaround () const
 

Static Public Member Functions

static shared_ptr EnsureContext (CDecoder *decoder)
 

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