[FFmpeg-devel] [PATCH] Simplify pcm.c - Phase II
Thu Aug 7 01:41:45 CEST 2008
On Mon, Aug 04, 2008 at 11:28:50PM +1000, pross at xvid.org wrote:
> Change 'n' in pcm_decode_frame() to equal "total number of samples".
> Add simpler/cleaner/faster F32BE encoding/decoding.
> (Nb: patch must be applied after pcm-simplify-part3.diff)
> Should the approach in this patch be considered okay, my intent would
> to, a) apply the ENCODE/DECODE macros across all the S16/S24/S32/F32
> switch cases, and b) group LE and BE cases together and use #ifdef
> WORDS_BIGENDIAN to use memcpy as appropriate.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel