diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/libwmapro/README.rockbox | 29 | ||||
-rw-r--r-- | apps/codecs/libwmapro/libwmapro.make | 10 |
2 files changed, 6 insertions, 33 deletions
diff --git a/apps/codecs/libwmapro/README.rockbox b/apps/codecs/libwmapro/README.rockbox index 9bd737a432..1e195b1b8b 100644 --- a/apps/codecs/libwmapro/README.rockbox +++ b/apps/codecs/libwmapro/README.rockbox | |||
@@ -14,27 +14,10 @@ IMPORT DETAILS | |||
14 | 14 | ||
15 | Based on ffmpeg svn r22886 dated 15 April 2010. | 15 | Based on ffmpeg svn r22886 dated 15 April 2010. |
16 | 16 | ||
17 | The code is slowly being modified to convert it from floating point maths to | 17 | The decoder now (17 July 2010) uses fixed point arithmetic everywhere. It still |
18 | fixed point. | 18 | doesn't work on 3 targets, namely clip, c200v2 and m200v4 due to their small |
19 | codec buffer compared to wma pro's needs. | ||
19 | 20 | ||
20 | As of 6 July 2010, the following steps are all working properly in fixed point: | 21 | A comparison against ffmpeg floating point decoder gives : |
21 | - Inverse quantization and rescaling | 22 | 0.2~0.3% max relative error |
22 | - IMDCT | 23 | 0.005~0.01% average relative error |
23 | - Windowing | ||
24 | |||
25 | Results of comparing output wav files from the partially fixed point decoder to | ||
26 | the output wav files of ffmpeg decoder are : | ||
27 | - average relative error = 0.016% | ||
28 | - maximum relative error = 0.3% | ||
29 | |||
30 | COMPILING | ||
31 | |||
32 | At the time of this writing (21 June 2010) the decoder isn't still included in | ||
33 | the main build since it still only works in the simulator. | ||
34 | |||
35 | A patch is included that would enable building the library and the codec for | ||
36 | testing and development purposes. | ||
37 | |||
38 | To apply the patch, you should cd to libwmapro directory and then execute the | ||
39 | following command : | ||
40 | patch -p 0 < wmapro_mainbuild.patch | ||
diff --git a/apps/codecs/libwmapro/libwmapro.make b/apps/codecs/libwmapro/libwmapro.make index 0e8df7e9cb..9177eafb20 100644 --- a/apps/codecs/libwmapro/libwmapro.make +++ b/apps/codecs/libwmapro/libwmapro.make | |||
@@ -16,13 +16,3 @@ OTHER_SRC += $(WMAPROLIB_SRC) | |||
16 | $(WMAPROLIB): $(WMAPROLIB_OBJ) | 16 | $(WMAPROLIB): $(WMAPROLIB_OBJ) |
17 | $(SILENT)$(shell rm -f $@) | 17 | $(SILENT)$(shell rm -f $@) |
18 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null | 18 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null |
19 | |||
20 | ifdef APP_TYPE | ||
21 | # wmapro needs libm in the simulator | ||
22 | $(CODECDIR)/wmapro.codec: $(CODECDIR)/wmapro.o | ||
23 | $(call PRINTS,LD $(@F))$(CC) $(CODECFLAGS) -o $(CODECDIR)/wmapro.elf \ | ||
24 | $(filter %.o, $^) \ | ||
25 | $(filter %.a, $+) \ | ||
26 | -lgcc -lm $(CODECLDFLAGS) | ||
27 | $(SILENT)cp $(CODECDIR)/wmapro.elf $@ | ||
28 | endif | ||