Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CMediaCodecVideoBufferPool Class Reference

#include <DVDVideoCodecAndroidMediaCodec.h>

Inheritance diagram for CMediaCodecVideoBufferPool:
IVideoBufferPool

Public Member Functions

 CMediaCodecVideoBufferPool (std::shared_ptr< CJNIMediaCodec > mediaCodec)
 
 ~CMediaCodecVideoBufferPool () override
 
CVideoBufferGet () override
 
void Return (int id) override
 
std::shared_ptr< CJNIMediaCodec > GetMediaCodec ()
 
void ResetMediaCodec ()
 
void ReleaseMediaCodecBuffers ()
 
- 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< IVideoBufferPoolGetPtr ()
 

Constructor & Destructor Documentation

◆ CMediaCodecVideoBufferPool()

CMediaCodecVideoBufferPool::CMediaCodecVideoBufferPool ( std::shared_ptr< CJNIMediaCodec > mediaCodec)
inline

◆ ~CMediaCodecVideoBufferPool()

CMediaCodecVideoBufferPool::~CMediaCodecVideoBufferPool ( )
override

Member Function Documentation

◆ Get()

CVideoBuffer * CMediaCodecVideoBufferPool::Get ( )
overridevirtual

Implements IVideoBufferPool.

◆ GetMediaCodec()

std::shared_ptr< CJNIMediaCodec > CMediaCodecVideoBufferPool::GetMediaCodec ( )

◆ ReleaseMediaCodecBuffers()

void CMediaCodecVideoBufferPool::ReleaseMediaCodecBuffers ( )

◆ ResetMediaCodec()

void CMediaCodecVideoBufferPool::ResetMediaCodec ( )

◆ Return()

void CMediaCodecVideoBufferPool::Return ( int id)
overridevirtual

Implements IVideoBufferPool.


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