You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
509 B
17 lines
509 B
#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(); |
|
static call_video_caps capabilities(); |
|
private: |
|
struct Impl; |
|
std::unique_ptr<Impl> m; |
|
};
|
|
|