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