Valkka
1.6.1
OpenSource Video Management
|
Interpolate from YUV bitmap to RGB. More...
#include <framefilter.h>
Public Member Functions | |
SwScaleFrameFilter (const char *name, int target_width, int target_height, FrameFilter *next=NULL) | |
Default constructor // <pyapi> More... | |
~SwScaleFrameFilter () | |
Default destructor // <pyapi> | |
void | run (Frame *frame) |
Calls this->go(Frame* frame) and then calls the this->next->run(Frame* frame) (if this->next != NULL) | |
Public Member Functions inherited from FrameFilter | |
FrameFilter (const char *name, FrameFilter *next=NULL) | |
Default constructor. More... | |
virtual | ~FrameFilter () |
Virtual destructor // <pyapi> | |
void | setVoid () |
nullifies the next framefilter in the chain -> cuts the framefilter chain | |
Protected Member Functions | |
void | go (Frame *frame) |
Does the actual filtering/modification to the Frame. Define in subclass. | |
Protected Attributes | |
int | target_width |
target frame width | |
int | target_height |
target frame height | |
int | width |
int | height |
AVRGBFrame | outputframe |
SwsContext * | sws_ctx |
FFmpeg scaling context structure. | |
Additional Inherited Members | |
Public Attributes inherited from FrameFilter | |
std::string | name |
FrameFilter * | next |
The next frame filter in the chain to be applied. | |
Interpolate from YUV bitmap to RGB.
SwScaleFrameFilter::SwScaleFrameFilter | ( | const char * | name, |
int | target_width, | ||
int | target_height, | ||
FrameFilter * | next = NULL |
||
) |
Default constructor // <pyapi>
Interpolates from YUV to RGB with requested dimensions.