Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thibault Saunier
gst-plugins-good
Commits
7ab6d2b0
Commit
7ab6d2b0
authored
May 10, 2007
by
David Schleef
Browse files
gst/level/gstlevel.c: Revert last change.
Original commit message from CVS: * gst/level/gstlevel.c: Revert last change.
parent
f636fb8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7ab6d2b0
2007-05-09 David Schleef <ds@schleef.org>
* gst/level/gstlevel.c:
Revert last change.
2007-05-09 Sebastien Moutte <sebastien@moutte.net>
* gst/level/gstlevel.c: (gst_level_calculate_##TYPE),
...
...
gst/level/gstlevel.c
View file @
7ab6d2b0
...
...
@@ -313,7 +313,7 @@ gst_level_get_property (GObject * object, guint prop_id,
#define DEFINE_INT_LEVEL_CALCULATOR(TYPE, RESOLUTION) \
static void inline \
gst_level_calculate_##TYPE (g
u
int
8 *
data, guint num, guint channels, \
gst_level_calculate_##TYPE (g
po
int
er
data, guint num, guint channels, \
gdouble *NCS, gdouble *NPS) \
{ \
TYPE * in = (TYPE *)data; \
...
...
@@ -344,7 +344,7 @@ DEFINE_INT_LEVEL_CALCULATOR (gint8, 7);
#define DEFINE_FLOAT_LEVEL_CALCULATOR(TYPE) \
static void inline \
gst_level_calculate_##TYPE (g
u
int
8 *
data, guint num, guint channels, \
gst_level_calculate_##TYPE (g
po
int
er
data, guint num, guint channels, \
gdouble *NCS, gdouble *NPS) \
{ \
TYPE * in = (TYPE *)data; \
...
...
@@ -534,7 +534,7 @@ static GstFlowReturn
gst_level_transform_ip
(
GstBaseTransform
*
trans
,
GstBuffer
*
in
)
{
GstLevel
*
filter
;
g
u
int
8
*
in_data
;
g
po
int
er
in_data
;
double
CS
=
0
.
0
;
guint
num_frames
=
0
;
guint
num_int_samples
=
0
;
/* number of interleaved samples
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment