Changeset 106537 in webkit
- Timestamp:
- Feb 2, 2012 12:04:02 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r106436 r106537 1 2012-02-01 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] FFTFrame implementation 4 https://bugs.webkit.org/show_bug.cgi?id=73545 5 6 Reviewed by Chris Rogers. 7 8 * configure.ac: Enable the WebAudio option again and remove 9 libfftw checks. 10 1 11 2012-01-31 Ryosuke Niwa <rniwa@webkit.org> 2 12 -
trunk/LayoutTests/ChangeLog
r106531 r106537 1 2012-02-01 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] FFTFrame implementation 4 https://bugs.webkit.org/show_bug.cgi?id=73545 5 6 Reviewed by Chris Rogers. 7 8 * webaudio/resources/convolution-testing.js: 9 (checkTail1): Adapt convolution threshold for GStreamerFFTFrame 10 implementation, as advised by Chris Rogers. 11 1 12 2012-02-01 Eric Carlson <eric.carlson@apple.com> 2 13 -
trunk/LayoutTests/webaudio/resources/convolution-testing.js
r104476 r106537 128 128 // This threshold is experimentally determined by examining the 129 129 // value of tail1MaxDecibels. 130 var threshold1 = -1 46.7;130 var threshold1 = -129.7; 131 131 132 132 var tail1MaxDecibels = linearToDecibel(tail1Max/refMax); … … 134 134 testPassed("First part of tail of convolution is sufficiently small."); 135 135 } else { 136 testFailed("First part of tail of convolution is not sufficiently small: " + tail1Max + " dB");136 testFailed("First part of tail of convolution is not sufficiently small: " + tail1MaxDecibels + " dB"); 137 137 isZero = false; 138 138 } -
trunk/Source/WebCore/ChangeLog
r106536 r106537 1 2012-02-01 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] FFTFrame implementation 4 https://bugs.webkit.org/show_bug.cgi?id=73545 5 6 Reviewed by Chris Rogers. 7 8 FFTFrame implementation based on GStreamer's FFT processing 9 library. 10 11 No new tests, existing WebAudio tests cover this. 12 13 * GNUmakefile.am: 14 * GNUmakefile.list.am: 15 * platform/audio/FFTFrame.h: 16 * platform/audio/FFTFrameStub.cpp: 17 * platform/audio/gstreamer/FFTFrameGStreamer.cpp: Added. 18 (WebCore::FFTFrame::FFTFrame): 19 (WebCore::FFTFrame::initialize): 20 (WebCore::FFTFrame::cleanup): 21 (WebCore::FFTFrame::~FFTFrame): 22 (WebCore::FFTFrame::multiply): 23 (WebCore::FFTFrame::doFFT): 24 (WebCore::FFTFrame::doInverseFFT): 25 (WebCore::FFTFrame::realData): 26 (WebCore::FFTFrame::imagData): 27 1 28 2012-02-02 Kentaro Hara <haraken@chromium.org> 2 29 -
trunk/Source/WebCore/GNUmakefile.am
r106240 r106537 513 513 endif 514 514 515 if USE_WEBAUDIO_GSTREAMER 516 webcore_cppflags += -DWTF_USE_WEBAUDIO_GSTREAMER=1 517 endif 518 515 519 # ---- 516 520 # Web Sockets Support … … 872 876 $(GTK_CFLAGS) \ 873 877 $(HILDON_CFLAGS) \ 874 $(LIBFFTW_CFLAGS) \875 878 $(LIBSOUP_CFLAGS) \ 876 879 $(LIBXML_CFLAGS) \ -
trunk/Source/WebCore/GNUmakefile.list.am
r106373 r106537 5415 5415 Source/WebCore/platform/audio/gstreamer/AudioDestinationGStreamer.h \ 5416 5416 Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp \ 5417 Source/WebCore/platform/audio/gstreamer/FFTFrameGStreamer.cpp \ 5417 5418 Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.cpp \ 5418 5419 Source/WebCore/platform/audio/gstreamer/WebKitWebAudioSourceGStreamer.h \ -
trunk/Source/WebCore/platform/audio/FFTFrame.h
r105431 r106537 47 47 #include "mkl_dfti.h" 48 48 #endif // USE(WEBAUDIO_MKL) 49 50 #if USE(WEBAUDIO_GSTREAMER) 51 #include <glib.h> 52 G_BEGIN_DECLS 53 #include <gst/fft/gstfftf32.h> 54 G_END_DECLS 55 #endif // USE(WEBAUDIO_GSTREAMER) 49 56 50 57 #if USE(WEBAUDIO_FFMPEG) … … 147 154 #endif // USE(WEBAUDIO_FFMPEG) 148 155 156 #if USE(WEBAUDIO_GSTREAMER) 157 GstFFTF32* m_fft; 158 GstFFTF32* m_inverseFft; 159 GstFFTF32Complex* m_complexData; 160 AudioFloatArray m_realData; 161 AudioFloatArray m_imagData; 162 #endif // USE(WEBAUDIO_GSTREAMER) 163 149 164 #endif // !USE_ACCELERATE_FFT 150 165 }; -
trunk/Source/WebCore/platform/audio/FFTFrameStub.cpp
r102622 r106537 30 30 #if ENABLE(WEB_AUDIO) 31 31 32 #if !OS(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_FFMPEG) 32 #if !OS(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_FFMPEG) && !USE(WEBAUDIO_GSTREAMER) 33 33 34 34 #include "FFTFrame.h" … … 103 103 } // namespace WebCore 104 104 105 #endif // !OS(DARWIN) && !USE(WEBAUDIO_MKL) 105 #endif // !OS(DARWIN) && !USE(WEBAUDIO_MKL) && !USE(WEBAUDIO_GSTREAMER) 106 106 107 107 #endif // ENABLE(WEB_AUDIO) -
trunk/Source/WebKit/gtk/ChangeLog
r106467 r106537 1 2012-02-01 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] FFTFrame implementation 4 https://bugs.webkit.org/show_bug.cgi?id=73545 5 6 Reviewed by Chris Rogers. 7 8 * GNUmakefile.am: Remove libfftw compilation flags. 9 1 10 2012-02-01 Philippe Normand <pnormand@igalia.com> 2 11 -
trunk/Source/WebKit/gtk/GNUmakefile.am
r105326 r106537 69 69 $(GTK_CFLAGS) \ 70 70 $(HILDON_CFLAGS) \ 71 $(LIBFFTW_CFLAGS) \72 71 $(LIBSOUP_CFLAGS) \ 73 72 $(LIBXML_CFLAGS) \ … … 102 101 $(HILDON_LIBS) \ 103 102 $(JPEG_LIBS) \ 104 $(LIBFFTW_LIBS) \105 103 $(LIBSOUP_LIBS) \ 106 104 $(LIBXML_LIBS) \ -
trunk/Source/WebKit2/ChangeLog
r106524 r106537 1 2012-02-01 Philippe Normand <pnormand@igalia.com> 2 3 [GStreamer] FFTFrame implementation 4 https://bugs.webkit.org/show_bug.cgi?id=73545 5 6 Reviewed by Chris Rogers. 7 8 * GNUmakefile.am: Remove libfftw compilation flags. 9 1 10 2012-02-01 No'am Rosenthal <noam.rosenthal@nokia.com> 2 11 -
trunk/Source/WebKit2/GNUmakefile.am
r106240 r106537 1480 1480 $(XT_LIBS) \ 1481 1481 $(WINMM_LIBS) \ 1482 $(LIBFFTW_LIBS) \1483 1482 $(ZLIB_LIBS) 1484 1483 -
trunk/configure.ac
r106346 r106537 785 785 786 786 # check whether to enable Web Audio support 787 enable_web_audio=no 787 AC_MSG_CHECKING([whether to enable Web Audio support]) 788 AC_ARG_ENABLE(web_audio, 789 AC_HELP_STRING([--enable-web-audio], 790 [enable support for Web Audio [default=no]]), 791 [],[enable_web_audio="no"]) 788 792 AC_MSG_RESULT([$enable_web_audio]) 789 793 … … 1053 1057 gstreamer-app-$GST_API_VERSION 1054 1058 gstreamer-audio-$GST_API_VERSION 1059 gstreamer-fft-$GST_API_VERSION 1055 1060 gstreamer-base-$GST_API_VERSION 1056 1061 gstreamer-interfaces-$GST_API_VERSION … … 1064 1069 fi 1065 1070 1066 # check if libfftw is available1067 if test "$enable_web_audio" = "yes"; then1068 PKG_CHECK_MODULES([LIBFFTW],1069 [fftw3 >= $LIBFFTW_REQUIRED_VERSION1070 fftw3f >= $LIBFFTW_REQUIRED_VERSION],1071 [have_fftw=yes])1072 1073 AC_SUBST([LIBFFTW_CFLAGS])1074 AC_SUBST([LIBFFTW_LIBS])1075 fi1076 1071 1077 1072 if test "$with_accelerated_compositing" = "clutter"; then … … 1175 1170 # GStreamer feature conditional 1176 1171 AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"]) 1172 AM_CONDITIONAL([USE_WEBAUDIO_GSTREAMER], [test "$enable_web_audio" = "yes"]) 1177 1173 1178 1174 # ATSPI2 conditional
Note: See TracChangeset
for help on using the changeset viewer.