Files
oak-editor/app/node/input/media/video/video.h
T
itsmattkc a9660201f1 miscellaneous other changes to make audio rendering work
Many changes were made throughout the codebase to support audio, these are
most of the small changes necessary.

The audio support still is not perfect. I still need to write in resampling
support. After that it should work correctly with all audio types.
2019-11-15 13:57:49 +09:00

39 lines
701 B
C++

#ifndef VIDEOINPUT_H
#define VIDEOINPUT_H
#include <QOpenGLTexture>
#include "../media.h"
#include "render/colormanager.h"
class VideoInput : public MediaInput
{
public:
VideoInput();
virtual QString Name() override;
virtual QString id() override;
virtual QString Category() override;
virtual QString Description() override;
virtual void Release() override;
NodeInput* matrix_input();
NodeOutput* texture_output();
virtual QString Code(NodeOutput* output) override;
//virtual void Hash(QCryptographicHash *hash, NodeOutput* from, const rational &time) override;
protected:
private:
NodeInput* matrix_input_;
NodeOutput* texture_output_;
};
#endif // VIDEOINPUT_H