diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-03-13 23:59:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-13 23:59:56 +0100 |
commit | 1c788eaca9a0ad398d1b6ecc3797949ca84b42f9 (patch) | |
tree | 21283369abd6485bc016e4c0b5222e77507d20c4 | |
parent | be879af217e8d399412db093a4879b9f798671fa (diff) | |
parent | 831a1180785a786272cdcefb71566a770bfb879e (diff) | |
download | ffmpeg-1c788eaca9a0ad398d1b6ecc3797949ca84b42f9.tar.gz |
Merge commit '831a1180785a786272cdcefb71566a770bfb879e'
* commit '831a1180785a786272cdcefb71566a770bfb879e':
Update dsputil- and SIMD-related comments to match reality more closely
Conflicts:
libavcodec/x86/hpeldsp.asm
libavutil/arm/float_dsp_init_arm.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/aacdec.c | 2 | ||||
-rw-r--r-- | libavcodec/ac3dsp.c | 2 | ||||
-rw-r--r-- | libavcodec/ac3dsp.h | 2 | ||||
-rw-r--r-- | libavcodec/arm/hpeldsp_arm.S | 2 | ||||
-rw-r--r-- | libavcodec/arm/hpeldsp_init_arm.c | 2 | ||||
-rw-r--r-- | libavcodec/arm/videodsp_armv5te.S | 2 | ||||
-rw-r--r-- | libavcodec/bfin/hpeldsp_bfin.c | 2 | ||||
-rw-r--r-- | libavcodec/mpegvideo_motion.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/ac3dsp.asm | 2 | ||||
-rw-r--r-- | libavcodec/x86/ac3dsp_init.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/deinterlace.asm | 2 | ||||
-rw-r--r-- | libavcodec/x86/fdct.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/fpel.asm | 2 | ||||
-rw-r--r-- | libavcodec/x86/hpeldsp.asm | 2 | ||||
-rw-r--r-- | libavcodec/x86/hpeldsp_init.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/hpeldsp_rnd_template.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/lpc.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/mpegaudiodsp.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/qpel.asm | 2 | ||||
-rw-r--r-- | libavcodec/x86/rnd_template.c | 2 | ||||
-rw-r--r-- | libavutil/arm/float_dsp_init_arm.c | 2 |
21 files changed, 20 insertions, 22 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 3586aabbe7..a8f76e73e1 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -2631,7 +2631,7 @@ static void apply_dependent_coupling(AACContext *ac, const float gain = cce->coup.gain[index][idx]; for (group = 0; group < ics->group_len[g]; group++) { for (k = offsets[i]; k < offsets[i + 1]; k++) { - // XXX dsputil-ize + // FIXME: SIMDify dest[group * 128 + k] += gain * src[group * 128 + k]; } } diff --git a/libavcodec/ac3dsp.c b/libavcodec/ac3dsp.c index feda6ddc6e..0d5ea39d08 100644 --- a/libavcodec/ac3dsp.c +++ b/libavcodec/ac3dsp.c @@ -1,5 +1,5 @@ /* - * AC-3 DSP utils + * AC-3 DSP functions * Copyright (c) 2011 Justin Ruggles * * This file is part of FFmpeg. diff --git a/libavcodec/ac3dsp.h b/libavcodec/ac3dsp.h index bced5974e1..f18583c446 100644 --- a/libavcodec/ac3dsp.h +++ b/libavcodec/ac3dsp.h @@ -1,5 +1,5 @@ /* - * AC-3 DSP utils + * AC-3 DSP functions * Copyright (c) 2011 Justin Ruggles * * This file is part of FFmpeg. diff --git a/libavcodec/arm/hpeldsp_arm.S b/libavcodec/arm/hpeldsp_arm.S index 429c3ea020..219f793d99 100644 --- a/libavcodec/arm/hpeldsp_arm.S +++ b/libavcodec/arm/hpeldsp_arm.S @@ -1,5 +1,5 @@ @ -@ ARMv4 optimized DSP utils +@ ARMv4-optimized halfpel functions @ Copyright (c) 2004 AGAWA Koji <i (AT) atty (DOT) jp> @ @ This file is part of FFmpeg. diff --git a/libavcodec/arm/hpeldsp_init_arm.c b/libavcodec/arm/hpeldsp_init_arm.c index 2cc2b782b2..0293ffe948 100644 --- a/libavcodec/arm/hpeldsp_init_arm.c +++ b/libavcodec/arm/hpeldsp_init_arm.c @@ -1,5 +1,5 @@ /* - * ARM optimized DSP utils + * ARM-optimized halfpel functions * Copyright (c) 2001 Lionel Ulmer * * This file is part of FFmpeg. diff --git a/libavcodec/arm/videodsp_armv5te.S b/libavcodec/arm/videodsp_armv5te.S index 4bd365a332..55bcce5cb6 100644 --- a/libavcodec/arm/videodsp_armv5te.S +++ b/libavcodec/arm/videodsp_armv5te.S @@ -1,5 +1,5 @@ @ -@ ARMv5te optimized DSP utils +@ ARMv5te-optimized core video DSP functions @ Copyright (c) 2004 AGAWA Koji <i (AT) atty (DOT) jp> @ @ This file is part of FFmpeg diff --git a/libavcodec/bfin/hpeldsp_bfin.c b/libavcodec/bfin/hpeldsp_bfin.c index 2df551b89a..44aca732a7 100644 --- a/libavcodec/bfin/hpeldsp_bfin.c +++ b/libavcodec/bfin/hpeldsp_bfin.c @@ -1,5 +1,5 @@ /* - * BlackFin DSPUTILS + * BlackFin halfpel functions * * Copyright (C) 2007 Marc Hoffman <marc.hoffman@analog.com> * Copyright (c) 2006 Michael Benjamin <michael.benjamin@analog.com> diff --git a/libavcodec/mpegvideo_motion.c b/libavcodec/mpegvideo_motion.c index 8398fdff93..2801e3930f 100644 --- a/libavcodec/mpegvideo_motion.c +++ b/libavcodec/mpegvideo_motion.c @@ -403,7 +403,7 @@ static void mpeg_motion_field(MpegEncContext *s, uint8_t *dest_y, motion_x, motion_y, h, 0, mb_y); } -// FIXME move to dsputil, avg variant, 16x16 version +// FIXME: SIMDify, avg variant, 16x16 version static inline void put_obmc(uint8_t *dst, uint8_t *src[5], int stride) { int x; diff --git a/libavcodec/x86/ac3dsp.asm b/libavcodec/x86/ac3dsp.asm index 89a64f50d4..5cc8392fe6 100644 --- a/libavcodec/x86/ac3dsp.asm +++ b/libavcodec/x86/ac3dsp.asm @@ -1,5 +1,5 @@ ;***************************************************************************** -;* x86-optimized AC-3 DSP utils +;* x86-optimized AC-3 DSP functions ;* Copyright (c) 2011 Justin Ruggles ;* ;* This file is part of FFmpeg. diff --git a/libavcodec/x86/ac3dsp_init.c b/libavcodec/x86/ac3dsp_init.c index 388fc0c696..6936ace87b 100644 --- a/libavcodec/x86/ac3dsp_init.c +++ b/libavcodec/x86/ac3dsp_init.c @@ -1,5 +1,5 @@ /* - * x86-optimized AC-3 DSP utils + * x86-optimized AC-3 DSP functions * Copyright (c) 2011 Justin Ruggles * * This file is part of FFmpeg. diff --git a/libavcodec/x86/deinterlace.asm b/libavcodec/x86/deinterlace.asm index 3812dbe601..baa9249db2 100644 --- a/libavcodec/x86/deinterlace.asm +++ b/libavcodec/x86/deinterlace.asm @@ -1,5 +1,5 @@ ;****************************************************************************** -;* MMX optimized deinterlacing functions +;* SIMD-optimized deinterlacing functions ;* Copyright (c) 2010 Vitor Sessak ;* Copyright (c) 2002 Michael Niedermayer ;* diff --git a/libavcodec/x86/fdct.c b/libavcodec/x86/fdct.c index 11a13bb704..f0cd471d36 100644 --- a/libavcodec/x86/fdct.c +++ b/libavcodec/x86/fdct.c @@ -1,5 +1,5 @@ /* - * MMX optimized forward DCT + * SIMD-optimized forward DCT * The gcc porting is Copyright (c) 2001 Fabrice Bellard. * cleanup/optimizations are Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> * SSE2 optimization is Copyright (c) 2004 Denes Balatoni. diff --git a/libavcodec/x86/fpel.asm b/libavcodec/x86/fpel.asm index dc363d1a63..bfabcee5e3 100644 --- a/libavcodec/x86/fpel.asm +++ b/libavcodec/x86/fpel.asm @@ -1,5 +1,5 @@ ;****************************************************************************** -;* MMX optimized DSP utils +;* SIMD-optimized fullpel functions ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2003-2013 Michael Niedermayer ;* Copyright (c) 2013 Daniel Kang diff --git a/libavcodec/x86/hpeldsp.asm b/libavcodec/x86/hpeldsp.asm index 4eaba6eaca..687b4740ba 100644 --- a/libavcodec/x86/hpeldsp.asm +++ b/libavcodec/x86/hpeldsp.asm @@ -6,7 +6,7 @@ ;* Copyright (c) 2002 Zdenek Kabelac <kabi@informatics.muni.cz> ;* Copyright (c) 2013 Daniel Kang ;* -;* MMX optimized hpel functions +;* SIMD-optimized halfpel functions ;* ;* This file is part of FFmpeg. ;* diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c index e04a0351b8..aee42cd003 100644 --- a/libavcodec/x86/hpeldsp_init.c +++ b/libavcodec/x86/hpeldsp_init.c @@ -1,5 +1,5 @@ /* - * MMX optimized DSP utils + * SIMD-optimized halfpel functions * Copyright (c) 2000, 2001 Fabrice Bellard * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> * diff --git a/libavcodec/x86/hpeldsp_rnd_template.c b/libavcodec/x86/hpeldsp_rnd_template.c index 94e06d820a..24e04a8f22 100644 --- a/libavcodec/x86/hpeldsp_rnd_template.c +++ b/libavcodec/x86/hpeldsp_rnd_template.c @@ -1,5 +1,5 @@ /* - * DSP utils mmx functions are compiled twice for rnd/no_rnd + * SIMD-optimized halfpel functions are compiled twice for rnd/no_rnd * Copyright (c) 2000, 2001 Fabrice Bellard * Copyright (c) 2003-2004 Michael Niedermayer <michaelni@gmx.at> * diff --git a/libavcodec/x86/lpc.c b/libavcodec/x86/lpc.c index 8a74755d1b..9682733096 100644 --- a/libavcodec/x86/lpc.c +++ b/libavcodec/x86/lpc.c @@ -1,5 +1,5 @@ /* - * MMX optimized LPC DSP utils + * SIMD-optimized LPC functions * Copyright (c) 2007 Loren Merritt * * This file is part of FFmpeg. diff --git a/libavcodec/x86/mpegaudiodsp.c b/libavcodec/x86/mpegaudiodsp.c index 3654c81248..5dc7bc6362 100644 --- a/libavcodec/x86/mpegaudiodsp.c +++ b/libavcodec/x86/mpegaudiodsp.c @@ -1,5 +1,5 @@ /* - * MMX optimized MP3 decoding functions + * SIMD-optimized MP3 decoding functions * Copyright (c) 2010 Vitor Sessak * * This file is part of FFmpeg. diff --git a/libavcodec/x86/qpel.asm b/libavcodec/x86/qpel.asm index c2ffb86717..342b8ef0e0 100644 --- a/libavcodec/x86/qpel.asm +++ b/libavcodec/x86/qpel.asm @@ -1,5 +1,5 @@ ;****************************************************************************** -;* MMX optimized DSP utils +;* SIMD-optimized quarterpel functions ;* Copyright (c) 2008 Loren Merritt ;* Copyright (c) 2003-2013 Michael Niedermayer ;* Copyright (c) 2013 Daniel Kang diff --git a/libavcodec/x86/rnd_template.c b/libavcodec/x86/rnd_template.c index e37fc19506..ca6ad3ea23 100644 --- a/libavcodec/x86/rnd_template.c +++ b/libavcodec/x86/rnd_template.c @@ -1,5 +1,5 @@ /* - * DSP utils mmx functions are compiled twice for rnd/no_rnd + * SIMD-optimized halfpel functions are compiled twice for rnd/no_rnd * Copyright (c) 2000, 2001 Fabrice Bellard * Copyright (c) 2003-2004 Michael Niedermayer <michaelni@gmx.at> * diff --git a/libavutil/arm/float_dsp_init_arm.c b/libavutil/arm/float_dsp_init_arm.c index 38148b3878..678762862e 100644 --- a/libavutil/arm/float_dsp_init_arm.c +++ b/libavutil/arm/float_dsp_init_arm.c @@ -1,6 +1,4 @@ /* - * ARM optimized DSP utils - * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or |