MythTV  master
mythbdoverlay.h
Go to the documentation of this file.
1 #ifndef MYTHBDOVERLAY_H
2 #define MYTHBDOVERLAY_H
3 
4 // Qt
5 #include <QImage>
6 
7 // MythTV
8 #include "mythconfig.h"
9 
10 // BluRay
11 #include "libbluray/bluray.h"
12 #if CONFIG_LIBBLURAY_EXTERNAL
13 #include "libbluray/overlay.h"
14 #else
15 #include "libbluray/decoders/overlay.h"
16 #endif
17 
19 {
20  public:
21  MythBDOverlay() = default;
22  explicit MythBDOverlay(const bd_overlay_s* Overlay);
23  explicit MythBDOverlay(const bd_argb_overlay_s* Overlay);
24 
25  void SetPalette(const BD_PG_PALETTE_ENTRY* Palette);
26  void Wipe(void);
27  void Wipe(int Left, int Top, int Width, int Height);
28 
29  QImage m_image;
30  int64_t m_pts { -1 };
31  int m_x { 0 };
32  int m_y { 0 };
33 };
34 #endif // MYTHBDOVERLAY_H
MythBDOverlay::m_y
int m_y
Definition: mythbdoverlay.h:32
MythBDOverlay::m_image
QImage m_image
Definition: mythbdoverlay.h:29
MythBDOverlay::SetPalette
void SetPalette(const BD_PG_PALETTE_ENTRY *Palette)
Definition: mythbdoverlay.cpp:22
MythBDOverlay
Definition: mythbdoverlay.h:19
MythBDOverlay::MythBDOverlay
MythBDOverlay()=default
MythBDOverlay::m_x
int m_x
Definition: mythbdoverlay.h:31
MythBDOverlay::m_pts
int64_t m_pts
Definition: mythbdoverlay.h:30
MythBDOverlay::Wipe
void Wipe(void)
Definition: mythbdoverlay.cpp:42