svvitch
digital signage player
FFVideoDecoder Class Reference

FFmpegビデオデコーダクラス. More...

#include <FFVideoDecoder.h>

Inheritance diagram for FFVideoDecoder:
Collaboration diagram for FFVideoDecoder:

List of all members.

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 ()
VideoFrameparseAVFrame (AVCodecContext *avctx, AVFrame *frame)
void pushUsedFrame (VideoFrame *vf)
VideoFramepopFrame ()
VideoFramefrontFrame ()
VideoFrameviewFrame ()
VideoFramepopUsedFrame ()

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

Detailed Description

FFmpegビデオデコーダクラス.

FFmpegのビデオ系のストリームデコーダです

Definition at line 19 of file FFVideoDecoder.h.


Constructor & Destructor Documentation

FFVideoDecoder::FFVideoDecoder ( Renderer renderer,
AVFormatContext *  ic,
const int  streamNo 
) [private]

Member Function Documentation

const UINT FFVideoDecoder::bufferedFrames ( ) [private]
void FFVideoDecoder::clearAllFrames ( ) [private]

フレームを全てクリアします

const float FFVideoDecoder::getDisplayAspectRatio ( ) const [private]
virtual bool FFVideoDecoder::isReady ( ) [private, virtual]

Implements FFBaseDecoder.

VideoFrame* FFVideoDecoder::parseAVFrame ( AVCodecContext *  avctx,
AVFrame *  frame 
) [private]
void FFVideoDecoder::pushUsedFrame ( VideoFrame vf) [private]
void FFVideoDecoder::run ( ) [private]
void FFVideoDecoder::start ( ) [private]
virtual FFVideoDecoder::‾FFVideoDecoder ( ) [private, virtual]

Friends And Related Function Documentation

friend class FFMovieContent [friend]

Definition at line 21 of file FFVideoDecoder.h.


Member Data Documentation

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.

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.

Definition at line 36 of file FFVideoDecoder.h.

Poco::Runnable* FFVideoDecoder::_worker [private]

Definition at line 26 of file FFVideoDecoder.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines