Decode call video with bounded input and verified output metadata

This commit is contained in:
evgeny committed 2026-10-14 22:36:32 +02:00
1 parent 57a59df983
commit b091aa0df2
2 files changed
+96

No files matched your search

+16
View File
@@ -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;
};