10 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
13 #include <QRecursiveMutex>
48 static uint GetNumBuffers(
int PixelFormat,
int MaxReferenceFrames = 16,
bool Decoder =
false);
49 void Init(
uint NumDecode,
50 uint NeedFree,
uint NeedprebufferNormal,
51 uint NeedPrebufferSmall);
53 uint NeedFree,
uint NeedprebufferNormal,
54 uint NeedPrebufferSmall,
int MaxReferenceFrames = 16);
60 void DiscardFrames(
bool NextFrameIsKeyFrame);
61 void ClearAfterSeek(
void);
63 void SetPrebuffering(
bool Normal);
67 void StartDisplayingFrame(
void);
70 void DiscardPauseFrames(
void);
71 bool DiscardAndRecreate(
MythCodecID CodecID, QSize VideoDim,
int References);
88 uint ValidVideoFrames(
void)
const;
89 uint FreeVideoFrames(
void)
const;
90 bool EnoughFreeFrames(
void)
const;
91 bool EnoughDecodedFrames(
void)
const;
96 uint Size(
void)
const;
98 QString GetStatus(
uint Num = 0)
const;
119 uint m_needPrebufferFrames { 0 };
120 uint m_needPrebufferFramesNormal { 0 };
121 uint m_needPrebufferFramesSmall { 0 };
124 #if QT_VERSION < QT_VERSION_CHECK(5,14,0)
125 mutable QMutex m_globalLock { QMutex::Recursive };
131 #endif // VIDEOBUFFERS_H