Decode call video with bounded input and verified output metadata
This commit is contained in:
1 parent
57a59df983
commit
b091aa0df2
2 files changed
+96
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
#include "../../../src/call/call_video.h"
|
||||
#include <QImage>
|
||||
#include <memory>
|
||||
|
||||
// Один RX worker; декодированные изображения принадлежат очереди показа по аудиочасам.
|
||||
class CallVideoDecoder {
|
||||
public:
|
||||
CallVideoDecoder();
|
||||
~CallVideoDecoder();
|
||||
bool decode(const call_video_frame& frame, QImage& image);
|
||||
void close();
|
||||
private:
|
||||
struct Impl;
|
||||
std::unique_ptr<Impl> m;
|
||||
};
|
||||
Reference in new issue
Block a user