[FFmpeg-devel] [PATCH] swr: split out DSP functions.
Michael Niedermayer
michaelni at gmx.at
Sat Jun 14 20:41:13 CEST 2014
On Sat, Jun 14, 2014 at 02:11:03PM -0400, Ronald S. Bultje wrote:
> DSP bits of swri_resample go into their own mini-DSP functions; DSP
> init goes from a per-call branch in multiple_resample to a proper
> DSP init routine; x86 bits go into x86/; swri_resample() moves out of
> resample_template.c into resample.c because it's independent of DSP
> code or sample type; multiple_resample() is simplified.
> ---
> libswresample/Makefile | 1 +
> libswresample/resample.c | 149 ++++++++++++-----------------------
> libswresample/resample.h | 66 ++++++++++++++++
> libswresample/resample_dsp.c | 69 ++++++++++++++++
> libswresample/resample_template.c | 97 ++++++++++++-----------
> libswresample/x86/Makefile | 2 +
> libswresample/x86/resample_x86_dsp.c | 89 +++++++++++++++++++++
> 7 files changed, 325 insertions(+), 148 deletions(-)
> create mode 100644 libswresample/resample.h
> create mode 100644 libswresample/resample_dsp.c
> create mode 100644 libswresample/x86/resample_x86_dsp.c
applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140614/346177e8/attachment.asc>
More information about the ffmpeg-devel
mailing list