#include <streammanager_p.h>
|
| | StreamManagerPrivate (DefaultDevice *defaultDevice) |
| |
| virtual | ~StreamManagerPrivate () |
| |
| bool | initProperties () |
| |
| void | ISGetProperties (const char *dev) |
| |
| bool | ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n) |
| |
| bool | ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n) |
| |
| bool | ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n) |
| |
| void | newFrame (const uint8_t *buffer, uint32_t nbytes, uint64_t timestamp) |
| |
| bool | updateProperties () |
| |
| bool | setStream (bool enable) |
| |
| const char * | getDeviceName () const |
| |
| void | setSize (uint16_t width, uint16_t height) |
| |
| bool | setPixelFormat (INDI_PIXEL_FORMAT pixelFormat, uint8_t pixelDepth) |
| |
| void | asyncStreamThread () |
| | Thread processing frames and forwarding to recording and preview.
|
| |
| bool | startRecording () |
| |
| bool | stopRecording (bool force=false) |
| |
| bool | uploadStream (const uint8_t *buffer, uint32_t nbytes) |
| | uploadStream Upload frame to client using the selected encoder
|
| |
| bool | recordStream (const uint8_t *buffer, uint32_t nbytes, double deltams, uint64_t timestamp) |
| | recordStream Calls the backend recorder to record a single frame.
|
| |
| void | getStreamFrame (uint16_t *x, uint16_t *y, uint16_t *w, uint16_t *h) const |
| |
| void | setStreamFrame (uint16_t x, uint16_t y, uint16_t w, uint16_t h) |
| |
| void | setStreamFrame (const FrameInfo &frameInfo) |
| |
| FrameInfo | updateSourceFrameInfo () |
| |
|
| static std::string | expand (const std::string &fname, const std::map< std::string, std::string > &patterns) |
| |
| static void | subframe (const uint8_t *srcBuffer, const FrameInfo &srcFrameInfo, uint8_t *dstBuffer, const FrameInfo &dstFrameInfo) |
| |
Definition at line 49 of file streammanager_p.h.
◆ anonymous enum
| Enumerator |
|---|
| RECORD_ON | |
| RECORD_TIME | |
| RECORD_FRAME | |
| RECORD_OFF | |
Definition at line 176 of file streammanager_p.h.
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ StreamManagerPrivate()
| INDI::StreamManagerPrivate::StreamManagerPrivate |
( |
DefaultDevice * |
defaultDevice | ) |
|
◆ ~StreamManagerPrivate()
| INDI::StreamManagerPrivate::~StreamManagerPrivate |
( |
| ) |
|
|
virtual |
◆ asyncStreamThread()
| void INDI::StreamManagerPrivate::asyncStreamThread |
( |
| ) |
|
Thread processing frames and forwarding to recording and preview.
Definition at line 437 of file streammanager.cpp.
◆ expand()
| std::string INDI::StreamManagerPrivate::expand |
( |
const std::string & |
fname, |
|
|
const std::map< std::string, std::string > & |
patterns |
|
) |
| |
|
static |
◆ getDeviceName()
| const char * INDI::StreamManagerPrivate::getDeviceName |
( |
| ) |
const |
◆ getStreamFrame()
| void INDI::StreamManagerPrivate::getStreamFrame |
( |
uint16_t * |
x, |
|
|
uint16_t * |
y, |
|
|
uint16_t * |
w, |
|
|
uint16_t * |
h |
|
) |
| const |
◆ initProperties()
| bool INDI::StreamManagerPrivate::initProperties |
( |
| ) |
|
◆ ISGetProperties()
| void INDI::StreamManagerPrivate::ISGetProperties |
( |
const char * |
dev | ) |
|
◆ ISNewNumber()
| bool INDI::StreamManagerPrivate::ISNewNumber |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
double |
values[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
◆ ISNewSwitch()
| bool INDI::StreamManagerPrivate::ISNewSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
◆ ISNewText()
| bool INDI::StreamManagerPrivate::ISNewText |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
char * |
texts[], |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
◆ newFrame()
| void INDI::StreamManagerPrivate::newFrame |
( |
const uint8_t * |
buffer, |
|
|
uint32_t |
nbytes, |
|
|
uint64_t |
timestamp |
|
) |
| |
◆ recordStream()
| bool INDI::StreamManagerPrivate::recordStream |
( |
const uint8_t * |
buffer, |
|
|
uint32_t |
nbytes, |
|
|
double |
deltams, |
|
|
uint64_t |
timestamp |
|
) |
| |
recordStream Calls the backend recorder to record a single frame.
- Parameters
-
| deltams | time in milliseconds since last frame |
Definition at line 616 of file streammanager.cpp.
◆ setPixelFormat()
| bool INDI::StreamManagerPrivate::setPixelFormat |
( |
INDI_PIXEL_FORMAT |
pixelFormat, |
|
|
uint8_t |
pixelDepth |
|
) |
| |
◆ setSize()
| void INDI::StreamManagerPrivate::setSize |
( |
uint16_t |
width, |
|
|
uint16_t |
height |
|
) |
| |
◆ setStream()
| bool INDI::StreamManagerPrivate::setStream |
( |
bool |
enable | ) |
|
◆ setStreamFrame() [1/2]
| void INDI::StreamManagerPrivate::setStreamFrame |
( |
const FrameInfo & |
frameInfo | ) |
|
◆ setStreamFrame() [2/2]
| void INDI::StreamManagerPrivate::setStreamFrame |
( |
uint16_t |
x, |
|
|
uint16_t |
y, |
|
|
uint16_t |
w, |
|
|
uint16_t |
h |
|
) |
| |
◆ startRecording()
| bool INDI::StreamManagerPrivate::startRecording |
( |
| ) |
|
◆ stopRecording()
| bool INDI::StreamManagerPrivate::stopRecording |
( |
bool |
force = false | ) |
|
◆ subframe()
| void INDI::StreamManagerPrivate::subframe |
( |
const uint8_t * |
srcBuffer, |
|
|
const FrameInfo & |
srcFrameInfo, |
|
|
uint8_t * |
dstBuffer, |
|
|
const FrameInfo & |
dstFrameInfo |
|
) |
| |
|
static |
◆ updateProperties()
| bool INDI::StreamManagerPrivate::updateProperties |
( |
| ) |
|
◆ updateSourceFrameInfo()
◆ uploadStream()
| bool INDI::StreamManagerPrivate::uploadStream |
( |
const uint8_t * |
buffer, |
|
|
uint32_t |
nbytes |
|
) |
| |
uploadStream Upload frame to client using the selected encoder
- Parameters
-
| buffer | pointer to frame image buffer |
| nbytes | size of frame in bytes |
- Returns
- True if frame is encoded and sent to client, false otherwise.
Definition at line 1216 of file streammanager.cpp.
◆ currentDevice
| DefaultDevice* INDI::StreamManagerPrivate::currentDevice = nullptr |
◆ direct_record
| bool INDI::StreamManagerPrivate::direct_record = false |
◆ dstFrameInfo
| FrameInfo INDI::StreamManagerPrivate::dstFrameInfo |
◆ encoder
◆ encoderManager
◆ EncoderSP
◆ fastFPSUpdate
| std::mutex INDI::StreamManagerPrivate::fastFPSUpdate |
◆ Format
| std::string INDI::StreamManagerPrivate::Format |
◆ FPSAverage
| FPSMeter INDI::StreamManagerPrivate::FPSAverage |
◆ FPSFast
| FPSMeter INDI::StreamManagerPrivate::FPSFast |
◆ FpsNP
◆ FPSPreview
| FPSMeter INDI::StreamManagerPrivate::FPSPreview |
◆ FPSRecorder
| FPSMeter INDI::StreamManagerPrivate::FPSRecorder |
◆ frameCountDivider
| uint32_t INDI::StreamManagerPrivate::frameCountDivider = 0 |
◆ framesIncoming
◆ framesThread
| std::thread INDI::StreamManagerPrivate::framesThread |
◆ framesThreadTerminate
| std::atomic<bool> INDI::StreamManagerPrivate::framesThreadTerminate {false} |
◆ FullDepthSP
◆ gammaLut16
◆ hasStreamingExposure
| bool INDI::StreamManagerPrivate::hasStreamingExposure { true } |
◆ imageBP
◆ isRecording
| std::atomic<bool> INDI::StreamManagerPrivate::isRecording { false } |
◆ isRecordingAboutToClose
| std::atomic<bool> INDI::StreamManagerPrivate::isRecordingAboutToClose { false } |
◆ isStreaming
| std::atomic<bool> INDI::StreamManagerPrivate::isStreaming { false } |
◆ LimitsNP
◆ PixelDepth
| uint8_t INDI::StreamManagerPrivate::PixelDepth = 8 |
◆ PixelFormat
◆ rawHeight
| uint16_t INDI::StreamManagerPrivate::rawHeight = 0 |
◆ rawWidth
| uint16_t INDI::StreamManagerPrivate::rawWidth = 0 |
◆ recorder
◆ recorderManager
◆ RecorderSP
◆ recordfiledir
| std::string INDI::StreamManagerPrivate::recordfiledir |
◆ recordfilename
| std::string INDI::StreamManagerPrivate::recordfilename |
◆ RecordFileTP
◆ recordMutex
| std::mutex INDI::StreamManagerPrivate::recordMutex |
◆ RecordOptionsNP
◆ RecordStreamSP
◆ StreamExposureNP
◆ StreamFrameNP
◆ StreamSP
◆ StreamTimeNP
The documentation for this class was generated from the following files: