[FFmpeg-devel] E-AC-3 in FFmpeg
Justin Ruggles
justinruggles
Wed Nov 7 02:19:47 CET 2007
Justin Ruggles wrote:
> It also looks good to me except 1 thing. I don't like that do_imdct()
> will be essentially duplicated verbatim in the E-AC-3 decoder. The
> first solution that comes to mind is a shared AC3MDCT struct to hold
> most of the context variables used in that function:
> tmp_output, delay, window, tmp_imdct, imdct_256, imdct_512, dsp
>
> blksw, transform_coeffs, and output could be passed in as arguments to
> the shared function. ...or everything could all be passed as arguments,
> but that would be pretty messy.
Here is a patch describing my idea above.
-Justin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_ac3dec_mdct_share.diff
Type: text/x-patch
Size: 7648 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071106/45633cdc/attachment.bin>
More information about the ffmpeg-devel
mailing list