svvitch
digital signage player
FFBaseDecoder Class Reference

FFmpeg基本デコーダクラス. More...

#include <FFBaseDecoder.h>

Inheritance diagram for FFBaseDecoder:
Collaboration diagram for FFBaseDecoder:

List of all members.

Public Member Functions

 FFBaseDecoder (Renderer &renderer, AVFormatContext *ic, const int streamNo)
virtual ‾FFBaseDecoder ()
virtual bool isReady ()=0
void clearAllPackets ()
 パケットをクリアします
const UINT bufferedPackets ()
 パケット数
void pushPacket (AVPacket *packet)
 パケットを入れる
AVPacketList * popPacket ()
 パケットを取出す
const float getAvgTime () const
 平均デコード時間

Protected Attributes

Poco::FastMutex _lock
Poco::Logger & _log
Renderer_renderer
AVFormatContext * _ic
int _streamNo
DWORD _readTime
int _readCount
float _avgTime

Private Attributes

queue< AVPacketList * > _packets

Detailed Description

FFmpeg基本デコーダクラス.

FFmpegのストリームデコーダの基本実装です

Definition at line 18 of file FFBaseDecoder.h.


Constructor & Destructor Documentation

FFBaseDecoder::FFBaseDecoder ( Renderer renderer,
AVFormatContext *  ic,
const int  streamNo 
)

Member Function Documentation

パケット数

パケットをクリアします

const float FFBaseDecoder::getAvgTime ( ) const

平均デコード時間

virtual bool FFBaseDecoder::isReady ( ) [pure virtual]

Implemented in FFVideoDecoder, and FFAudioDecoder.

AVPacketList* FFBaseDecoder::popPacket ( )

パケットを取出す

void FFBaseDecoder::pushPacket ( AVPacket *  packet)

パケットを入れる

virtual FFBaseDecoder::‾FFBaseDecoder ( ) [virtual]

Member Data Documentation

float FFBaseDecoder::_avgTime [protected]

Definition at line 33 of file FFBaseDecoder.h.

AVFormatContext* FFBaseDecoder::_ic [protected]

Definition at line 28 of file FFBaseDecoder.h.

Poco::FastMutex FFBaseDecoder::_lock [protected]

Definition at line 24 of file FFBaseDecoder.h.

Poco::Logger& FFBaseDecoder::_log [protected]

Definition at line 25 of file FFBaseDecoder.h.

queue<AVPacketList*> FFBaseDecoder::_packets [private]

Definition at line 21 of file FFBaseDecoder.h.

int FFBaseDecoder::_readCount [protected]

Definition at line 32 of file FFBaseDecoder.h.

DWORD FFBaseDecoder::_readTime [protected]

Definition at line 31 of file FFBaseDecoder.h.

Definition at line 27 of file FFBaseDecoder.h.

int FFBaseDecoder::_streamNo [protected]

Definition at line 29 of file FFBaseDecoder.h.


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