[FFmpeg-devel] [PATCH 1/2] Move float windowing code in mp3 decoder to dsputils

Michael Niedermayer michaelni
Fri Jun 18 14:45:31 CEST 2010


On Thu, Jun 17, 2010 at 05:34:48PM +0200, Vitor Sessak wrote:
> On 06/17/2010 04:50 PM, M?ns Rullg?rd wrote:
>> Vitor Sessak<vitor1001 at gmail.com>  writes:
>>
>>> $subj. It introduces some code duplication that I have no good idea
>>> how to avoid.
>>
>> Can we please not clutter dsputil with even more codec-specific stuff?
>
> As attached?
[...]
>  /* layer 3 huffman tables */
> @@ -178,7 +180,7 @@
>  void ff_mpa_synth_filter_float(MPA_INT *synth_buf_ptr, int *synth_buf_offset,
>                           MPA_INT *window, int *dither_state,
>                           OUT_INT *samples, int incr,
> -                         INTFLOAT sb_samples[SBLIMIT]);
> +                         INTFLOAT sb_samples[SBLIMIT], MPADecodeContext *s);

whats the context needd for ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100618/3426b0cb/attachment.pgp>



More information about the ffmpeg-devel mailing list