AvTranscoder
0.9.4
C++APIforLibav/FFmpeg
|
#include <VideoTransform.hpp>
Public Member Functions | |
VideoTransform () | |
~VideoTransform () | |
void | convert (const Frame &srcFrame, Frame &dstFrame) |
![]() | |
ITransform () | |
virtual | ~ITransform () |
Private Member Functions | |
VideoTransform (const VideoTransform &videoTransform) | |
VideoTransform & | operator= (const VideoTransform &videoTransform) |
bool | init (const Frame &srcFrame, const Frame &dstFrame) |
Private Attributes | |
SwsContext * | _imageConvertContext |
bool | _isInit |
Additional Inherited Members |
Definition at line 15 of file VideoTransform.hpp.
|
private |
avtranscoder::VideoTransform::VideoTransform | ( | ) |
Definition at line 23 of file VideoTransform.cpp.
avtranscoder::VideoTransform::~VideoTransform | ( | ) |
Definition at line 29 of file VideoTransform.cpp.
References _imageConvertContext.
Implements avtranscoder::ITransform.
Definition at line 69 of file VideoTransform.cpp.
References _imageConvertContext, _isInit, AV_PIX_FMT_NONE, avtranscoder::Frame::getData(), avtranscoder::VideoFrame::getHeight(), avtranscoder::Frame::getLineSize(), avtranscoder::VideoFrame::getPixelFormat(), avtranscoder::VideoFrame::getWidth(), and init().
Referenced by avtranscoder::VideoGenerator::decodeNextFrame().
|
privatevirtual |
Implements avtranscoder::ITransform.
Definition at line 34 of file VideoTransform.cpp.
References _imageConvertContext, AVPixelFormat, avtranscoder::VideoFrame::getHeight(), avtranscoder::VideoFrame::getPixelFormat(), avtranscoder::VideoFrame::getWidth(), and LOG_INFO.
Referenced by convert().
|
private |
|
private |
Definition at line 30 of file VideoTransform.hpp.
Referenced by convert(), init(), and ~VideoTransform().
|
private |
Definition at line 31 of file VideoTransform.hpp.
Referenced by convert().