|
HRESULT | GetResource (ID3D11Resource **ppResource) override |
|
void | Initialize (CDecoder *decoder) override |
|
void | SetRef (AVFrame *frame) |
|
void | Unref () |
|
virtual unsigned | GetIdx () |
|
void | Acquire () |
|
void | Acquire (std::shared_ptr< IVideoBufferPool > pool) |
|
void | Release () |
|
int | GetId () const |
|
virtual AVPixelFormat | GetFormat () |
|
virtual uint8_t * | GetMemPtr () |
|
virtual void | GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES]) |
|
virtual void | GetStrides (int(&strides)[YuvImage::MAX_PLANES]) |
|
virtual void | SetPixelFormat (const AVPixelFormat pixFormat) |
|
virtual void | SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES]) |
|
virtual void | SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES], const int(&planeOffsets)[YuvImage::MAX_PLANES]) |
|
|
| CVideoBufferShared (int id) |
|
void | InitializeFence (CDecoder *decoder) |
|
void | SetFence () |
|
| CVideoBuffer (int id) |
|
| CVideoBuffer (int id) |
|
|
HANDLE | handle = INVALID_HANDLE_VALUE |
|
Microsoft::WRL::ComPtr< ID3D11Resource > | m_sharedRes |
|
Microsoft::WRL::ComPtr< ID3D11Fence > | m_fence |
| decoder-side fence object
|
|
Microsoft::WRL::ComPtr< ID3D11DeviceContext4 > | m_deviceContext4 |
| decoder-side context
|
|
HANDLE | m_handleFence {INVALID_HANDLE_VALUE} |
| fence shared handle that allows opening the fence on a different device
|
|
UINT64 | m_fenceValue {0} |
|
Microsoft::WRL::ComPtr< ID3D11Fence > | m_appFence |
| app-side fence object
|
|
Microsoft::WRL::ComPtr< ID3D11DeviceContext4 > | m_appContext4 |
| app-side context
|
|
AVPixelFormat | m_pixFormat = AV_PIX_FMT_NONE |
|
std::atomic_int | m_refCount |
|
int | m_id |
|
std::shared_ptr< IVideoBufferPool > | m_pool |
|
|
template<typename TBuffer > |
class | CVideoBufferPoolTyped |
|
|
static bool | CopyPicture (YuvImage *pDst, YuvImage *pSrc) |
|
static bool | CopyNV12Picture (YuvImage *pDst, YuvImage *pSrc) |
|
static bool | CopyYUV422PackedPicture (YuvImage *pDst, YuvImage *pSrc) |
|
ID3D11View * | view = nullptr |
|
DXGI_FORMAT | format = DXGI_FORMAT_UNKNOWN |
|
unsigned | width = 0 |
|
unsigned | height = 0 |
|
The documentation for this class was generated from the following files:
- xbmc/cores/VideoPlayer/DVDCodecs/Video/DXVA.h
- xbmc/cores/VideoPlayer/DVDCodecs/Video/DXVA.cpp