summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-11-03 08:55:49 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-11-03 08:55:49 +0000
commit700060263ed1c9527039fc00a4285632df76a99b (patch)
tree8994293ceea7f938ce68fb04cffc92930dba2c79
parent931a223439642c2711148bcee787a4728af1c531 (diff)
downloadgst-plugins-bad-700060263ed1c9527039fc00a4285632df76a99b.tar.gz
gst-plugins-bad-700060263ed1c9527039fc00a4285632df76a99b.tar.bz2
gst-plugins-bad-700060263ed1c9527039fc00a4285632df76a99b.zip
gst/speexresample/gstspeexresample.c: Add TODO at the top of the file for enabling SSE/ARM specific optimizations and...
Original commit message from CVS: * gst/speexresample/gstspeexresample.c: (gst_speex_resample_convert_buffer): Add TODO at the top of the file for enabling SSE/ARM specific optimizations and choosing the fastest implementation at runtime. Add g_assert_not_reached() at two places that should really never be reached.
-rw-r--r--ChangeLog10
-rw-r--r--gst/speexresample/gstspeexresample.c8
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be6de712..b7f6c8c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-11-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * gst/speexresample/gstspeexresample.c:
+ (gst_speex_resample_convert_buffer):
+ Add TODO at the top of the file for enabling SSE/ARM specific
+ optimizations and choosing the fastest implementation at runtime.
+
+ Add g_assert_not_reached() at two places that should really never
+ be reached.
+
2008-11-02 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/speexresample/gstspeexresample.c:
diff --git a/gst/speexresample/gstspeexresample.c b/gst/speexresample/gstspeexresample.c
index 84057e64..010991d6 100644
--- a/gst/speexresample/gstspeexresample.c
+++ b/gst/speexresample/gstspeexresample.c
@@ -34,6 +34,10 @@
* </refsect2>
*/
+/* TODO:
+ * - Enable SSE/ARM optimizations and select at runtime
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -640,6 +644,8 @@ gst_speex_resample_convert_buffer (GstSpeexResample * resample,
i++;
len--;
}
+ } else {
+ g_assert_not_reached ();
}
} else {
if (gst_speex_resample_use_int && resample->width == 8 && !resample->fp) {
@@ -708,6 +714,8 @@ gst_speex_resample_convert_buffer (GstSpeexResample * resample,
i++;
len--;
}
+ } else {
+ g_assert_not_reached ();
}
}
}