Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Public Member Functions | |
CVaapiBufferPool (CDecoder &decoder) | |
~CVaapiBufferPool () override | |
CVideoBuffer * | Get () override |
void | Return (int id) override |
CVaapiRenderPicture * | GetVaapi () |
bool | HasFree () |
void | QueueReturnPicture (CVaapiRenderPicture *pic) |
CVaapiRenderPicture * | ProcessSyncPicture () |
void | Init () |
void | DeleteTextures (bool precleanup) |
Public Member Functions inherited from IVideoBufferPool | |
virtual | ~IVideoBufferPool ()=default |
virtual void | Configure (AVPixelFormat format, int size) |
virtual bool | IsConfigured () |
virtual bool | IsCompatible (AVPixelFormat format, int size) |
virtual void | Released (CVideoBufferManager &videoBufferManager) |
virtual void | Discard (CVideoBufferManager *bm, ReadyToDispose cb) |
std::shared_ptr< IVideoBufferPool > | GetPtr () |
Public Attributes | |
std::deque< CVaapiProcessedPicture > | processedPics |
std::deque< CVaapiProcessedPicture > | processedPicsAway |
std::deque< CVaapiDecodedPicture > | decodedPics |
int | procPicId |
Protected Attributes | |
std::vector< CVaapiRenderPicture * > | allRenderPics |
std::deque< int > | usedRenderPics |
std::deque< int > | freeRenderPics |
std::deque< int > | syncRenderPics |
CDecoder & | m_vaapi |
Buffer pool holds allocated vaapi and gl resources Embedded in COutput
|
explicit |
|
override |
|
overridevirtual |
Implements IVideoBufferPool.
CVaapiRenderPicture * CVaapiBufferPool::GetVaapi | ( | ) |
bool CVaapiBufferPool::HasFree | ( | ) |
void CVaapiBufferPool::Init | ( | ) |
CVaapiRenderPicture * CVaapiBufferPool::ProcessSyncPicture | ( | ) |
void CVaapiBufferPool::QueueReturnPicture | ( | CVaapiRenderPicture * | pic | ) |
Implements IVideoBufferPool.
|
protected |
std::deque<CVaapiDecodedPicture> VAAPI::CVaapiBufferPool::decodedPics |
|
protected |
|
protected |
std::deque<CVaapiProcessedPicture> VAAPI::CVaapiBufferPool::processedPics |
std::deque<CVaapiProcessedPicture> VAAPI::CVaapiBufferPool::processedPicsAway |
int VAAPI::CVaapiBufferPool::procPicId |
|
protected |
|
protected |