[FFmpeg-devel] Some ideas for a tiny set of audio conversion functions..

Andreas Öman andreas
Thu Nov 15 19:44:57 CET 2007


... or a replacement of DSPContext->float_to_int16()

I've been given this some thought and I've come up with
some thoughts that I realized into code.

The idea is to support

* any number of channels
* both planar and interleaved data
* mixing of multiple sources into one output channel

If this is the right way to go i'll continue to write some
convenience functions, SSE-implementations and make some test
with the current codecs that output floats internally.

The file is currently just standalone.

Comments?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aconv.c
Type: text/x-csrc
Size: 4317 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071115/4e9a5b8d/attachment.c>



More information about the ffmpeg-devel mailing list