Add AVOpenGLWidget

This commit is contained in:
Florian Märkl 2019-08-04 22:15:26 +02:00
commit c6a15bcfae
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
9 changed files with 342 additions and 83 deletions

View file

@ -24,7 +24,7 @@
extern "C"
{
#include <libavcodec/avcodec.h>
};
}
#include <cstdint>
@ -36,8 +36,8 @@ class VideoDecoder: public QObject
VideoDecoder();
~VideoDecoder();
void PutFrame(uint8_t *buf, size_t buf_size);
QImage PullFrame();
void PushFrame(uint8_t *buf, size_t buf_size);
AVFrame *PullFrame();
signals:
void FramesAvailable();