rewrote hashing

This commit is contained in:
itsmattkc
2021-09-20 21:14:15 -07:00
parent 8e195a0a9c
commit 0df7012c9e
15 changed files with 402 additions and 318 deletions
+2 -4
View File
@@ -31,7 +31,6 @@
#include "node/traverser.h"
#include "render/renderer.h"
#include "rendercache.h"
#include "stillimagecache.h"
#include "threading/threadpool.h"
namespace olive {
@@ -65,9 +64,10 @@ public:
}
/**
* @brief Generate a unique identifier for a certain node at a certain time
* @brief Generate a unique identifier for a certain node at a cconst Node *n, const Node::ValueHint &outputertain time
*/
static QByteArray Hash(const Node *n, const Node::ValueHint &output, const VideoParams &params, const rational &time);
static QByteArray Hash(ViewerOutput *viewer, const VideoParams &params, const rational &time);
/**
* @brief Asynchronously generate a frame at a given time
@@ -137,8 +137,6 @@ private:
Backend backend_;
StillImageCache* still_cache_;
DecoderCache* decoder_cache_;
ShaderCache* shader_cache_;