#include <VideoBuffer.h>
|
| | CVideoBufferSysMem (IVideoBufferPool &pool, int id, AVPixelFormat format, int size) |
| |
| | ~CVideoBufferSysMem () override |
| |
| uint8_t * | GetMemPtr () override |
| |
| void | GetPlanes (uint8_t *(&planes)[YuvImage::MAX_PLANES]) override |
| |
| void | GetStrides (int(&strides)[YuvImage::MAX_PLANES]) override |
| |
| void | SetPixelFormat (const AVPixelFormat pixFormat) override |
| |
| void | SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES]) override |
| |
| void | SetDimensions (int width, int height, const int(&strides)[YuvImage::MAX_PLANES], const int(&planeOffsets)[YuvImage::MAX_PLANES]) override |
| |
| bool | Alloc () |
| |
| | CVideoBuffer ()=delete |
| |
| virtual | ~CVideoBuffer ()=default |
| |
| void | Acquire () |
| |
| void | Acquire (std::shared_ptr< IVideoBufferPool > pool) |
| |
| void | Release () |
| |
| int | GetId () const |
| |
| virtual AVPixelFormat | GetFormat () |
| |
| virtual void | SyncStart () |
| | Begin CPU access to the buffer memory.
|
| |
| virtual void | SyncEnd () |
| | End CPU access to the buffer memory. Counterpart to SyncStart().
|
| |
| virtual AVDRMFrameDescriptor * | GetDescriptor () const |
| | Return an AVDRMFrameDescriptor for platform-buffer-aware callers.
|
| |
| virtual ReductionResult | ReduceForAnalysis (KODI::VIDEO::GEOMETRY::ReducedFrame &reduction, unsigned int sourceWidth, unsigned int sourceHeight, unsigned int targetWidth) |
| | Produce a small CPU-readable copy of the picture, for analysis that survives downscaling, when GetPlanes() exposes nothing. Not supported by default.
|
| |
◆ CVideoBufferSysMem()
◆ ~CVideoBufferSysMem()
| CVideoBufferSysMem::~CVideoBufferSysMem |
( |
| ) |
|
|
override |
◆ Alloc()
| bool CVideoBufferSysMem::Alloc |
( |
| ) |
|
◆ GetMemPtr()
| uint8_t * CVideoBufferSysMem::GetMemPtr |
( |
| ) |
|
|
overridevirtual |
◆ GetPlanes()
| void CVideoBufferSysMem::GetPlanes |
( |
uint8_t *(&) | planes[YuvImage::MAX_PLANES] | ) |
|
|
overridevirtual |
◆ GetStrides()
| void CVideoBufferSysMem::GetStrides |
( |
int(&) | strides[YuvImage::MAX_PLANES] | ) |
|
|
overridevirtual |
◆ SetDimensions() [1/2]
| void CVideoBufferSysMem::SetDimensions |
( |
int | width, |
|
|
int | height, |
|
|
const int(&) | strides[YuvImage::MAX_PLANES] ) |
|
overridevirtual |
◆ SetDimensions() [2/2]
| void CVideoBufferSysMem::SetDimensions |
( |
int | width, |
|
|
int | height, |
|
|
const int(&) | strides[YuvImage::MAX_PLANES], |
|
|
const int(&) | planeOffsets[YuvImage::MAX_PLANES] ) |
|
overridevirtual |
◆ SetPixelFormat()
| void CVideoBufferSysMem::SetPixelFormat |
( |
const AVPixelFormat | pixFormat | ) |
|
|
overridevirtual |
◆ m_data
| uint8_t* CVideoBufferSysMem::m_data = nullptr |
|
protected |
◆ m_height
| int CVideoBufferSysMem::m_height = 0 |
|
protected |
◆ m_image
◆ m_size
| int CVideoBufferSysMem::m_size = 0 |
|
protected |
◆ m_width
| int CVideoBufferSysMem::m_width = 0 |
|
protected |
The documentation for this class was generated from the following files: