mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 05:23:12 -07:00
Add AVOpenGLWidget
This commit is contained in:
parent
e9bb7c8569
commit
c6a15bcfae
9 changed files with 342 additions and 83 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue