|
Rockbox mail archiveSubject: RE: ffmpeg coordination effort!RE: ffmpeg coordination effort!
From: Mike Giacomelli <giac2000_at_hotmail.com>
Date: Mon, 8 Feb 2010 10:02:42 -0700
> I'm not really aware of what code of ours that they used, but we'd definitely benefit a lot - in codecs of course - from such an idea.
IIRC that would be linuxstb's APE codec. Its now in ffmpeg.
> As for our side of it, I think we could have a branch specific to ffmpeg-related stuff. Porting codecs to rockbox generally entails isolation of the codecs, converting them to fixed point math and removing dynamic allocations, and up until this stage, the code is easily usable outside rockbox. i.e, the ffmpeg people could benefit from having the fixed-point, memory-optimized codecs.
The problem I see is that we do fixed point, while ffmpeg does floating point (except their MP3 decoder and lossless codecs). Its not clear to me that they're all that interested in fixed point. So we'd have to try and write codecs in a way thats generic about being number representation. The codecs that I have seen try and do this have not been particularly fun to work with (libfaad). Readability suffers and optimization gets harder because the whole codec is a mess of preprocessor code.
Page was last modified "Jan 10 2012" The Rockbox Crew |