[FFmpeg-devel] [PATCH] Simplify pcm.c - Phase II

Michael Niedermayer michaelni
Thu Aug 7 01:41:45 CEST 2008


On Mon, Aug 04, 2008 at 11:28:50PM +1000, pross at xvid.org wrote:
> $subject
> 
> pcm-simplify-part3.diff
>    Change 'n' in pcm_decode_frame() to equal "total number of samples".
> 
> optimised-f32.diff
>    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.

all ok

[...]
-- 
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
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080807/f5684c3b/attachment.pgp>



More information about the ffmpeg-devel mailing list