reimplemented color management and alpha association in new renderer system

Color management is now as functional as it was before.
This commit is contained in:
itsmattkc
2019-12-06 13:33:53 +11:00
parent 927e2252f3
commit 33f73e0e90
14 changed files with 261 additions and 35 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ AudioWorker::AudioWorker(DecoderCache *decoder_cache, QObject *parent) :
{
}
void AudioWorker::FrameToValue(FramePtr frame, NodeValueTable *table)
void AudioWorker::FrameToValue(StreamPtr stream, FramePtr frame, NodeValueTable *table)
{
Q_UNUSED(stream)
table->Push(NodeParam::kSamples, frame->ToByteArray());
}
+1 -1
View File
@@ -9,7 +9,7 @@ public:
AudioWorker(DecoderCache* decoder_cache, QObject* parent = nullptr);
protected:
virtual void FrameToValue(FramePtr frame, NodeValueTable* table) override;
virtual void FrameToValue(StreamPtr stream, FramePtr frame, NodeValueTable* table) override;
private: