diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2010-07-22 00:39:49 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2010-07-22 00:39:49 +0000 |
commit | c7b1d9768c20ba5848f503f5258b4429fd303f3d (patch) | |
tree | cc4f173336b323cb4064b878c4736043b95d7aba | |
parent | a33e036577ded2b41cb33baca2e653666d77fbdf (diff) | |
download | ffmpeg-c7b1d9768c20ba5848f503f5258b4429fd303f3d.tar.gz |
relicense h264 deblock sse2 to lgpl
Originally committed as revision 24408 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/x86/Makefile | 6 | ||||
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 4 | ||||
-rw-r--r-- | libavcodec/x86/h264_deblock_sse2.asm | 24 |
3 files changed, 19 insertions, 15 deletions
diff --git a/libavcodec/x86/Makefile b/libavcodec/x86/Makefile index 6d1a9c6064..3f19f06b88 100644 --- a/libavcodec/x86/Makefile +++ b/libavcodec/x86/Makefile @@ -6,10 +6,10 @@ YASM-OBJS-FFT-$(HAVE_AMD3DNOWEXT) += x86/fft_3dn2.o YASM-OBJS-FFT-$(HAVE_SSE) += x86/fft_sse.o YASM-OBJS-$(CONFIG_FFT) += x86/fft_mmx.o \ $(YASM-OBJS-FFT-yes) -YASM-OBJS-$(CONFIG_GPL) += x86/h264_deblock_sse2.o \ - x86/h264_idct_sse2.o \ +YASM-OBJS-$(CONFIG_GPL) += x86/h264_idct_sse2.o \ -YASM-OBJS-$(CONFIG_H264DSP) += x86/h264_intrapred.o \ +YASM-OBJS-$(CONFIG_H264DSP) += x86/h264_deblock_sse2.o \ + x86/h264_intrapred.o \ YASM-OBJS-$(CONFIG_VC1_DECODER) += x86/vc1dsp_yasm.o diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index 5d73863a47..79d4bfce29 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -2999,7 +2999,7 @@ void ff_h264dsp_init_x86(H264DSPContext *c) c->h264_idct8_add4= ff_h264_idct8_add4_sse2; } -#if CONFIG_GPL && HAVE_YASM +#if HAVE_YASM if (mm_flags & FF_MM_MMX2){ #if ARCH_X86_32 c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_mmxext; @@ -3012,9 +3012,11 @@ void ff_h264dsp_init_x86(H264DSPContext *c) c->h264_v_loop_filter_luma_intra = ff_x264_deblock_v_luma_intra_sse2; c->h264_h_loop_filter_luma_intra = ff_x264_deblock_h_luma_intra_sse2; #endif +#if CONFIG_GPL c->h264_idct_add16 = ff_h264_idct_add16_sse2; c->h264_idct_add8 = ff_h264_idct_add8_sse2; c->h264_idct_add16intra = ff_h264_idct_add16intra_sse2; +#endif } } #endif diff --git a/libavcodec/x86/h264_deblock_sse2.asm b/libavcodec/x86/h264_deblock_sse2.asm index b2aa940236..a9e6dea3d6 100644 --- a/libavcodec/x86/h264_deblock_sse2.asm +++ b/libavcodec/x86/h264_deblock_sse2.asm @@ -5,20 +5,22 @@ ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* -;* This program is free software; you can redistribute it and/or modify -;* it under the terms of the GNU General Public License as published by -;* the Free Software Foundation; either version 2 of the License, or -;* (at your option) any later version. +;* This file is part of FFmpeg. ;* -;* This program is distributed in the hope that it will be useful, +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Public +;* License as published by the Free Software Foundation; either +;* version 2.1 of the License, or (at your option) any later version. +;* +;* FFmpeg is distributed in the hope that it will be useful, ;* but WITHOUT ANY WARRANTY; without even the implied warranty of -;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;* GNU General Public License for more details. +;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;* Lesser General Public License for more details. ;* -;* You should have received a copy of the GNU General Public License -;* along with this program; if not, write to the Free Software -;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA. -;***************************************************************************** +;* You should have received a copy of the GNU Lesser General Public +;* License along with FFmpeg; if not, write to the Free Software +;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +;****************************************************************************** %include "x86inc.asm" |