#include <DXVA.h>
|
| | ~CContext () |
| |
| 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 |
| |
◆ shared_ptr
◆ weak_ptr
◆ ~CContext()
◆ Check()
| bool CContext::Check |
( |
| ) |
const |
◆ CreateDecoder()
| bool CContext::CreateDecoder |
( |
const D3D11_VIDEO_DECODER_DESC & |
format, |
|
|
const D3D11_VIDEO_DECODER_CONFIG & |
config, |
|
|
ID3D11VideoDecoder ** |
decoder, |
|
|
ID3D11VideoContext ** |
context |
|
) |
| |
◆ CreateSurfaces()
| bool CContext::CreateSurfaces |
( |
const D3D11_VIDEO_DECODER_DESC & |
format, |
|
|
uint32_t |
count, |
|
|
uint32_t |
alignment, |
|
|
ID3D11VideoDecoderOutputView ** |
surfaces, |
|
|
HANDLE * |
pHandle, |
|
|
bool |
trueShared |
|
) |
| const |
◆ EnsureContext()
◆ GetFormatAndConfig()
| bool CContext::GetFormatAndConfig |
( |
AVCodecContext * |
avctx, |
|
|
D3D11_VIDEO_DECODER_DESC & |
format, |
|
|
D3D11_VIDEO_DECODER_CONFIG & |
config |
|
) |
| const |
◆ HasAMDWorkaround()
| bool DXVA::CContext::HasAMDWorkaround |
( |
| ) |
const |
|
inline |
◆ IsContextShared()
| bool DXVA::CContext::IsContextShared |
( |
| ) |
const |
|
inline |
◆ Release()
◆ Reset()
The documentation for this class was generated from the following files: