framehashcache: remove code for saving integer-based frames to cache

Since we don't allow non-float cached frames now, there's no need to have
this code complicating the codebase.
This commit is contained in:
itsmattkc
2020-06-10 14:12:26 +10:00
parent 71ec148e76
commit a9a13c4b0c
6 changed files with 51 additions and 110 deletions
+3 -3
View File
@@ -58,15 +58,15 @@ public:
/**
* @brief Return the path of the cached image at this time
*/
static QString CachePathName(const QByteArray &hash, const PixelFormat::Format& pix_fmt);
static QString CachePathName(const QByteArray &hash);
static bool SaveCacheFrame(const QString& filename, char *data, const VideoParams &vparam);
static void SaveCacheFrame(const QByteArray& hash, char *data, const VideoParams &vparam);
static void SaveCacheFrame(const QByteArray& hash, FramePtr frame);
static FramePtr LoadCacheFrame(const QByteArray& hash, const PixelFormat::Format& format);
static FramePtr LoadCacheFrame(const QByteArray& hash);
static FramePtr LoadCacheFrame(const QString& fn);
static QString GetFormatExtension(const PixelFormat::Format& f);
static QString GetFormatExtension();
static QList<rational> GetFrameListFromTimeRange(TimeRangeList range_list, const rational& timebase);
QList<rational> GetFrameListFromTimeRange(const TimeRangeList &range);