65 const std::shared_ptr<jami::MediaFrame>&)
override;
71 void setCrop(
int x,
int y,
int w,
int h);
75 std::lock_guard lock(mtx_);
76 target_ = std::move(
target);
84 const std::string id_;
86 const bool mixer_ {
false};
92 int x {0}, y {0}, w {0}, h {0};
96 bool started_ {
false};
99 std::unique_ptr<VideoScaler> scaler_;
100 std::unique_ptr<MediaFilter> filter_;
103 void sendFrameDirect(
const std::shared_ptr<jami::MediaFrame>&);
121 std::shared_ptr<ShmHolder>
shm_;
void setCrop(int x, int y, int w, int h)
int getWidth() const noexcept
const std::string & getId() const noexcept
void update(Observable< std::shared_ptr< jami::MediaFrame > > *, const std::shared_ptr< jami::MediaFrame > &) override
void registerTarget(libjami::SinkTarget target) noexcept
std::string openedName() const noexcept
void setFrameSize(int width, int height)
int getHeight() const noexcept
AVPixelFormat getPreferredFormat() const noexcept
void emitSignal(Args... args)
libjami::VideoFrame VideoFrame