Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
ff4ec49e
Commit
ff4ec49e
authored
May 25, 2002
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
license/copyright change
Originally committed as revision 599 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2ef0f2b2
Changes
42
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
441 additions
and
422 deletions
+441
-422
libavcodec/Makefile
libavcodec/Makefile
+0
-0
libavcodec/a52dec.c
libavcodec/a52dec.c
+11
-11
libavcodec/ac3dec.c
libavcodec/ac3dec.c
+11
-11
libavcodec/ac3enc.c
libavcodec/ac3enc.c
+11
-11
libavcodec/alpha/asm.h
libavcodec/alpha/asm.h
+10
-10
libavcodec/alpha/dsputil_alpha.c
libavcodec/alpha/dsputil_alpha.c
+10
-10
libavcodec/alpha/mpegvideo_alpha.c
libavcodec/alpha/mpegvideo_alpha.c
+10
-10
libavcodec/alpha/pixops.h
libavcodec/alpha/pixops.h
+10
-10
libavcodec/armv4l/dsputil_arm.c
libavcodec/armv4l/dsputil_arm.c
+10
-10
libavcodec/common.c
libavcodec/common.c
+11
-11
libavcodec/dct-test.c
libavcodec/dct-test.c
+1
-1
libavcodec/dsputil.c
libavcodec/dsputil.c
+11
-11
libavcodec/dsputil.h
libavcodec/dsputil.h
+18
-0
libavcodec/h263.c
libavcodec/h263.c
+12
-12
libavcodec/h263dec.c
libavcodec/h263dec.c
+11
-11
libavcodec/i386/cputest.c
libavcodec/i386/cputest.c
+1
-1
libavcodec/i386/dsputil_mmx.c
libavcodec/i386/dsputil_mmx.c
+11
-12
libavcodec/i386/dsputil_mmx_avg.h
libavcodec/i386/dsputil_mmx_avg.h
+11
-11
libavcodec/i386/fdct_mmx.c
libavcodec/i386/fdct_mmx.c
+1
-1
libavcodec/i386/motion_est_mmx.c
libavcodec/i386/motion_est_mmx.c
+11
-12
libavcodec/i386/mpegvideo_mmx.c
libavcodec/i386/mpegvideo_mmx.c
+11
-12
libavcodec/i386/mpegvideo_mmx_template.c
libavcodec/i386/mpegvideo_mmx_template.c
+18
-17
libavcodec/i386/simple_idct_mmx.c
libavcodec/i386/simple_idct_mmx.c
+19
-19
libavcodec/imgconvert.c
libavcodec/imgconvert.c
+11
-11
libavcodec/imgresample.c
libavcodec/imgresample.c
+11
-11
libavcodec/mlib/dsputil_mlib.c
libavcodec/mlib/dsputil_mlib.c
+11
-11
libavcodec/motion_est.c
libavcodec/motion_est.c
+11
-11
libavcodec/motion_test.c
libavcodec/motion_test.c
+1
-1
libavcodec/mp3lameaudio.c
libavcodec/mp3lameaudio.c
+10
-10
libavcodec/mpeg12.c
libavcodec/mpeg12.c
+11
-11
libavcodec/mpegaudio.c
libavcodec/mpegaudio.c
+11
-11
libavcodec/mpegaudiodec.c
libavcodec/mpegaudiodec.c
+11
-11
libavcodec/mpegaudiotab.h
libavcodec/mpegaudiotab.h
+1
-1
libavcodec/mpegvideo.c
libavcodec/mpegvideo.c
+11
-11
libavcodec/mpegvideo.h
libavcodec/mpegvideo.h
+17
-17
libavcodec/msmpeg4.c
libavcodec/msmpeg4.c
+11
-11
libavcodec/pcm.c
libavcodec/pcm.c
+11
-11
libavcodec/resample.c
libavcodec/resample.c
+11
-11
libavcodec/rv10.c
libavcodec/rv10.c
+11
-11
libavcodec/simple_idct.c
libavcodec/simple_idct.c
+21
-20
libavcodec/simple_idct.h
libavcodec/simple_idct.h
+18
-16
libavcodec/utils.c
libavcodec/utils.c
+11
-11
No files found.
libavcodec/Makefile
View file @
ff4ec49e
No preview for this file type
libavcodec/a52dec.c
View file @
ff4ec49e
/*
* A52 decoder
* Copyright (c) 2001
Gerard Lantau
.
* Copyright (c) 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#include "avcodec.h"
#include "liba52/a52.h"
...
...
libavcodec/ac3dec.c
View file @
ff4ec49e
/*
* AC3 decoder
* Copyright (c) 2001
Gerard Lantau
.
* Copyright (c) 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#include "avcodec.h"
#include "libac3/ac3.h"
...
...
libavcodec/ac3enc.c
View file @
ff4ec49e
/*
* The simplest AC3 encoder
* Copyright (c) 2000
Gerard Lantau
.
* Copyright (c) 2000
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
//#define DEBUG
//#define DEBUG_BITALLOC
...
...
libavcodec/alpha/asm.h
View file @
ff4ec49e
...
...
@@ -2,19 +2,19 @@
* Alpha optimized DSP utils
* Copyright (c) 2002 Falk Hueffner <falk@debian.org>
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#ifndef LIBAVCODEC_ALPHA_ASM_H
...
...
libavcodec/alpha/dsputil_alpha.c
View file @
ff4ec49e
...
...
@@ -2,19 +2,19 @@
* Alpha optimized DSP utils
* Copyright (c) 2002 Falk Hueffner <falk@debian.org>
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#include "asm.h"
...
...
libavcodec/alpha/mpegvideo_alpha.c
View file @
ff4ec49e
...
...
@@ -2,19 +2,19 @@
* Alpha optimized DSP utils
* Copyright (c) 2002 Falk Hueffner <falk@debian.org>
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#include "asm.h"
...
...
libavcodec/alpha/pixops.h
View file @
ff4ec49e
...
...
@@ -2,19 +2,19 @@
* Alpha optimized DSP utils
* Copyright (c) 2002 Falk Hueffner <falk@debian.org>
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
/* This file is intended to be #included with proper definitions of
...
...
libavcodec/armv4l/dsputil_arm.c
View file @
ff4ec49e
...
...
@@ -2,19 +2,19 @@
* ARMv4L optimized DSP utils
* Copyright (c) 2001 Lionel Ulmer.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#include "../dsputil.h"
...
...
libavcodec/common.c
View file @
ff4ec49e
/*
* Common bit i/o utils
* Copyright (c) 2000, 2001
Gerard Lantau
.
* Copyright (c) 2000, 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* alternative bitstream reader & writer by Michael Niedermayer <michaelni@gmx.at>
*/
...
...
libavcodec/dct-test.c
View file @
ff4ec49e
/* DCT test. (c) 2001
Gerard Lantau
.
/* DCT test. (c) 2001
Fabrice Bellard
.
Started from sample code by Juan J. Sierralta P.
*/
#include <stdlib.h>
...
...
libavcodec/dsputil.c
View file @
ff4ec49e
/*
* DSP utils
* Copyright (c) 2000, 2001
Gerard Lantau
.
* Copyright (c) 2000, 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* gmc & q-pel & 32/64 bit based MC by Michael Niedermayer <michaelni@gmx.at>
*/
...
...
libavcodec/dsputil.h
View file @
ff4ec49e
/*
* DSP utils
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
*
* This library 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 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef DSPUTIL_H
#define DSPUTIL_H
...
...
libavcodec/h263.c
View file @
ff4ec49e
/*
* H263/MPEG4 backend for ffmpeg encoder and decoder
* Copyright (c) 2000,2001
Gerard Lantau
.
* Copyright (c) 2000,2001
Fabrice Bellard
.
* H263+ support.
* Copyright (c) 2001 Juan J. Sierralta P.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* ac prediction encoding & b-frame support by Michael Niedermayer <michaelni@gmx.at>
*/
...
...
@@ -1124,7 +1124,7 @@ void ff_set_mpeg4_time(MpegEncContext * s, int picture_number){
s
->
time_increment_bits
=
av_log2
(
s
->
time_increment_resolution
-
1
)
+
1
;
}
s
->
time
=
picture_number
*
(
int64_t
)
FRAME_RATE_BASE
*
s
->
time_increment_resolution
/
s
->
frame_rate
;
s
->
time
=
picture_number
*
(
INT64
)
FRAME_RATE_BASE
*
s
->
time_increment_resolution
/
s
->
frame_rate
;
time_div
=
s
->
time
/
s
->
time_increment_resolution
;
time_mod
=
s
->
time
%
s
->
time_increment_resolution
;
...
...
libavcodec/h263dec.c
View file @
ff4ec49e
/*
* H263 decoder
* Copyright (c) 2001
Gerard Lantau
.
* Copyright (c) 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*/
#include "avcodec.h"
#include "dsputil.h"
...
...
libavcodec/i386/cputest.c
View file @
ff4ec49e
/* Cpu detection code, extracted from mmx.h ((c)1997-99 by H. Dietz
and R. Fisher). Converted to C and improved by
Gerard Lantau
*/
and R. Fisher). Converted to C and improved by
Fabrice Bellard
*/
#include <stdlib.h>
#include "../dsputil.h"
...
...
libavcodec/i386/dsputil_mmx.c
View file @
ff4ec49e
/*
* MMX optimized DSP utils
* Copyright (c) 2000, 2001
Gerard Lantau
.
* Copyright (c) 2000, 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
*/
#include "../dsputil.h"
#include "../simple_idct.h"
#include "../mangle.h"
int
mm_flags
;
/* multimedia extension flags */
...
...
libavcodec/i386/dsputil_mmx_avg.h
View file @
ff4ec49e
/*
* DSP utils : average functions are compiled twice for 3dnow/mmx2
* Copyright (c) 2000, 2001
Gerard Lantau
.
* Copyright (c) 2000, 2001
Fabrice Bellard
.
* Copyright (c) 2002 Michael Niedermayer
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* MMX optimization by Nick Kurshev <nickols_k@mail.ru>
* mostly rewritten by Michael Niedermayer <michaelni@gmx.at>
...
...
libavcodec/i386/fdct_mmx.c
View file @
ff4ec49e
/*
* MMX optimized forward DCT
* The gcc porting is Copyright (c) 2001
Gerard Lantau
.
* The gcc porting is Copyright (c) 2001
Fabrice Bellard
.
*
* from fdctam32.c - AP922 MMX(3D-Now) forward-DCT
*
...
...
libavcodec/i386/motion_est_mmx.c
View file @
ff4ec49e
/*
* MMX optimized motion estimation
* Copyright (c) 2001
Gerard Lantau
.
* Copyright (c) 2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* mostly by Michael Niedermayer <michaelni@gmx.at>
*/
#include "../dsputil.h"
#include "../mangle.h"
static
const
__attribute__
((
aligned
(
8
)))
UINT64
round_tab
[
3
]
=
{
0x0000000000000000
,
...
...
libavcodec/i386/mpegvideo_mmx.c
View file @
ff4ec49e
/*
* The simplest mpeg encoder (well, it was the simplest!)
* Copyright (c) 2000,2001
Gerard Lantau
.
* Copyright (c) 2000,2001
Fabrice Bellard
.
*
* 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
library
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 of the License, or
(at your option) any later version.
*
* This
program
is distributed in the hope that it will be useful,
* This
library
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.,
675 Mass Ave, Cambridge
, MA 021
39,
USA
.
* You should have received a copy of the GNU
Lesser
General Public
*
License
along with this
library
; if not, write to the Free Software
* Foundation, Inc.,
59 Temple Place, Suite 330, Boston
, MA
021
11-1307
USA
*
* Optimized for ia32 cpus by Nick Kurshev <nickols_k@mail.ru>
* h263, mpeg1, mpeg2 dequantizer & draw_edges by Michael Niedermayer <michaelni@gmx.at>
...
...
@@ -23,7 +23,6 @@
#include "../dsputil.h"
#include "../mpegvideo.h"
#include "../avcodec.h"
#include "../mangle.h"
extern
UINT8
zigzag_end
[
64
];
...
...
libavcodec/i386/mpegvideo_mmx_template.c
View file @
ff4ec49e
/*
Copyright (C) 2002 Michael Niedermayer <michaelni@gmx.at>
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 program 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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
* MPEG video MMX templates
*
* Copyright (c) 2002 Michael Niedermayer <michaelni@gmx.at>
*
* This library 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