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// BluRay
8#ifdef HAVE_LIBBLURAY
9#include <libbluray/bluray.h>
10#include <libbluray/overlay.h>
11#else
12#include "libbluray/bluray.h"
13#include "libbluray/decoders/overlay.h"
14#endif
15
17{
18 public:
19 MythBDOverlay() = default;
20 explicit MythBDOverlay(const bd_overlay_s* Overlay);
21 explicit MythBDOverlay(const bd_argb_overlay_s* Overlay);
22
23 void SetPalette(const BD_PG_PALETTE_ENTRY* Palette);
24 void Wipe(void);
25 void Wipe(int Left, int Top, int Width, int Height);
26
27 QImage m_image;
28 int64_t m_pts { -1 };
29 int m_x { 0 };
30 int m_y { 0 };
31};
32#endif // MYTHBDOVERLAY_H
void SetPalette(const BD_PG_PALETTE_ENTRY *Palette)
MythBDOverlay()=default
void Wipe(void)