- streaminfo2: formatting code using astyle

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-03-16 21:15:47 +01:00
committed by Thilo Graf
parent cd6086a317
commit c2b08afdad
2 changed files with 112 additions and 108 deletions

View File

@@ -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);
};