kodi
|
Buffer pool holds allocated vaapi and gl resources Embedded in COutput. More...
Public Member Functions | |
CVaapiBufferPool (CDecoder &decoder) | |
CVideoBuffer * | Get () override |
void | Return (int id) override |
CVaapiRenderPicture * | GetVaapi () |
bool | HasFree () |
void | QueueReturnPicture (CVaapiRenderPicture *pic) |
CVaapiRenderPicture * | ProcessSyncPicture () |
void | Init () |
void | DeleteTextures (bool precleanup) |
![]() | |
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.