[MPlayer-dev-eng] ogg + medialib + mdct

c0g c0g at wp.pl
Thu Dec 19 18:16:59 CET 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I'm working on ogg-decoder for SPARC for university project. Actually
I'm porting libvorbis to medialib.
I saw, that mplayer has support for SUN MediaLib (for doing MDCT), so
maybe someone on the list will give mi some hint on my problem.
And my problem is:
Ogg Vorbis decoder uses IMDCT to translate frequency-domain data to
time-domain data. Libvorbis's mdct_backward() function takes as an
argument number of float's (samples), on which it will operate, input
and output data pointer. Mentioned number isn't constant in decoding
process. Sometimes it is 512, 1024, or maybe something else. The
equivalent medialib mlib_SignalIMDCT_F32() function specifies only data
pointer, not data size.
Analysing mplayer source (because it wasn't documented in official SUN
MediaLib Manual), i found that it takes 256-float buffer.
So my question is: how to transform big data chunks (>256 float) using
this limited medialib function?

Greetings in advance!
- --
c0g at wp.pl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+Af8KPqmVt5WhbA8RAkcIAJ0Y1pVQAzrmWR3q3QTceQDwUylagACfUHb9
oNfe8fq3+Ki7j/HS3v/Z/uE=
=p/jI
-----END PGP SIGNATURE-----




More information about the MPlayer-dev-eng mailing list