svvitch
digital signage player
|
FFmpeg基本デコーダクラス. More...
#include <FFBaseDecoder.h>
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 |
FFBaseDecoder::FFBaseDecoder | ( | Renderer & | renderer, |
AVFormatContext * | ic, | ||
const int | streamNo | ||
) |
const UINT FFBaseDecoder::bufferedPackets | ( | ) |
パケット数
void FFBaseDecoder::clearAllPackets | ( | ) |
パケットをクリアします
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] |
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.
Renderer& FFBaseDecoder::_renderer [protected] |
Definition at line 27 of file FFBaseDecoder.h.
int FFBaseDecoder::_streamNo [protected] |
Definition at line 29 of file FFBaseDecoder.h.