mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
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.
This commit is contained in:
parent
9c88e06594
commit
35acee194f
1 changed files with 8 additions and 0 deletions
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue