Go to the documentation of this file. 1 #ifndef MYTHDEINTERLACER_H
2 #define MYTHDEINTERLACER_H
11 #include "libavfilter/avfilter.h"
12 #include "libswscale/swscale.h"
29 bool DoubleRate,
bool TopFieldFirst,
SwsContext * m_swsContext
uint64_t m_discontinuityCounter
MythAVFrame little utility class that act as a safe way to allocate an AVFrame which can then be allo...
MythDeintType m_deintType
bool SetUpCache(MythVideoFrame *Frame)
void OneField(MythVideoFrame *Frame, FrameScanType Scan)
MythDeinterlacer()=default
void Filter(MythVideoFrame *Frame, FrameScanType Scan, MythVideoProfile *Profile, bool Force=false)
Deinterlace Frame if needed.
Handles software based deinterlacing of video frames.
bool Initialise(MythVideoFrame *Frame, MythDeintType Deinterlacer, bool DoubleRate, bool TopFieldFirst, MythVideoProfile *Profile)
Initialise deinterlacing using the given MythDeintType.
VideoFrameType m_inputType
void Blend(MythVideoFrame *Frame, FrameScanType Scan)
uint64_t m_lastFieldChange
MythVideoFrame * m_bobFrame
AVFilterContext * m_source