10 #include <QRecursiveMutex>
44 static uint GetNumBuffers(
int PixelFormat,
int MaxReferenceFrames = 16,
bool Decoder =
false);
45 void Init(
uint NumDecode,
46 uint NeedFree,
uint NeedprebufferNormal,
47 uint NeedPrebufferSmall);
49 uint NeedFree,
uint NeedprebufferNormal,
50 uint NeedPrebufferSmall,
int MaxReferenceFrames = 16);
56 void DiscardFrames(
bool NextFrameIsKeyFrame);
57 void ClearAfterSeek(
void);
59 void SetPrebuffering(
bool Normal);
63 void StartDisplayingFrame(
void);
66 void DiscardPauseFrames(
void);
67 bool DiscardAndRecreate(
MythCodecID CodecID, QSize VideoDim,
int References);
84 uint ValidVideoFrames(
void)
const;
85 uint FreeVideoFrames(
void)
const;
86 bool EnoughFreeFrames(
void)
const;
87 bool EnoughDecodedFrames(
void)
const;
92 uint Size(
void)
const;
94 QString GetStatus(
uint Num = 0)
const;
115 uint m_needPrebufferFrames { 0 };
116 uint m_needPrebufferFramesNormal { 0 };
117 uint m_needPrebufferFramesSmall { 0 };
123 #endif // VIDEOBUFFERS_H