MythTV
master
mythtv
libs
libmyth
visual.h
Go to the documentation of this file.
1
// Copyright (c) 2000-2001 Brad Hughes <bhughes@trolltech.com>
2
//
3
// Use, modification and distribution is allowed without limitation,
4
// warranty, or liability of any kind.
5
//
6
7
#ifndef VISUAL_H
8
#define VISUAL_H
9
10
#include <QMutex>
11
12
class
Decoder
;
13
class
AudioOutput
;
14
namespace
MythTV
15
{
16
class
Visual
17
{
18
public
:
19
Visual
() { ; }
20
virtual
~Visual
() { ; }
21
22
virtual
void
add
(
const
void
*b,
unsigned
long
b_len,
23
std::chrono::milliseconds timecode,
int
c,
int
p
) = 0;
24
virtual
void
prepare
() = 0;
25
26
QMutex *
mutex
() {
return
&
m_mtx
; }
27
28
29
private
:
30
QMutex
m_mtx
;
31
};
32
};
33
34
#endif // VISUAL_H
MythTV::Visual::add
virtual void add(const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p)=0
MythTV::Visual::prepare
virtual void prepare()=0
MythTV::Visual
Definition:
visual.h:16
AudioOutput
Definition:
audiooutput.h:26
Decoder
Definition:
decoder.h:70
MythTV
Definition:
output.h:27
hardwareprofile.config.p
p
Definition:
config.py:33
MythTV::Visual::mutex
QMutex * mutex()
Definition:
visual.h:26
MythTV::Visual::~Visual
virtual ~Visual()
Definition:
visual.h:20
MythTV::Visual::Visual
Visual()
Definition:
visual.h:19
MythTV::Visual::m_mtx
QMutex m_mtx
Definition:
visual.h:30
Generated on Mon Nov 25 2024 03:16:02 for MythTV by
1.8.17