Valkka  1.6.1
OpenSource Video Management
avthread.h
Go to the documentation of this file.
1 #ifndef AVTHREAD_HEADER_GUARD
2 #define AVTHREAD_HEADER_GUARD
3 /*
4  * avthread.h : FFmpeg decoding thread
5  *
6  * Copyright 2017-2020 Valkka Security Ltd. and Sampsa Riikonen
7  *
8  * Authors: Sampsa Riikonen <sampsa.riikonen@iki.fi>
9  *
10  * This file is part of the Valkka library.
11  *
12  * Valkka is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU Lesser General Public License as
14  * published by the Free Software Foundation, either version 3 of the
15  * License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * along with this program. If not, see <https://www.gnu.org/licenses/>
24  *
25  */
26 
37 #include "decoderthread.h"
38 
50 class AVThread : public DecoderThread { // <pyapi>
51 
52 public: // <pyapi>
60  AVThread(const char* name, FrameFilter& outfilter, FrameFifoContext fifo_ctx=FrameFifoContext()); // <pyapi>
61  virtual ~AVThread();
62 
63 }; // <pyapi>
64 
65 #endif
AVThread
A thread consuming frames and feeding them to various encoders.
Definition: avthread.h:50
AVThread::~AVThread
virtual ~AVThread()
Default destructor. Calls AVThread::stopCall // <pyapi>
Definition: avthread.cpp:44
FrameFilter
The mother class of all frame filters! FrameFilters are used to create "filter chains".
Definition: framefilter.h:44
AVThread::AVThread
AVThread(const char *name, FrameFilter &outfilter, FrameFifoContext fifo_ctx=FrameFifoContext())
Default constructor.
Definition: avthread.cpp:38
decoderthread.h
Thread::name
std::string name
Name of the thread.
Definition: thread.h:116
DecoderThread::outfilter
FrameFilter & outfilter
Outgoing, decoded frames are written here.
Definition: decoderthread.h:63
DecoderThread
Definition: decoderthread.h:43
FrameFifoContext
Describes the stack structure and fifo behaviour for a FrameFifo.
Definition: framefifo.h:56