#include <DVDVideoCodecWebCodecs.h>
|
| | CVideoBufferWebCodecs (int id) |
| |
| void | SetFrame (int decoderHandle, int32_t sequence, AVPixelFormat format) |
| |
| int | GetDecoderHandle () const |
| |
| int32_t | GetSequence () const |
| |
| | CVideoBuffer ()=delete |
| |
| virtual | ~CVideoBuffer ()=default |
| |
| 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]) |
| |
| 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.
|
| |
◆ CVideoBufferWebCodecs()
| CVideoBufferWebCodecs::CVideoBufferWebCodecs |
( |
int | id | ) |
|
|
explicit |
◆ GetDecoderHandle()
| int CVideoBufferWebCodecs::GetDecoderHandle |
( |
| ) |
const |
|
inline |
◆ GetSequence()
| int32_t CVideoBufferWebCodecs::GetSequence |
( |
| ) |
const |
|
inline |
◆ SetFrame()
| void CVideoBufferWebCodecs::SetFrame |
( |
int | decoderHandle, |
|
|
int32_t | sequence, |
|
|
AVPixelFormat | format ) |
The documentation for this class was generated from the following files: