added OIIO decoder

This commit is contained in:
itsmattkc
2019-09-05 00:03:26 +10:00
parent 6d7c08a203
commit 695adea562
17 changed files with 337 additions and 47 deletions
+5 -2
View File
@@ -27,6 +27,9 @@
#include "common/rational.h"
#include "render/pixelformat.h"
class Frame;
using FramePtr = std::shared_ptr<Frame>;
/**
* @brief Video frame data or audio sample data from a Decoder
*
@@ -40,6 +43,8 @@ public:
/// Normal constructor
Frame();
static FramePtr Create();
/**
* @brief Get frame's width in pixels
*/
@@ -107,6 +112,4 @@ private:
};
using FramePtr = std::shared_ptr<Frame>;
#endif // FRAME_H