|
Ring Daemon
|
#include <video_scaler.h>

Public Member Functions | |
| std::unique_ptr< VideoFrame > | convertFormat (const VideoFrame &input, AVPixelFormat pix) |
| void | reset () |
| void | scale (const AVFrame *input, AVFrame *output) |
| void | scale (const VideoFrame &input, VideoFrame &output) |
| void | scale_and_pad (const VideoFrame &input, VideoFrame &output, unsigned xoff, unsigned yoff, unsigned dest_width, unsigned dest_height, bool keep_aspect) |
| void | scale_with_aspect (const VideoFrame &input, VideoFrame &output) |
| VideoScaler () | |
| ~VideoScaler () | |
Definition at line 33 of file video_scaler.h.
| jami::video::VideoScaler::VideoScaler | ( | ) |
Definition at line 29 of file video_scaler.cpp.
| jami::video::VideoScaler::~VideoScaler | ( | ) |
Definition at line 35 of file video_scaler.cpp.
References jami::emitSignal().

| std::unique_ptr< VideoFrame > jami::video::VideoScaler::convertFormat | ( | const VideoFrame & | input, |
| AVPixelFormat | pix | ||
| ) |
Definition at line 160 of file video_scaler.cpp.
References jami::emitSignal(), libjami::VideoFrame::height(), libjami::MediaFrame::pointer(), scale(), and libjami::VideoFrame::width().
Referenced by scale_with_aspect().

| void jami::video::VideoScaler::reset | ( | ) |
Definition at line 170 of file video_scaler.cpp.
References jami::emitSignal().

Definition at line 47 of file video_scaler.cpp.
References jami::emitSignal(), and JAMI_ERR.
Referenced by convertFormat(), and scale().

| void jami::video::VideoScaler::scale | ( | const VideoFrame & | input, |
| VideoFrame & | output | ||
| ) |
Definition at line 41 of file video_scaler.cpp.
References jami::emitSignal(), libjami::MediaFrame::pointer(), and scale().

| void jami::video::VideoScaler::scale_and_pad | ( | const VideoFrame & | input, |
| VideoFrame & | output, | ||
| unsigned | xoff, | ||
| unsigned | yoff, | ||
| unsigned | dest_width, | ||
| unsigned | dest_height, | ||
| bool | keep_aspect | ||
| ) |
Definition at line 91 of file video_scaler.cpp.
References jami::emitSignal(), JAMI_ERR, and libjami::MediaFrame::pointer().
Referenced by scale_with_aspect().

| void jami::video::VideoScaler::scale_with_aspect | ( | const VideoFrame & | input, |
| VideoFrame & | output | ||
| ) |
Definition at line 75 of file video_scaler.cpp.
References convertFormat(), jami::emitSignal(), libjami::VideoFrame::format(), libjami::VideoFrame::height(), scale_and_pad(), and libjami::VideoFrame::width().
