60 void update(
Observable<std::shared_ptr<jami::MediaFrame>>*,
const std::shared_ptr<jami::MediaFrame>&)
override;
66 void setCrop(
int x,
int y,
int w,
int h);
70 std::lock_guard lock(mtx_);
71 target_ = std::move(
target);
79 const std::string id_;
81 const bool mixer_ {
false};
87 int x {0}, y {0}, w {0}, h {0};
91 bool started_ {
false};
94 std::unique_ptr<VideoScaler> scaler_;
95 std::unique_ptr<MediaFilter> filter_;
116 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
std::unique_ptr< AVFrame, AVFrame_deleter > FrameBuffer