|
MythTV master
|
#include <libmythtv/decoders/decoderbase.h>
Classes | |
| struct | PosMapEntry |
Public Member Functions | |
| 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 int | OpenFile (MythMediaBuffer *Buffer, bool novideo, TestBufferVec &testbuf)=0 |
| 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) |
| virtual bool | GetFrame (DecodeType Type, bool &Retry)=0 |
| Demux, preprocess and possibly decode a frame of video/audio. More... | |
| 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 bool | IsLastFrameKey (void) const =0 |
| 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 | GetCodecDecoderName (void) const =0 |
| virtual QString | GetRawEncodingType (void) |
| virtual MythCodecID | GetVideoCodecID (void) const =0 |
| virtual void | ResetPosMap (void) |
| virtual bool | SyncPositionMap (void) |
| Updates the position map used for skipping frames. More... | |
| 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) |
| 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) |
Static Public Member Functions | |
| static uint64_t | TranslatePositionAbsToRel (const frm_dir_map_t &deleteMap, uint64_t absPosition, const frm_pos_map_t &map=frm_pos_map_t(), float fallback_ratio=1.0) |
| static uint64_t | TranslatePositionRelToAbs (const frm_dir_map_t &deleteMap, uint64_t relPosition, const frm_pos_map_t &map=frm_pos_map_t(), float fallback_ratio=1.0) |
| static uint64_t | TranslatePosition (const frm_pos_map_t &map, long long key, float fallback_ratio) |
| static AVPixelFormat | GetBestVideoFormat (AVPixelFormat *Formats, const VideoFrameTypes *RenderFormats) |
| Find a suitable frame format that is mutually acceptable to the decoder and render device. More... | |
Protected Member Functions | |
| int | BestTrack (uint Type, bool forcedPreferred, int preferredLanguage=0) |
| Determine the best track according to weights. More... | |
| virtual int | AutoSelectTrack (uint Type) |
| Select best track. More... | |
| void | AutoSelectTracks (void) |
| void | ResetTracks (void) |
| void | FileChanged (void) |
| virtual bool | DoRewindSeek (long long desiredFrame) |
| virtual void | DoFastForwardSeek (long long desiredFrame, bool &needflush) |
| Seeks to the keyframe just before the desiredFrame if exact seeks is enabled, or the frame just after it if exact seeks is not enabled. More... | |
| long long | ConditionallyUpdatePosMap (long long desiredFrame) |
| long long | GetLastFrameInPosMap (void) const |
| unsigned long | GetPositionMapSize (void) const |
| long long | GetKey (const PosMapEntry &entry) const |
Definition at line 120 of file decoderbase.h.
| DecoderBase::DecoderBase | ( | MythPlayer * | parent, |
| const ProgramInfo & | pginfo | ||
| ) |
Definition at line 17 of file decoderbase.cpp.
|
virtual |
Definition at line 30 of file decoderbase.cpp.
|
protectedvirtual |
Select best track.
In case there's only one track available, always choose it.
If there is a user selected track we try to find it.
If we can't find the user selected track we try to picked according to the ISO639Language[0..] settings.
In case there are no ISOLanguage[0..] settings, or no preferred language is found, the first found track stream is chosen
Reimplemented in AvFormatDecoder.
Definition at line 1090 of file decoderbase.cpp.
Referenced by AvFormatDecoder::AutoSelectTrack(), and AutoSelectTracks().
|
protected |
Definition at line 1169 of file decoderbase.cpp.
Determine the best track according to weights.
Select the best track. Primary attribute is to favor or disfavor a forced track. Secondary attribute is language preference, in order of most preferred to least preferred language. Third attribute is track order, preferring the earliesttrack.
Whether to favor or disfavor forced is controlled by the second parameter.
A preferredlanguage can be specified as third parameter, which will override the user's preferrence list.
This function must not be called without taking m_trackLock
Definition at line 1035 of file decoderbase.cpp.
Referenced by AutoSelectTrack(), and SetTrack().
| int DecoderBase::ChangeTrack | ( | uint | Type, |
| int | Dir | ||
| ) |
Definition at line 990 of file decoderbase.cpp.
Referenced by MythPlayerCaptionsUI::ChangeTrack().
|
protected |
Definition at line 667 of file decoderbase.cpp.
Referenced by DoFastForward(), and DoRewindSeek().
Skips ahead or rewinds to desiredFrame.
If discardFrames is true and cached frames are released and playback continues at the desiredFrame, if it is not any interviening frames between the last frame already in the buffer and the desiredFrame are released, but none of the frames decoded at the time this is called are released.
Reimplemented in AvFormatDecoder.
Definition at line 710 of file decoderbase.cpp.
Referenced by MythPlayer::DecoderLoop(), AvFormatDecoder::DoFastForward(), and MythPlayer::DoFFRewSkip().
|
protectedvirtual |
Seeks to the keyframe just before the desiredFrame if exact seeks is enabled, or the frame just after it if exact seeks is not enabled.
The seek is not made if framesPlayed is greater than the keyframe this would jump too. This means that frame-by-frame seeking after a keyframe must be done elsewhere.
If the seek is made the needflush parameter is set.
| desiredFrame | frame we are attempting to seek to. |
| needflush | set to true if a seek is made. |
Reimplemented in MythBDDecoder, AvFormatDecoder, and MythDVDDecoder.
Definition at line 819 of file decoderbase.cpp.
Referenced by DoFastForward(), and AvFormatDecoder::DoFastForwardSeek().
Reimplemented in AvFormatDecoder.
Definition at line 555 of file decoderbase.cpp.
Referenced by MythPlayer::DecoderLoop(), DoFastForward(), MythPlayer::DoFFRewSkip(), AvFormatDecoder::DoRewind(), and MythCommFlagPlayer::RebuildSeekTable().
|
protectedvirtual |
Reimplemented in MythBDDecoder, AvFormatDecoder, and MythDVDDecoder.
Definition at line 589 of file decoderbase.cpp.
Referenced by DoRewind(), and AvFormatDecoder::DoRewindSeek().
|
protected |
Definition at line 870 of file decoderbase.cpp.
Referenced by AvFormatDecoder::GetFrame().
|
virtual |
Definition at line 419 of file decoderbase.cpp.
Referenced by DoFastForwardSeek(), and DoRewindSeek().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 147 of file decoderbase.h.
Referenced by MythPlayer::ForceSetupAudioStream().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 241 of file decoderbase.h.
|
static |
Find a suitable frame format that is mutually acceptable to the decoder and render device.
Definition at line 1472 of file decoderbase.cpp.
Referenced by MythCodecContext::RetrieveHWFrame().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 157 of file decoderbase.h.
Referenced by MythPlayer::GetChapter().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 156 of file decoderbase.h.
Referenced by MythPlayer::GetChapterTimes().
|
pure virtual |
Implemented in AvFormatDecoder, and DummyDecoder.
Referenced by MythPlayerUI::GetPlaybackData(), MythPlayerVideoUI::InitVideo(), and VideoPerformanceTest::Test().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 155 of file decoderbase.h.
Referenced by MythPlayer::GetCurrentChapter().
|
inline |
Definition at line 135 of file decoderbase.h.
Referenced by MythPlayer::GetEof(), and MythPlayerUI::VideoLoop().
|
inlinevirtual |
Definition at line 189 of file decoderbase.h.
Referenced by MythPlayer::IsReallyNearEnd(), MythPlayerUI::JumpToStream(), MythCCExtractorPlayer::OnGotNewFrame(), and MythPlayerCaptionsUI::SafeFPS().
|
inline |
Definition at line 252 of file decoderbase.h.
Referenced by MythPlayerUI::DisplayNormalFrame(), MythPlayer::SetFrameInterval(), and MythPlayer::UpdateFFRewSkip().
|
pure virtual |
Demux, preprocess and possibly decode a frame of video/audio.
Implemented in AvFormatDecoder, MythDVDDecoder, and DummyDecoder.
Referenced by DoFastForward(), and MythPlayer::DoGetFrame().
|
inline |
Definition at line 195 of file decoderbase.h.
Referenced by MythPlayer::DoFFRewSkip().
|
inline |
Definition at line 194 of file decoderbase.h.
Referenced by MythPlayer::DoFFRewSkip(), MythCCExtractorPlayer::OnGotNewFrame(), MythCommFlagPlayer::RebuildSeekTable(), and ImportRecorder::UpdateRecSize().
|
protected |
Definition at line 582 of file decoderbase.cpp.
Referenced by DoFastForwardSeek(), DoRewindSeek(), FindPosition(), and GetLastFrameInPosMap().
|
protected |
Definition at line 656 of file decoderbase.cpp.
Referenced by ConditionallyUpdatePosMap(), and DoFastForward().
|
inline |
Definition at line 253 of file decoderbase.h.
Referenced by MythDVDPlayer::AutoDeint().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 154 of file decoderbase.h.
Referenced by MythPlayer::GetNumChapters().
|
inline |
Definition at line 152 of file decoderbase.h.
Referenced by MythNVDECContext::InitFramesContext(), and MythVTBContext::InitFramesContext().
|
protected |
Definition at line 293 of file decoderbase.cpp.
Referenced by DoRewindSeek(), HasPositionMap(), and SyncPositionMap().
|
inline |
Returns the estimated bitrate if the video were played at normal speed.
Definition at line 191 of file decoderbase.h.
Referenced by MythPlayerUI::JumpToProgram(), MythPlayerUI::JumpToStream(), and MythPlayerUI::SwitchToProgram().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 199 of file decoderbase.h.
Referenced by MythPlayerUI::GetCodecDescription().
|
inline |
Definition at line 138 of file decoderbase.h.
Referenced by AvFormatDecoder::do_av_seek(), and AvFormatDecoder::SeekReset().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 240 of file decoderbase.h.
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 237 of file decoderbase.h.
| int DecoderBase::GetTrack | ( | uint | Type | ) |
Definition at line 946 of file decoderbase.cpp.
Referenced by SubtitleScreen::DisplayAVSubtitles(), and MythPlayerCaptionsUI::GetTrack().
Definition at line 898 of file decoderbase.cpp.
Referenced by MythPlayerCaptionsUI::ChangeCaptionTrack(), MythDVDPlayer::EnableCaptions(), MythPlayerCaptionsUI::GetTrackCount(), MythPlayerCaptionsUI::HasCaptionTrack(), AvFormatDecoder::HasVideo(), and MythPlayerUI::VideoStart().
Reimplemented in AvFormatDecoder.
Definition at line 928 of file decoderbase.cpp.
Referenced by MythPlayerCaptionsUI::ChangeTrack(), MythPlayerCaptionsUI::DisableCaptions(), MythPlayerCaptionsUI::EnableCaptions(), AvFormatDecoder::GetTrackDesc(), GetTracks(), and MythPlayerCaptionsUI::SetTrack().
| StreamInfo DecoderBase::GetTrackInfo | ( | uint | Type, |
| uint | TrackNo | ||
| ) |
Definition at line 979 of file decoderbase.cpp.
Referenced by MythDVDPlayer::EnableCaptions(), MythPlayerCaptionsUI::SetTrack(), MythDVDPlayer::SetTrack(), and MythPlayerUI::VideoStart().
Definition at line 920 of file decoderbase.cpp.
Referenced by MythPlayerCaptionsUI::EnableCaptions().
|
virtual |
Definition at line 911 of file decoderbase.cpp.
Referenced by MythPlayerCaptionsUI::GetTracks().
|
inline |
Definition at line 182 of file decoderbase.h.
Referenced by Transcode::TranscodeFile().
|
pure virtual |
Implemented in AvFormatDecoder, and DummyDecoder.
Referenced by MythPlayer::GetEncodingType(), MythPlayerVideoUI::InitVideo(), MythPlayer::InitVideo(), MythPlayer::ReinitVideo(), and MythCodecContext::RetrieveHWFrame().
| bool DecoderBase::GetWaitForChange | ( | void | ) | const |
Definition at line 893 of file decoderbase.cpp.
Referenced by MythPlayerUI::EventLoop().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 239 of file decoderbase.h.
Referenced by MythPlayer::GetXDS().
|
inline |
Definition at line 218 of file decoderbase.h.
Referenced by MythCommFlagPlayer::RebuildSeekTable().
|
inline |
Definition at line 216 of file decoderbase.h.
Referenced by MythPlayer::OpenFile(), and MythPlayer::ResetPlaying().
|
pure virtual |
Implemented in AvFormatDecoder, and DummyDecoder.
Referenced by MythTranscodePlayer::TranscodeGetNextFrame().
| int DecoderBase::NextTrack | ( | uint | Type | ) |
Definition at line 1006 of file decoderbase.cpp.
Referenced by MythPlayerCaptionsUI::ChangeCaptionTrack().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 184 of file decoderbase.h.
|
pure virtual |
Implemented in DummyDecoder, and AvFormatDecoder.
Referenced by MythPlayer::OpenFile().
|
virtual |
Definition at line 94 of file decoderbase.cpp.
Referenced by SyncPositionMap().
|
virtual |
Queries encoder for position map data that has not been committed to the DB yet.
PosMapFromDb(void) must be called first in order to set positionMapType and keyframedist correctly.
Definition at line 222 of file decoderbase.cpp.
Referenced by SyncPositionMap().
Reimplemented in AvFormatDecoder, MythBDDecoder, and MythDVDDecoder.
Definition at line 47 of file decoderbase.cpp.
Referenced by MythCommFlagPlayer::RebuildSeekTable(), AvFormatDecoder::Reset(), and MythPlayer::ResetPlaying().
|
virtual |
Definition at line 647 of file decoderbase.cpp.
Referenced by FileChanged(), Reset(), MythBDDecoder::StreamChangeCheck(), and MythDVDDecoder::StreamChangeCheck().
|
inline |
Definition at line 249 of file decoderbase.h.
Referenced by MythPlayer::ResetTotalDuration().
|
protected |
Definition at line 1175 of file decoderbase.cpp.
Referenced by DecoderBase().
| uint64_t DecoderBase::SavePositionMapDelta | ( | long long | first_frame, |
| long long | last_frame | ||
| ) |
Definition at line 499 of file decoderbase.cpp.
Referenced by MythRebuildSaver::run().
| void DecoderBase::SaveTotalDuration | ( | void | ) |
Definition at line 1265 of file decoderbase.cpp.
Referenced by MythPlayer::SaveTotalDuration().
| void DecoderBase::SaveTotalFrames | ( | void | ) |
Definition at line 1273 of file decoderbase.cpp.
Referenced by MythPlayer::SaveTotalFrames().
|
virtual |
Reimplemented in AvFormatDecoder.
Definition at line 74 of file decoderbase.cpp.
Referenced by DoFastForward(), MythDVDPlayer::DoJumpChapter(), DoRewind(), Reset(), and AvFormatDecoder::SeekReset().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 245 of file decoderbase.h.
Referenced by MythPlayerCaptionsUI::SetAudioByComponentTag().
| void DecoderBase::SetDecodeAllSubtitles | ( | bool | DecodeAll | ) |
Definition at line 904 of file decoderbase.cpp.
Referenced by MythCCExtractorPlayer::run().
|
inlinevirtual |
Disables AC3/DTS pass through.
Reimplemented in AvFormatDecoder.
Definition at line 145 of file decoderbase.h.
Referenced by MythPlayer::SetDisablePassThrough().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 132 of file decoderbase.h.
Referenced by AvFormatDecoder::SetEof().
|
inlinevirtual |
Definition at line 131 of file decoderbase.h.
Referenced by Reset(), and MythPlayer::SetEof().
|
inline |
Definition at line 196 of file decoderbase.h.
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 160 of file decoderbase.h.
Referenced by MythCommFlagPlayer::RebuildSeekTable().
|
inline |
Definition at line 139 of file decoderbase.h.
Referenced by MythPlayer::OpenFile().
| void DecoderBase::SetProgramInfo | ( | const ProgramInfo & | pginfo | ) |
Definition at line 41 of file decoderbase.cpp.
Referenced by MythPlayerUI::FileChanged(), MythPlayerUI::JumpToProgram(), MythPlayerUI::JumpToStream(), and MythPlayerUI::SwitchToProgram().
| void DecoderBase::SetReadAdjust | ( | long long | adjust | ) |
Definition at line 883 of file decoderbase.cpp.
Referenced by MythPlayerUI::SwitchToProgram().
| void DecoderBase::SetRenderFormats | ( | const VideoFrameTypes * | RenderFormats | ) |
Definition at line 35 of file decoderbase.cpp.
Referenced by MythPlayer::SetDecoder().
|
inline |
Definition at line 137 of file decoderbase.h.
Referenced by MythTranscodePlayer::InitForTranscode(), MythPlayer::OpenFile(), and MythPlayer::WaitForSeek().
|
virtual |
Reimplemented in AvFormatDecoder.
Definition at line 952 of file decoderbase.cpp.
Referenced by ChangeTrack(), AvFormatDecoder::SetTrack(), and MythPlayerCaptionsUI::SetTrack().
|
inline |
Definition at line 214 of file decoderbase.h.
Referenced by MythPlayer::OpenFile(), and MythTranscodePlayer::SetTranscoding().
|
inlinevirtual |
Reimplemented in AvFormatDecoder.
Definition at line 246 of file decoderbase.h.
Referenced by MythPlayerCaptionsUI::SetVideoByComponentTag().
| void DecoderBase::SetWaitForChange | ( | void | ) |
Definition at line 888 of file decoderbase.cpp.
Referenced by MythPlayerUI::SwitchToProgram().
|
virtual |
Definition at line 81 of file decoderbase.cpp.
Referenced by MythPlayer::OpenFile(), and MythPlayer::SetWatchingRecording().
|
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:
watching recording:
watching prerecorded:
Reimplemented in DummyDecoder.
Definition at line 321 of file decoderbase.cpp.
Referenced by ConditionallyUpdatePosMap(), MythPlayer::DecoderLoop(), DoFastForward(), MythPlayer::FastForward(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::OpenFile(), MythBDDecoder::Reset(), MythDVDDecoder::Reset(), SetWatchingRecording(), MythBDDecoder::StreamChangeCheck(), MythDVDDecoder::StreamChangeCheck(), and TranslatePositionFrameToMs().
|
inline |
Definition at line 251 of file decoderbase.h.
Referenced by MythCommFlagPlayer::RebuildSeekTable().
|
static |
Definition at line 1284 of file decoderbase.cpp.
Referenced by TranslatePositionAbsToRel(), TranslatePositionMsToFrame(), and TranslatePositionRelToAbs().
|
static |
Definition at line 1387 of file decoderbase.cpp.
Referenced by DeleteMap::TranslatePositionAbsToRel(), and TranslatePositionFrameToMs().
| std::chrono::milliseconds DecoderBase::TranslatePositionFrameToMs | ( | long long | position, |
| float | fallback_framerate, | ||
| const frm_dir_map_t & | cutlist | ||
| ) |
Definition at line 1335 of file decoderbase.cpp.
Referenced by DeleteMap::TranslatePositionFrameToMs().
| uint64_t DecoderBase::TranslatePositionMsToFrame | ( | std::chrono::milliseconds | dur_ms, |
| float | fallback_framerate, | ||
| const frm_dir_map_t & | cutlist | ||
| ) |
Definition at line 1363 of file decoderbase.cpp.
Referenced by DeleteMap::TranslatePositionMsToFrame().
|
static |
Definition at line 1436 of file decoderbase.cpp.
Referenced by TranslatePositionMsToFrame(), and DeleteMap::TranslatePositionRelToAbs().
|
virtual |
Reimplemented in MythBDDecoder, AvFormatDecoder, and MythDVDDecoder.
Definition at line 865 of file decoderbase.cpp.
Referenced by MythDVDPlayer::ChangeSpeed(), MythDVDPlayer::DoFFRewSkip(), MythDVDPlayer::DoJumpChapter(), MythDVDPlayer::FastForward(), MythDVDPlayer::JumpToFrame(), MythPlayer::Pause(), MythDVDPlayer::Rewind(), AvFormatDecoder::UpdateFramesPlayed(), and MythPlayerUI::VideoLoop().
|
protected |
Definition at line 300 of file decoderbase.h.
Referenced by DoFastForward(), GetEof(), AvFormatDecoder::SeekReset(), SetEof(), and SetEofState().
|
protected |
Definition at line 279 of file decoderbase.h.
Referenced by AvFormatDecoder::DecoderWillDownmix(), AvFormatDecoder::DoPassThrough(), AvFormatDecoder::GetFrame(), AvFormatDecoder::ProcessAudioPacket(), MythDVDDecoder::ReadPacket(), AvFormatDecoder::RemoveAudioStreams(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::selectBestAudioTrack(), and AvFormatDecoder::SetupAudioStream().
|
protected |
Definition at line 285 of file decoderbase.h.
Referenced by GetRawBitrate(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::OpenFile(), and AvFormatDecoder::ScanStreams().
|
protected |
Definition at line 297 of file decoderbase.h.
|
protected |
Definition at line 288 of file decoderbase.h.
Referenced by GetVideoAspect(), AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::InitVideoCodec(), AvFormatDecoder::MpegPreProcessPkt(), and AvFormatDecoder::ProcessVideoFrame().
|
protected |
Definition at line 287 of file decoderbase.h.
Referenced by AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::InitVideoCodec(), and AvFormatDecoder::MpegPreProcessPkt().
|
protected |
Definition at line 339 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), AutoSelectTrack(), AvFormatDecoder::autoSelectVideoTrack(), ChangeTrack(), AvFormatDecoder::get_current_AVStream_index(), AvFormatDecoder::GetFrame(), GetTrack(), NextTrack(), AvFormatDecoder::ProcessAudioPacket(), ResetTracks(), AvFormatDecoder::ScanStreams(), SetTrack(), and AvFormatDecoder::SetupAudioStream().
|
protected |
Definition at line 286 of file decoderbase.h.
Referenced by AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::InitVideoCodec(), and AvFormatDecoder::MpegPreProcessPkt().
Definition at line 338 of file decoderbase.h.
Referenced by AvFormatDecoder::ProcessRawTextPacket(), AvFormatDecoder::ProcessSubtitlePacket(), and SetDecodeAllSubtitles().
Definition at line 322 of file decoderbase.h.
Referenced by AvFormatDecoder::OpenFile(), Reset(), and SyncPositionMap().
|
protected |
Definition at line 318 of file decoderbase.h.
Referenced by AvFormatDecoder::HandleGopStart(), PosMapFromDb(), PosMapFromEnc(), ResetPosMap(), and TranslatePositionMsToFrame().
Definition at line 328 of file decoderbase.h.
Referenced by IsErrored().
Definition at line 307 of file decoderbase.h.
Referenced by DoFastForward(), and AvFormatDecoder::PreProcessVideoPacket().
|
protected |
Definition at line 282 of file decoderbase.h.
Referenced by AvFormatDecoder::autoSelectVideoTrack(), MythBDDecoder::BDFindPosition(), AvFormatDecoder::do_av_seek(), MythDVDDecoder::DVDFindPosition(), AvFormatDecoder::GetChapter(), AvFormatDecoder::GetCurrentChapter(), GetFPS(), AvFormatDecoder::GetVideoFrameRate(), AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::InitVideoCodec(), AvFormatDecoder::MpegPreProcessPkt(), AvFormatDecoder::OpenFile(), PosMapFromDb(), AvFormatDecoder::ProcessVideoFrame(), AvFormatDecoder::ScanStreams(), SyncPositionMap(), MythBDDecoder::UpdateFramesPlayed(), and MythDVDDecoder::UpdateFramesPlayed().
|
protected |
Definition at line 283 of file decoderbase.h.
Referenced by GetfpsMultiplier(), AvFormatDecoder::GetVideoFrameRate(), and AvFormatDecoder::ProcessVideoFrame().
|
protected |
Definition at line 284 of file decoderbase.h.
Referenced by AvFormatDecoder::do_av_seek(), DoFastForwardSeek(), DoRewind(), AvFormatDecoder::ProcessVideoFrame(), and Reset().
|
protected |
Definition at line 292 of file decoderbase.h.
Referenced by MythBDDecoder::DoFastForwardSeek(), MythDVDDecoder::DoFastForwardSeek(), MythBDDecoder::DoRewindSeek(), MythDVDDecoder::DoRewindSeek(), AvFormatDecoder::GenerateDummyVideoFrames(), AvFormatDecoder::ProcessVideoFrame(), Reset(), and SeekReset().
|
protected |
Definition at line 290 of file decoderbase.h.
Referenced by MythBDDecoder::BDFindPosition(), AvFormatDecoder::do_av_seek(), DoFastForward(), AvFormatDecoder::DoFastForward(), DoFastForwardSeek(), MythBDDecoder::DoFastForwardSeek(), MythDVDDecoder::DoFastForwardSeek(), DoRewind(), DoRewindSeek(), MythBDDecoder::DoRewindSeek(), MythDVDDecoder::DoRewindSeek(), MythDVDDecoder::DVDFindPosition(), FileChanged(), AvFormatDecoder::GenerateDummyVideoFrames(), GetChapter(), AvFormatDecoder::GetFrame(), GetFramesPlayed(), AvFormatDecoder::ProcessVideoFrame(), Reset(), SetFramesPlayed(), UpdateFramesPlayed(), MythBDDecoder::UpdateFramesPlayed(), and MythDVDDecoder::UpdateFramesPlayed().
|
protected |
Definition at line 291 of file decoderbase.h.
Referenced by AvFormatDecoder::do_av_seek(), DoFastForwardSeek(), MythBDDecoder::DoFastForwardSeek(), MythDVDDecoder::DoFastForwardSeek(), DoRewind(), MythBDDecoder::DoRewindSeek(), MythDVDDecoder::DoRewindSeek(), FileChanged(), GetFramesRead(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::PreProcessVideoPacket(), Reset(), SaveTotalFrames(), MythBDDecoder::UpdateFramesPlayed(), and MythDVDDecoder::UpdateFramesPlayed().
|
protected |
Definition at line 317 of file decoderbase.h.
Referenced by AvFormatDecoder::HandleGopStart(), PosMapFromDb(), PosMapFromEnc(), ResetPosMap(), SavePositionMapDelta(), TranslatePositionFrameToMs(), and TranslatePositionMsToFrame().
Definition at line 310 of file decoderbase.h.
Referenced by AvFormatDecoder::HandleGopStart(), and AvFormatDecoder::OpenFile().
Definition at line 326 of file decoderbase.h.
Referenced by DoFastForwardSeek(), DoRewindSeek(), and GetKey().
|
protected |
Definition at line 296 of file decoderbase.h.
Referenced by FindPosition(), GetKey(), PosMapFromDb(), and PosMapFromEnc().
Definition at line 331 of file decoderbase.h.
Referenced by FileChanged(), and AvFormatDecoder::PreProcessVideoPacket().
|
protected |
Definition at line 294 of file decoderbase.h.
Referenced by FindPosition(), GetKey(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::InitVideoCodec(), AvFormatDecoder::OpenFile(), PosMapFromDb(), PosMapFromEnc(), and SyncPositionMap().
|
protected |
language preferences for auto-selection of streams
Definition at line 346 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), and BestTrack().
|
protected |
Definition at line 295 of file decoderbase.h.
Referenced by AvFormatDecoder::do_av_seek(), DoFastForward(), DoFastForwardSeek(), MythBDDecoder::DoFastForwardSeek(), MythDVDDecoder::DoFastForwardSeek(), DoRewind(), DoRewindSeek(), MythBDDecoder::DoRewindSeek(), MythDVDDecoder::DoRewindSeek(), and AvFormatDecoder::HandleGopStart().
|
mutableprotected |
Definition at line 319 of file decoderbase.h.
Referenced by SyncPositionMap(), and TranslatePositionFrameToMs().
Definition at line 323 of file decoderbase.h.
Referenced by AvFormatDecoder::DoFastForward(), AvFormatDecoder::DoRewind(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::OpenFile(), AvFormatDecoder::SeekReset(), AvFormatDecoder::SetEof(), SetLiveTVMode(), and SyncPositionMap().
|
protected |
Definition at line 347 of file decoderbase.h.
Referenced by AvFormatDecoder::autoSelectVideoTrack(), AvFormatDecoder::AvFormatDecoder(), GetMythCodecContext(), AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::InitVideoCodec(), AvFormatDecoder::MpegPreProcessPkt(), AvFormatDecoder::ProcessVideoFrame(), AvFormatDecoder::ProcessVideoPacket(), AvFormatDecoder::SeekReset(), and AvFormatDecoder::~AvFormatDecoder().
Definition at line 298 of file decoderbase.h.
Referenced by AvFormatDecoder::H264PreProcessPkt(), and AvFormatDecoder::ProcessVideoFrame().
|
protected |
Definition at line 277 of file decoderbase.h.
Referenced by AutoSelectTrack(), MythBDDecoder::BDFindPosition(), AvFormatDecoder::do_av_seek(), DoFastForward(), AvFormatDecoder::DoFastForward(), DoRewind(), MythDVDDecoder::DVDFindPosition(), FileChanged(), AvFormatDecoder::GenerateDummyVideoFrames(), AvFormatDecoder::GetFrame(), GetPlayer(), AvFormatDecoder::H264PreProcessPkt(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::InitVideoCodec(), AvFormatDecoder::MpegPreProcessPkt(), AvFormatDecoder::OpenFile(), PosMapFromEnc(), MythDVDDecoder::PostProcessTracks(), AvFormatDecoder::ProcessDSMCCPacket(), AvFormatDecoder::ProcessRawTextPacket(), AvFormatDecoder::ProcessSubtitlePacket(), AvFormatDecoder::ProcessVideoFrame(), AvFormatDecoder::ProcessVideoPacket(), MythDVDDecoder::ReadPacket(), AvFormatDecoder::ScanDSMCCStreams(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::SeekReset(), MythBDDecoder::StreamChangeCheck(), MythDVDDecoder::StreamChangeCheck(), SyncPositionMap(), UpdateFramesPlayed(), MythBDDecoder::UpdateFramesPlayed(), and MythDVDDecoder::UpdateFramesPlayed().
|
protected |
Definition at line 278 of file decoderbase.h.
Referenced by AvFormatDecoder::OpenFile(), PosMapFromDb(), SavePositionMapDelta(), SaveTotalDuration(), SaveTotalFrames(), SetProgramInfo(), and ~DecoderBase().
|
protected |
Definition at line 316 of file decoderbase.h.
Referenced by DoFastForward(), DoFastForwardSeek(), DoRewindSeek(), FindPosition(), GetLastFrameInPosMap(), GetPositionMapSize(), AvFormatDecoder::HandleGopStart(), PosMapFromDb(), PosMapFromEnc(), ResetPosMap(), SavePositionMapDelta(), and SyncPositionMap().
|
mutableprotected |
Definition at line 315 of file decoderbase.h.
Referenced by DoFastForward(), DoFastForwardSeek(), DoRewindSeek(), FindPosition(), GetLastFrameInPosMap(), GetPositionMapSize(), AvFormatDecoder::HandleGopStart(), PosMapFromDb(), PosMapFromEnc(), ResetPosMap(), SavePositionMapDelta(), SyncPositionMap(), TranslatePositionFrameToMs(), and TranslatePositionMsToFrame().
|
protected |
Definition at line 313 of file decoderbase.h.
Referenced by AvFormatDecoder::OpenFile(), PosMapFromDb(), and SavePositionMapDelta().
Definition at line 312 of file decoderbase.h.
Referenced by ResetPosMap(), SetWatchingRecording(), and SyncPositionMap().
|
protected |
Definition at line 332 of file decoderbase.h.
Referenced by AvFormatDecoder::GetFrame(), SeekReset(), and SetReadAdjust().
Definition at line 311 of file decoderbase.h.
Referenced by AvFormatDecoder::DoFastForward(), AvFormatDecoder::DoRewind(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::OpenFile(), AvFormatDecoder::SeekReset(), and SyncPositionMap().
|
protected |
Definition at line 349 of file decoderbase.h.
Referenced by SetRenderFormats().
|
protected |
Definition at line 280 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectTrack(), MythBDDecoder::BDFindPosition(), MythDVDDecoder::CheckContext(), DoFastForward(), DoFastForwardSeek(), MythBDDecoder::DoFastForwardSeek(), MythDVDDecoder::DoFastForwardSeek(), DoRewind(), DoRewindSeek(), MythBDDecoder::DoRewindSeek(), MythDVDDecoder::DoRewindSeek(), MythDVDDecoder::DVDFindPosition(), MythBDDecoder::GetAudioLanguage(), MythDVDDecoder::GetAudioLanguage(), MythDVDDecoder::GetAudioTrackType(), AvFormatDecoder::GetFrame(), GetKey(), MythBDDecoder::GetSubtitleLanguage(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::InitVideoCodec(), MythBDDecoder::IsValidStream(), AvFormatDecoder::MpegPreProcessPkt(), AvFormatDecoder::OpenFile(), PosMapFromDb(), PosMapFromEnc(), MythDVDDecoder::PostProcessTracks(), AvFormatDecoder::ProcessAudioPacket(), MythDVDDecoder::ProcessDataPacket(), AvFormatDecoder::ProcessSubtitlePacket(), AvFormatDecoder::ProcessVideoFrame(), MythDVDDecoder::ProcessVideoPacket(), MythBDDecoder::ReadPacket(), MythDVDDecoder::ReadPacket(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::SeekReset(), MythBDDecoder::StreamChangeCheck(), MythDVDDecoder::StreamChangeCheck(), SyncPositionMap(), MythBDDecoder::UpdateFramesPlayed(), and MythDVDDecoder::UpdateFramesPlayed().
|
protected |
Definition at line 321 of file decoderbase.h.
Referenced by DoFastForward(), DoFastForwardSeek(), DoRewind(), DoRewindSeek(), GetSeekSnap(), and SetSeekSnap().
|
protected |
Definition at line 343 of file decoderbase.h.
Referenced by AutoSelectTrack(), AvFormatDecoder::ProcessSubtitlePacket(), and SetTrack().
|
protected |
Definition at line 342 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), AutoSelectTrack(), AvFormatDecoder::autoSelectVideoTrack(), AvFormatDecoder::GetFrame(), AvFormatDecoder::GetRawEncodingType(), AvFormatDecoder::HasVideo(), AvFormatDecoder::ProcessAudioPacket(), AvFormatDecoder::ProcessRawTextPacket(), AvFormatDecoder::ProcessSubtitlePacket(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::SetDisablePassThrough(), SetTrack(), AvFormatDecoder::SetupAudioStream(), AvFormatDecoder::SetVideoByComponentTag(), MythDVDDecoder::StreamChangeCheck(), and AvFormatDecoder::UpdateCaptionTracksFromStreams().
|
protected |
Definition at line 334 of file decoderbase.h.
Referenced by AvFormatDecoder::InitVideoCodec(), and AvFormatDecoder::ProcessVideoFrame().
|
protected |
Definition at line 293 of file decoderbase.h.
Referenced by FileChanged(), AvFormatDecoder::HandleGopStart(), AvFormatDecoder::PreProcessVideoPacket(), Reset(), ResetTotalDuration(), and SaveTotalDuration().
|
protected |
Definition at line 337 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), AutoSelectTrack(), ChangeTrack(), AvFormatDecoder::ForceSetupAudioStream(), AvFormatDecoder::GetAttachmentData(), AvFormatDecoder::GetCaptionLanguage(), AvFormatDecoder::GetSubHeader(), AvFormatDecoder::GetTeletextLanguage(), GetTrack(), GetTrackCount(), GetTrackDesc(), AvFormatDecoder::GetTrackDesc(), GetTrackInfo(), GetTrackLanguageIndex(), GetTracks(), NextTrack(), MythDVDDecoder::PostProcessTracks(), AvFormatDecoder::ProcessAudioPacket(), AvFormatDecoder::ProcessSubtitlePacket(), AvFormatDecoder::ProcessVBIDataPacket(), ResetTracks(), AvFormatDecoder::ScanATSCCaptionStreams(), AvFormatDecoder::ScanRawTextCaptions(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::ScanTeletextCaptions(), AvFormatDecoder::SetAudioByComponentTag(), SetDecodeAllSubtitles(), SetTrack(), AvFormatDecoder::SetTrack(), AvFormatDecoder::SetupAudioStreamSubIndexes(), AvFormatDecoder::SetVideoByComponentTag(), MythBDDecoder::StreamChangeCheck(), MythDVDDecoder::StreamChangeCheck(), AvFormatDecoder::UpdateATSCCaptionTracks(), and AvFormatDecoder::UpdateCaptionTracksFromStreams().
|
protected |
Definition at line 340 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), AutoSelectTrack(), AvFormatDecoder::autoSelectVideoTrack(), BestTrack(), ChangeTrack(), DecoderBase(), AvFormatDecoder::get_current_AVStream_index(), AvFormatDecoder::GetAttachmentData(), AvFormatDecoder::GetSubHeader(), AvFormatDecoder::GetTeletextLanguage(), GetTrackCount(), GetTrackDesc(), AvFormatDecoder::GetTrackDesc(), GetTrackInfo(), GetTrackLanguageIndex(), GetTracks(), NextTrack(), MythDVDDecoder::PostProcessTracks(), AvFormatDecoder::ProcessVBIDataPacket(), AvFormatDecoder::remove_tracks_not_in_same_AVProgram(), AvFormatDecoder::ScanRawTextCaptions(), AvFormatDecoder::ScanStreams(), AvFormatDecoder::ScanTeletextCaptions(), AvFormatDecoder::selectBestAudioTrack(), AvFormatDecoder::SetAudioByComponentTag(), SetTrack(), AvFormatDecoder::SetupAudioStream(), AvFormatDecoder::SetupAudioStreamSubIndexes(), and AvFormatDecoder::UpdateATSCCaptionTracks().
Definition at line 305 of file decoderbase.h.
Referenced by AvFormatDecoder::HandleGopStart(), AvFormatDecoder::PreProcessVideoPacket(), and TrackTotalDuration().
Definition at line 308 of file decoderbase.h.
Referenced by DoFastForward(), and SetTranscoding().
|
protected |
Definition at line 348 of file decoderbase.h.
Referenced by AvFormatDecoder::autoSelectVideoTrack(), and AvFormatDecoder::InitVideoCodec().
|
protected |
Definition at line 333 of file decoderbase.h.
Referenced by AvFormatDecoder::InitVideoCodec(), and AvFormatDecoder::ProcessVideoFrame().
Definition at line 330 of file decoderbase.h.
Referenced by FileChanged(), AvFormatDecoder::GetFrame(), GetWaitForChange(), Reset(), and SetWaitForChange().
|
protected |
Definition at line 341 of file decoderbase.h.
Referenced by AvFormatDecoder::AutoSelectAudioTrack(), AutoSelectTrack(), and SetTrack().
Definition at line 324 of file decoderbase.h.
Referenced by AvFormatDecoder::HandleGopStart(), AvFormatDecoder::OpenFile(), SetWatchingRecording(), and SyncPositionMap().