MythTV master
mythdvdcontext.h
Go to the documentation of this file.
1#ifndef MYTHDVDCONTEXT_H
2#define MYTHDVDCONTEXT_H
3
4// MythTV
7
8// libdvd
9#include "dvdnav/dvdnav.h"
10
17{
18 friend class MythDVDBuffer;
19
20 public:
21 MythDVDContext() = delete;
22 ~MythDVDContext() override = default;
23
24 int64_t GetStartPTS (void) const;
25 int64_t GetEndPTS (void) const;
26 int64_t GetSeqEndPTS (void) const;
27 uint32_t GetLBA (void) const;
28 uint32_t GetLBAPrevVideoFrame (void) const;
29 int GetNumFrames (void) const;
30 int GetNumFramesPresent (void) const;
31 int GetFPS (void) const;
32
33 protected:
34 MythDVDContext(const dsi_t& DSI, const pci_t& PCI);
35
36 protected:
37 dsi_t m_dsi;
38 pci_t m_pci;
39};
40
41#endif // MYTHDVDCONTEXT_H
Encapsulates playback context at any given moment.
MythDVDContext()=delete
~MythDVDContext() override=default
General purpose reference counter.
#define MTV_PUBLIC
Definition: mythtvexp.h:15