MythTV
master
mythtv
libs
libmythtv
Bluray
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
16
class
MythBDOverlay
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
MythBDOverlay
Definition:
mythbdoverlay.h:17
MythBDOverlay::SetPalette
void SetPalette(const BD_PG_PALETTE_ENTRY *Palette)
Definition:
mythbdoverlay.cpp:24
MythBDOverlay::MythBDOverlay
MythBDOverlay()=default
MythBDOverlay::m_pts
int64_t m_pts
Definition:
mythbdoverlay.h:28
MythBDOverlay::m_y
int m_y
Definition:
mythbdoverlay.h:30
MythBDOverlay::Wipe
void Wipe(void)
Definition:
mythbdoverlay.cpp:44
MythBDOverlay::m_image
QImage m_image
Definition:
mythbdoverlay.h:27
MythBDOverlay::m_x
int m_x
Definition:
mythbdoverlay.h:29
Generated on Sat Nov 29 2025 03:16:04 for MythTV by
1.9.4