digiKam
mjpegframethread.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2021-07-24
7  * Description : a MJPEG frame generator.
8  *
9  * Copyright (C) 2021-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
23 #ifndef DIGIKAM_MJPEG_FRAME_THREAD_H
24 #define DIGIKAM_MJPEG_FRAME_THREAD_H
25 
26 // Qt includes
27 
28 #include <QByteArray>
29 
30 // Local includes
31 
32 #include "actionthread.h"
33 #include "mjpegstreamsettings.h"
34 
35 using namespace Digikam;
36 
38 {
39 
41 {
42  Q_OBJECT
43 
44 public:
45 
49  explicit MjpegFrameThread(QObject* const parent);
50  ~MjpegFrameThread() override;
51 
55  void createFrameJob(const MjpegStreamSettings&);
56 
57 Q_SIGNALS:
58 
62  void signalFrameChanged(const QByteArray&);
63 };
64 
65 } // namespace DigikamGenericMjpegStreamPlugin
66 
67 #endif // DIGIKAM_MJPEG_FRAME_THREAD_H
Definition: mjpegframethread.h:41
Definition: mjpegstreamsettings.h:49
Definition: actionthreadbase.h:102
Definition: mjpegframeosd.cpp:45
Definition: datefolderview.cpp:43