31 void requestThumbnails(int64_t req, QVector<int64_t> flicks)
32 E_SIGNAL(SCORE_PLUGIN_MEDIA_EXPORT, requestThumbnails, req, flicks)
34 void thumbnailReady(int64_t req, int64_t flicks, QImage thumb)
35 E_SIGNAL(SCORE_PLUGIN_MEDIA_EXPORT, thumbnailReady, req, flicks, thumb)
37 QImage process(int64_t flicks);
43 void onRequest(int64_t req, QVector<int64_t> flicks);
46 QVector<int64_t> m_requests;
47 int64_t m_requestIndex{};
50 AVFormatContext* m_formatContext{};
51 AVCodecContext* m_codecContext{};
52 SwsContext* m_rescale{};
53 const AVCodec* m_codec{};
55 int64_t m_last_dts = 0;