MythTV
master
|
#include <dummydecoder.h>
Public Member Functions | |
DummyDecoder (MythPlayer *parent, const ProgramInfo &pginfo) | |
~DummyDecoder () override=default | |
int | OpenFile (MythMediaBuffer *, bool, TestBufferVec &) override |
bool | GetFrame (DecodeType, bool &) override |
Demux, preprocess and possibly decode a frame of video/audio. More... | |
bool | IsLastFrameKey (void) const override |
void | WriteStoredData (MythMediaBuffer *, bool, std::chrono::milliseconds) override |
long | UpdateStoredFrameNum (long) override |
QString | GetCodecDecoderName (void) const override |
MythCodecID | GetVideoCodecID (void) const override |
bool | SyncPositionMap (void) override |
Updates the position map used for skipping frames. More... | |
Public Member Functions inherited from DecoderBase | |
DecoderBase (MythPlayer *parent, const ProgramInfo &pginfo) | |
virtual | ~DecoderBase () |
void | SetRenderFormats (const VideoFrameTypes *RenderFormats) |
virtual void | Reset (bool reset_video_data, bool seek_reset, bool reset_file) |
virtual void | SetEofState (EofState eof) |
virtual void | SetEof (bool eof) |
EofState | GetEof (void) |
void | SetSeekSnap (uint64_t snap) |
uint64_t | GetSeekSnap (void) const |
void | SetLiveTVMode (bool live) |
void | SetProgramInfo (const ProgramInfo &pginfo) |
virtual void | SetDisablePassThrough (bool disable) |
Disables AC3/DTS pass through. More... | |
virtual void | ForceSetupAudioStream (void) |
virtual void | SetWatchingRecording (bool mode) |
MythPlayer * | GetPlayer () |
virtual int | GetNumChapters (void) |
virtual int | GetCurrentChapter (long long) |
virtual void | GetChapterTimes (QList< std::chrono::seconds > &) |
virtual long long | GetChapter (int) |
virtual bool | DoRewind (long long desiredFrame, bool discardFrames=true) |
virtual bool | DoFastForward (long long desiredFrame, bool discardFrames=true) |
Skips ahead or rewinds to desiredFrame. More... | |
virtual void | SetIdrOnlyKeyframes (bool) |
std::chrono::milliseconds | TranslatePositionFrameToMs (long long position, float fallback_framerate, const frm_dir_map_t &cutlist) |
uint64_t | TranslatePositionMsToFrame (std::chrono::milliseconds dur_ms, float fallback_framerate, const frm_dir_map_t &cutlist) |
float | GetVideoAspect (void) const |
virtual std::chrono::milliseconds | NormalizeVideoTimecode (std::chrono::milliseconds timecode) |
virtual void | ClearStoredData (void) |
virtual void | SetRawAudioState (bool state) |
virtual bool | GetRawAudioState (void) const |
virtual void | SetRawVideoState (bool state) |
virtual bool | GetRawVideoState (void) const |
virtual double | GetFPS (void) const |
uint | GetRawBitrate (void) const |
Returns the estimated bitrate if the video were played at normal speed. More... | |
virtual void | UpdateFramesPlayed (void) |
long long | GetFramesRead (void) const |
long long | GetFramesPlayed (void) const |
void | SetFramesPlayed (long long newValue) |
virtual QString | GetRawEncodingType (void) |
virtual void | ResetPosMap (void) |
virtual bool | PosMapFromDb (void) |
virtual bool | PosMapFromEnc (void) |
Queries encoder for position map data that has not been committed to the DB yet. More... | |
virtual bool | FindPosition (long long desired_value, bool search_adjusted, int &lower_bound, int &upper_bound) |
uint64_t | SavePositionMapDelta (long long first_frame, long long last_frame) |
virtual void | SeekReset (long long newkey, uint skipFrames, bool doFlush, bool discardFrames) |
void | SetTranscoding (bool value) |
bool | IsErrored () const |
bool | HasPositionMap (void) const |
void | SetWaitForChange (void) |
bool | GetWaitForChange (void) const |
void | SetReadAdjust (long long adjust) |
void | SetDecodeAllSubtitles (bool DecodeAll) |
virtual QStringList | GetTracks (uint Type) |
virtual uint | GetTrackCount (uint Type) |
virtual int | GetTrackLanguageIndex (uint Type, uint TrackNo) |
virtual QString | GetTrackDesc (uint Type, uint TrackNo) |
virtual int | SetTrack (uint Type, int TrackNo) |
int | GetTrack (uint Type) |
StreamInfo | GetTrackInfo (uint Type, uint TrackNo) |
int | ChangeTrack (uint Type, int Dir) |
virtual bool | InsertTrack (uint Type, const StreamInfo &Info) |
int | NextTrack (uint Type) |
virtual int | GetTeletextDecoderType (void) const |
virtual QString | GetXDS (const QString &) const |
virtual QByteArray | GetSubHeader (uint) |
virtual void | GetAttachmentData (uint, QByteArray &, QByteArray &) |
virtual bool | SetAudioByComponentTag (int) |
virtual bool | SetVideoByComponentTag (int) |
void | SaveTotalDuration (void) |
void | ResetTotalDuration (void) |
void | SaveTotalFrames (void) |
void | TrackTotalDuration (bool track) |
int | GetfpsMultiplier (void) const |
MythCodecContext * | GetMythCodecContext (void) |
Definition at line 10 of file dummydecoder.h.
|
inline |
Definition at line 13 of file dummydecoder.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements DecoderBase.
Definition at line 18 of file dummydecoder.h.
|
inlineoverridevirtual |
Demux, preprocess and possibly decode a frame of video/audio.
Implements DecoderBase.
Definition at line 20 of file dummydecoder.h.
|
inlineoverridevirtual |
Implements DecoderBase.
Definition at line 22 of file dummydecoder.h.
|
inlineoverridevirtual |
Implements DecoderBase.
Definition at line 23 of file dummydecoder.h.
|
inlineoverridevirtual |
Implements DecoderBase.
Definition at line 25 of file dummydecoder.h.
|
inlineoverridevirtual |
Implements DecoderBase.
Definition at line 26 of file dummydecoder.h.
|
inlineoverridevirtual |
Implements DecoderBase.
Definition at line 27 of file dummydecoder.h.
|
inlineoverridevirtual |
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:
watching recording:
watching prerecorded:
Reimplemented from DecoderBase.
Definition at line 28 of file dummydecoder.h.