svvitch
digital signage player
|
FFmpegビデオデコーダクラス. More...
#include <FFVideoDecoder.h>
Private Member Functions | |
FFVideoDecoder (Renderer &renderer, AVFormatContext *ic, const int streamNo) | |
virtual | ‾FFVideoDecoder () |
virtual bool | isReady () |
void | clearAllFrames () |
フレームを全てクリアします | |
void | start () |
const float | getDisplayAspectRatio () const |
const UINT | bufferedFrames () |
void | run () |
VideoFrame * | parseAVFrame (AVCodecContext *avctx, AVFrame *frame) |
void | pushUsedFrame (VideoFrame *vf) |
VideoFrame * | popFrame () |
VideoFrame * | frontFrame () |
VideoFrame * | viewFrame () |
VideoFrame * | popUsedFrame () |
Private Attributes | |
Poco::FastMutex | _startLock |
Poco::Thread | _thread |
Poco::Runnable * | _worker |
SwsContext * | _swsCtx |
AVFrame * | _outFrame |
uint8_t * | _buffer |
AVFrame * | _diFrame |
uint8_t * | _diBuffer |
queue< VideoFrame * > | _frames |
queue< VideoFrame * > | _usedFrames |
LPD3DXEFFECT | _fx |
int | _dw |
int | _dh |
Friends | |
class | FFMovieContent |
FFVideoDecoder::FFVideoDecoder | ( | Renderer & | renderer, |
AVFormatContext * | ic, | ||
const int | streamNo | ||
) | [private] |
const UINT FFVideoDecoder::bufferedFrames | ( | ) | [private] |
void FFVideoDecoder::clearAllFrames | ( | ) | [private] |
フレームを全てクリアします
VideoFrame* FFVideoDecoder::frontFrame | ( | ) | [private] |
const float FFVideoDecoder::getDisplayAspectRatio | ( | ) | const [private] |
virtual bool FFVideoDecoder::isReady | ( | ) | [private, virtual] |
Implements FFBaseDecoder.
VideoFrame* FFVideoDecoder::parseAVFrame | ( | AVCodecContext * | avctx, |
AVFrame * | frame | ||
) | [private] |
VideoFrame* FFVideoDecoder::popFrame | ( | ) | [private] |
VideoFrame* FFVideoDecoder::popUsedFrame | ( | ) | [private] |
void FFVideoDecoder::pushUsedFrame | ( | VideoFrame * | vf | ) | [private] |
void FFVideoDecoder::run | ( | ) | [private] |
void FFVideoDecoder::start | ( | ) | [private] |
VideoFrame* FFVideoDecoder::viewFrame | ( | ) | [private] |
virtual FFVideoDecoder::‾FFVideoDecoder | ( | ) | [private, virtual] |
friend class FFMovieContent [friend] |
Definition at line 21 of file FFVideoDecoder.h.
uint8_t* FFVideoDecoder::_buffer [private] |
Definition at line 30 of file FFVideoDecoder.h.
int FFVideoDecoder::_dh [private] |
Definition at line 41 of file FFVideoDecoder.h.
uint8_t* FFVideoDecoder::_diBuffer [private] |
Definition at line 33 of file FFVideoDecoder.h.
AVFrame* FFVideoDecoder::_diFrame [private] |
Definition at line 32 of file FFVideoDecoder.h.
int FFVideoDecoder::_dw [private] |
Definition at line 40 of file FFVideoDecoder.h.
queue<VideoFrame*> FFVideoDecoder::_frames [private] |
Definition at line 35 of file FFVideoDecoder.h.
LPD3DXEFFECT FFVideoDecoder::_fx [private] |
Definition at line 38 of file FFVideoDecoder.h.
AVFrame* FFVideoDecoder::_outFrame [private] |
Definition at line 29 of file FFVideoDecoder.h.
Poco::FastMutex FFVideoDecoder::_startLock [private] |
Definition at line 23 of file FFVideoDecoder.h.
SwsContext* FFVideoDecoder::_swsCtx [private] |
Definition at line 28 of file FFVideoDecoder.h.
Poco::Thread FFVideoDecoder::_thread [private] |
Definition at line 25 of file FFVideoDecoder.h.
queue<VideoFrame*> FFVideoDecoder::_usedFrames [private] |
Definition at line 36 of file FFVideoDecoder.h.
Poco::Runnable* FFVideoDecoder::_worker [private] |
Definition at line 26 of file FFVideoDecoder.h.