MythTV  master
mythpreviewplayer.h
Go to the documentation of this file.
1 #ifndef MYTHPREVIEWPLAYER_H
2 #define MYTHPREVIEWPLAYER_H
3 
4 // MythTV
5 #include "mythplayer.h"
6 
8 {
9  public:
10  explicit MythPreviewPlayer(PlayerContext* Context, PlayerFlags Flags = kNoFlags);
11  char* GetScreenGrabAtFrame(uint64_t FrameNum, bool Absolute, int& BufferSize,
12  int& FrameWidth, int& FrameHeight, float& AspectRatio);
13  char* GetScreenGrab (std::chrono::seconds SecondsIn, int& BufferSize, int& FrameWidth,
14  int& FrameHeight, float& AspectRatio);
15 
16  private:
17  void SeekForScreenGrab(uint64_t& Number, uint64_t FrameNum, bool Absolute);
18 };
19 
20 #endif
mythplayer.h
PlayerFlags
PlayerFlags
Definition: mythplayer.h:64
MythPreviewPlayer::SeekForScreenGrab
void SeekForScreenGrab(uint64_t &Number, uint64_t FrameNum, bool Absolute)
Definition: mythpreviewplayer.cpp:148
MythPlayer
Definition: mythplayer.h:83
MythPreviewPlayer::MythPreviewPlayer
MythPreviewPlayer(PlayerContext *Context, PlayerFlags Flags=kNoFlags)
Definition: mythpreviewplayer.cpp:9
kNoFlags
@ kNoFlags
Definition: mythplayer.h:66
PlayerContext
Definition: playercontext.h:49
MythPreviewPlayer
Definition: mythpreviewplayer.h:7
MythPreviewPlayer::GetScreenGrabAtFrame
char * GetScreenGrabAtFrame(uint64_t FrameNum, bool Absolute, int &BufferSize, int &FrameWidth, int &FrameHeight, float &AspectRatio)
Returns one RGB frame grab from a video.
Definition: mythpreviewplayer.cpp:50
MythPreviewPlayer::GetScreenGrab
char * GetScreenGrab(std::chrono::seconds SecondsIn, int &BufferSize, int &FrameWidth, int &FrameHeight, float &AspectRatio)
Returns one RGB frame grab from a video.
Definition: mythpreviewplayer.cpp:28