mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
streaminfo2: formatting code using astyle
Origin commit data
------------------
Commit: 3dccd3e52a
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-16 (Sat, 16 Mar 2019)
Origin message was:
------------------
- streaminfo2: formatting code using astyle
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
#include <map>
|
||||
|
||||
struct AVFormatContext;
|
||||
|
||||
|
||||
class CFrameBuffer;
|
||||
class CStreamInfo2 : public CMenuTarget
|
||||
{
|
||||
@@ -47,7 +47,7 @@ class CStreamInfo2 : public CMenuTarget
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
int hheight,iheight,sheight; // head/info/small font height
|
||||
int hheight, iheight, sheight; // head/info/small font height
|
||||
|
||||
int max_height; // Frambuffer 0.. max
|
||||
int max_width;
|
||||
@@ -78,18 +78,20 @@ class CStreamInfo2 : public CMenuTarget
|
||||
int spaceoffset;
|
||||
unsigned int scaling;
|
||||
unsigned int pmt_version;
|
||||
int box_h,box_h2;
|
||||
struct feSignal {
|
||||
int box_h, box_h2;
|
||||
struct feSignal
|
||||
{
|
||||
unsigned long ber, old_ber, max_ber, min_ber;
|
||||
unsigned long sig, old_sig, max_sig, min_sig;
|
||||
unsigned long snr, old_snr, max_snr, min_snr;
|
||||
} signal;
|
||||
|
||||
struct bitrate {
|
||||
struct bitrate
|
||||
{
|
||||
unsigned int short_average, max_short_average, min_short_average;
|
||||
} rate;
|
||||
|
||||
std::vector<std::map<std::string,std::string> > streamdata;
|
||||
std::vector<std::map<std::string, std::string> > streamdata;
|
||||
|
||||
int doSignalStrengthLoop();
|
||||
|
||||
@@ -124,7 +126,7 @@ class CStreamInfo2 : public CMenuTarget
|
||||
void SignalRenderStr(unsigned int value, int x, int y);
|
||||
CSignalBox *signalbox;
|
||||
|
||||
void showSNR ();
|
||||
void showSNR();
|
||||
public:
|
||||
bool abort_probing;
|
||||
|
||||
@@ -132,7 +134,7 @@ class CStreamInfo2 : public CMenuTarget
|
||||
~CStreamInfo2();
|
||||
|
||||
void hide();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
int exec(CMenuTarget *parent, const std::string &actionKey);
|
||||
|
||||
int readPacket(uint8_t *buf, int buf_size);
|
||||
};
|
||||
|
Reference in New Issue
Block a user