work on decoder classes

This commit is contained in:
itsmattkc
2019-05-29 03:05:10 +10:00
parent d76ac6ff38
commit aa0832c482
29 changed files with 6238 additions and 12556 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
NodeMedia::NodeMedia(NodeGraph* c) :
Node(c),
media_(nullptr),
buffer_(c->memory_cache())
buffer_(c->memory_cache()),
decoder_(nullptr)
{
matrix_input_ = new NodeIO(this, "matrix", tr("Matrix"), true, false);
matrix_input_->AddAcceptedNodeInput(olive::nodes::kMatrix);
+4
View File
@@ -4,6 +4,7 @@
#include "nodes/node.h"
#include "rendering/memorycache.h"
#include "project/media.h"
#include "decoders/decoder.h"
/**
* @brief The NodeMedia class
@@ -46,6 +47,9 @@ private:
// Texture buffer
// TODO Probable cache point
MemoryCache::Reference buffer_;
// Decoder
DecoderPtr decoder_;
};
#endif // MEDIANODE_H