#include <dummydecoder.h>
Public Member Functions | |
| DummyDecoder (MythPlayer *parent, const ProgramInfo &pginfo) | |
| virtual | ~DummyDecoder () |
| virtual int | OpenFile (RingBuffer *, bool, char *, int) |
| virtual bool | GetFrame (DecodeType) |
| Demux, preprocess and possibly decode a frame of video/audio. | |
| virtual bool | IsLastFrameKey (void) const |
| virtual void | WriteStoredData (RingBuffer *, bool, long) |
| virtual long | UpdateStoredFrameNum (long) |
| virtual QString | GetCodecDecoderName (void) const |
| virtual MythCodecID | GetVideoCodecID (void) const |
| virtual bool | SyncPositionMap (void) |
| Updates the position map used for skipping frames. | |
Definition at line 12 of file dummydecoder.h.
| DummyDecoder::DummyDecoder | ( | MythPlayer * | parent, | |
| const ProgramInfo & | pginfo | |||
| ) | [inline] |
Definition at line 15 of file dummydecoder.h.
| virtual DummyDecoder::~DummyDecoder | ( | ) | [inline, virtual] |
Definition at line 17 of file dummydecoder.h.
| virtual int DummyDecoder::OpenFile | ( | RingBuffer * | , | |
| bool | , | |||
| char * | , | |||
| int | ||||
| ) | [inline, virtual] |
Definition at line 19 of file dummydecoder.h.
| virtual bool DummyDecoder::GetFrame | ( | DecodeType | ) | [inline, virtual] |
Demux, preprocess and possibly decode a frame of video/audio.
Implements DecoderBase.
Definition at line 20 of file dummydecoder.h.
| virtual bool DummyDecoder::IsLastFrameKey | ( | void | ) | const [inline, virtual] |
Implements DecoderBase.
Definition at line 22 of file dummydecoder.h.
| virtual void DummyDecoder::WriteStoredData | ( | RingBuffer * | , | |
| bool | , | |||
| long | ||||
| ) | [inline, virtual] |
Implements DecoderBase.
Definition at line 23 of file dummydecoder.h.
| virtual long DummyDecoder::UpdateStoredFrameNum | ( | long | ) | [inline, virtual] |
Implements DecoderBase.
Definition at line 25 of file dummydecoder.h.
| virtual QString DummyDecoder::GetCodecDecoderName | ( | void | ) | const [inline, virtual] |
Implements DecoderBase.
Definition at line 27 of file dummydecoder.h.
| virtual MythCodecID DummyDecoder::GetVideoCodecID | ( | void | ) | const [inline, virtual] |
Implements DecoderBase.
Definition at line 28 of file dummydecoder.h.
| virtual bool DummyDecoder::SyncPositionMap | ( | void | ) | [inline, virtual] |
Updates the position map used for skipping frames.
There are different sources for position maps, depending on where we are getting the stream from.
positionmap sources: live tv: 1. remote encoder 2. stream parsing decide keyframedist based on samples from remote encoder
watching recording: 1. initial fill from db 2. incremental from remote encoder, until it finishes recording 3. then db again (which should be the final time) 4. stream parsing decide keyframedist based on which table in db
watching prerecorded: 1. initial fill from db is all that's needed
Reimplemented from DecoderBase.
Definition at line 30 of file dummydecoder.h.
1.6.3