5#include <libavcodec/avcodec.h>
6#include <libavformat/avformat.h>
12#include <QScopedPointer>
45 const QString &menuTheme);
48 bool Create(
void)
override;
60 void Init(
void)
override;
67 QString
frameToTime(int64_t frame,
bool addFrame =
false)
const;
74 bool getFrameImage(
bool needKeyFrame =
true, int64_t requiredPTS = -1);
MythAVFrame little utility class that act as a safe way to allocate an AVFrame which can then be allo...
Screen in which all other widgets are contained and rendered.
Image widget, displays a single image or multiple images in sequence.
All purpose text widget, displays a text string.
bool seekToFrame(int frame, bool checkPos=true)
void ShowMenu(void) override
unsigned char * m_outputbuf
QString frameToTime(int64_t frame, bool addFrame=false) const
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
QList< ThumbImage * > m_thumbList
bool initAVCodec(const QString &inFile)
ArchiveRemoteAVFormatContext m_inputFC
int checkFramePosition(int frameNumber)
MythUIButton * m_cancelButton
void Init(void) override
Used after calling Load() to assign data to widgets and other UI initilisation which is prohibited in...
bool getFrameImage(bool needKeyFrame=true, int64_t requiredPTS=-1)
ArchiveItem * m_archiveItem
MythUIButton * m_saveButton
bool Create(void) override
frm_dir_map_t m_deleteMap
static int getChapterCount(const QString &menuTheme)
void updateCurrentPos(void)
MythUIImage * m_positionImage
void changeSeekAmount(bool up)
MythUIButton * m_frameButton
MythUIButtonList * m_imageGrid
void gridItemChanged(MythUIButtonListItem *item)
int calcFinalDuration(void)
void updatePositionBar(int64_t frame)
ThumbFinder(MythScreenStack *parent, ArchiveItem *archiveItem, const QString &menuTheme)
bool getThumbImages(void)
static QString createThumbDir(void)
MythUIText * m_seekAmountText
AVCodecContext * m_codecCtx
MythUIImage * m_frameImage
MythUIText * m_currentPosText
QMap< uint64_t, MarkTypes > frm_dir_map_t
Frame # -> Mark map.