|
vdr-plugin-softhddevice-drm-gles 1.6.2
|
Video Filter. More...
#include <videofilter.h>
Public Member Functions | |
| cVideoFilter (cVideoRender *, cQueue< cDrmBuffer > *, const char *, std::function< void(AVFrame *)>) | |
| void | InitAndStart (const AVCodecContext *, AVFrame *, bool) |
| Init and start the video filter thread. | |
| void | Stop (void) |
| Stops the filter thread and does a cleanup. | |
| void | PushFrame (AVFrame *) |
| Puts a frame in the buffer to be filtered. | |
| bool | IsInputBufferFull (void) |
| int | GetNumFramesToFilter (void) |
Private Member Functions | |
| void | Action (void) |
| Main filter thread loop. | |
| void | SetFilterOutputPixFormat (AVPixelFormat) |
| Setup the filter output pixel format. | |
Private Attributes | |
| cVideoRender * | m_pRender |
| pointer to renderer | |
| AVFilterGraph * | m_pFilterGraph |
| filter graph | |
| AVFilterContext * | m_pBuffersrcCtx |
| buffer src context | |
| AVFilterContext * | m_pBuffersinkCtx |
| buffer sink context | |
| bool | m_filterBug |
| flag for a ffmpeg bug | |
| cQueue< AVFrame > | m_frames {VIDEO_SURFACES_MAX} |
| queue for frames to be filtered | |
| std::function< void(AVFrame *)> | m_frameOutput |
| function to output the frame | |
| cQueue< cDrmBuffer > * | m_pDrmBufferQueue |
| pointer to renderer's DRM buffer queue | |
| int | m_numFramesToFilter = 0 |
| number of frames to be filtered | |
Video Filter.
Definition at line 39 of file videofilter.h.
Definition at line 46 of file videofilter.h.
References m_numFramesToFilter.
Referenced by cVideoStream::RenderFrame().
Definition at line 45 of file videofilter.h.
References cQueue< T >::IsFull(), and m_frames.
Referenced by cVideoStream::DecodeInput().
|
private |
flag for a ffmpeg bug
Definition at line 55 of file videofilter.h.
Referenced by Action(), InitAndStart(), and Stop().
|
private |
queue for frames to be filtered
Definition at line 56 of file videofilter.h.
Referenced by Action(), IsInputBufferFull(), PushFrame(), and Stop().
|
private |
number of frames to be filtered
Definition at line 59 of file videofilter.h.
Referenced by Action(), GetNumFramesToFilter(), InitAndStart(), and Stop().
|
private |
buffer sink context
Definition at line 53 of file videofilter.h.
Referenced by Action(), InitAndStart(), and SetFilterOutputPixFormat().
|
private |
buffer src context
Definition at line 52 of file videofilter.h.
Referenced by Action(), and InitAndStart().
|
private |
pointer to renderer's DRM buffer queue
Definition at line 58 of file videofilter.h.
Referenced by Action().
|
private |
|
private |
pointer to renderer
Definition at line 49 of file videofilter.h.