MythTV  master
mythtranscodeplayer.h
Go to the documentation of this file.
1 #ifndef MYTHTRANSCODEPLAYER_H
2 #define MYTHTRANSCODEPLAYER_H
3 
4 // MythTV
5 #include "mythplayer.h"
6 
8 {
9  public:
10  explicit MythTranscodePlayer(PlayerContext* Context, PlayerFlags Flags = kNoFlags);
11 
12  void SetTranscoding (bool Transcoding);
13  void InitForTranscode (bool CopyAudio, bool CopyVideo);
14  void SetCutList (const frm_dir_map_t& CutList);
15  bool TranscodeGetNextFrame (int& DidFF, bool& KeyFrame, bool HonorCutList);
16  bool WriteStoredData (MythMediaBuffer* OutBuffer, bool WriteVideo, long TimecodeOffset);
17  long UpdateStoredFrameNum (long CurrentFrameNum);
18 };
19 
20 #endif
MythTranscodePlayer::MythTranscodePlayer
MythTranscodePlayer(PlayerContext *Context, PlayerFlags Flags=kNoFlags)
Definition: mythtranscodeplayer.cpp:6
MythTranscodePlayer::TranscodeGetNextFrame
bool TranscodeGetNextFrame(int &DidFF, bool &KeyFrame, bool HonorCutList)
Definition: mythtranscodeplayer.cpp:51
frm_dir_map_t
QMap< uint64_t, MarkTypes > frm_dir_map_t
Frame # -> Mark map.
Definition: programtypes.h:82
MythMediaBuffer
Definition: mythmediabuffer.h:49
mythplayer.h
PlayerFlags
PlayerFlags
Definition: mythplayer.h:62
MythPlayer
Definition: mythplayer.h:83
MythTranscodePlayer::InitForTranscode
void InitForTranscode(bool CopyAudio, bool CopyVideo)
Definition: mythtranscodeplayer.cpp:22
kNoFlags
@ kNoFlags
Definition: mythplayer.h:64
PlayerContext
Definition: playercontext.h:48
MythTranscodePlayer::SetTranscoding
void SetTranscoding(bool Transcoding)
Definition: mythtranscodeplayer.cpp:11
MythTranscodePlayer::WriteStoredData
bool WriteStoredData(MythMediaBuffer *OutBuffer, bool WriteVideo, long TimecodeOffset)
Definition: mythtranscodeplayer.cpp:117
MythTranscodePlayer::SetCutList
void SetCutList(const frm_dir_map_t &CutList)
Definition: mythtranscodeplayer.cpp:46
MythTranscodePlayer::UpdateStoredFrameNum
long UpdateStoredFrameNum(long CurrentFrameNum)
Definition: mythtranscodeplayer.cpp:110
MythTranscodePlayer
Definition: mythtranscodeplayer.h:7