MythTV  master
mythdvdcontext.h
Go to the documentation of this file.
1 #ifndef MYTHDVDCONTEXT_H
2 #define MYTHDVDCONTEXT_H
3 
4 // MythTV
5 #include "mythtvexp.h"
6 #include "referencecounter.h"
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
mythtvexp.h
MythDVDContext::m_pci
pci_t m_pci
Definition: mythdvdcontext.h:38
MythDVDContext
Encapsulates playback context at any given moment.
Definition: mythdvdcontext.h:17
referencecounter.h
MythDVDContext::m_dsi
dsi_t m_dsi
Definition: mythdvdcontext.h:37
MTV_PUBLIC
#define MTV_PUBLIC
Definition: mythtvexp.h:15
MythDVDBuffer
Definition: mythdvdbuffer.h:36
MythDVDContext::MythDVDContext
MythDVDContext()=delete
ReferenceCounter
General purpose reference counter.
Definition: referencecounter.h:27
MythDVDContext::~MythDVDContext
~MythDVDContext() override=default