From 5acffea623eaa95469a8fb77260c85240c6c0a41 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Mon, 15 Mar 2004 16:32:54 +0000 Subject: *.h: Revert indenting Original commit message from CVS: * *.h: Revert indenting --- gst/monoscope/convolve.h | 14 +++++++------- gst/monoscope/monoscope.h | 21 ++++++++++----------- 2 files changed, 17 insertions(+), 18 deletions(-) (limited to 'gst/monoscope') diff --git a/gst/monoscope/convolve.h b/gst/monoscope/convolve.h index d5f34d2b..d9709edc 100644 --- a/gst/monoscope/convolve.h +++ b/gst/monoscope/convolve.h @@ -21,8 +21,7 @@ #define CONVOLVE_H #ifdef __cplusplus -extern "C" -{ +extern "C" { #endif /* convolve_match takes two blocks, one twice the size of the other. The @@ -32,13 +31,14 @@ extern "C" #define CONVOLVE_BIG (CONVOLVE_SMALL * 2) /* Convolution stuff */ - typedef struct _struct_convolve_state convolve_state; +typedef struct _struct_convolve_state convolve_state; - convolve_state *convolve_init (void); - void convolve_close (convolve_state * state); +convolve_state *convolve_init (void); +void convolve_close (convolve_state * state); - int convolve_match (const int *lastchoice, - const short int *input, convolve_state * state); +int convolve_match (const int * lastchoice, + const short int * input, + convolve_state * state); #ifdef __cplusplus } diff --git a/gst/monoscope/monoscope.h b/gst/monoscope/monoscope.h index 37be6fff..8e7d7591 100644 --- a/gst/monoscope/monoscope.h +++ b/gst/monoscope/monoscope.h @@ -7,19 +7,18 @@ #define scope_width 256 #define scope_height 128 -struct monoscope_state -{ - gint16 copyEq[CONVOLVE_BIG]; - int avgEq[CONVOLVE_SMALL]; /* a running average of the last few. */ - int avgMax; /* running average of max sample. */ - guint32 display[(scope_width + 1) * (scope_height + 1)]; +struct monoscope_state { + gint16 copyEq[CONVOLVE_BIG]; + int avgEq[CONVOLVE_SMALL]; /* a running average of the last few. */ + int avgMax; /* running average of max sample. */ + guint32 display[(scope_width + 1) * (scope_height + 1)]; - convolve_state *cstate; - guint32 colors[64]; + convolve_state *cstate; + guint32 colors[64]; }; -struct monoscope_state *monoscope_init (guint32 resx, guint32 resy); -guint32 *monoscope_update (struct monoscope_state *stateptr, gint16 data[512]); -void monoscope_close (struct monoscope_state *stateptr); +struct monoscope_state * monoscope_init (guint32 resx, guint32 resy); +guint32 * monoscope_update (struct monoscope_state * stateptr, gint16 data [512]); +void monoscope_close (struct monoscope_state * stateptr); #endif -- cgit