Mercurial > libavcodec.hg
changeset 428:dd4f4c3d7171 libavcodec
consistent include usage
author | glantau |
---|---|
date | Sat, 25 May 2002 22:42:45 +0000 |
parents | c058624083e1 |
children | 718a22dc121f |
files | liba52/a52.h liba52/bit_allocate.c liba52/bitstream.c liba52/downmix.c liba52/imdct.c liba52/parse.c ratecontrol.c |
diffstat | 7 files changed, 21 insertions(+), 54 deletions(-) [+] |
line wrap: on
line diff
--- a/liba52/a52.h Sat May 25 22:39:29 2002 +0000 +++ b/liba52/a52.h Sat May 25 22:42:45 2002 +0000 @@ -24,6 +24,8 @@ #ifndef A52_H #define A52_H +#include "../avcodec.h" + #ifndef LIBA52_DOUBLE typedef float sample_t; #else
--- a/liba52/bit_allocate.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/bit_allocate.c Sat May 25 22:42:45 2002 +0000 @@ -20,11 +20,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - -#include "config.h" - -#include <inttypes.h> - #include "a52.h" #include "a52_internal.h"
--- a/liba52/bitstream.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/bitstream.c Sat May 25 22:42:45 2002 +0000 @@ -21,10 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include <inttypes.h> - #include "a52.h" #include "a52_internal.h" #include "bitstream.h"
--- a/liba52/downmix.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/downmix.c Sat May 25 22:42:45 2002 +0000 @@ -21,11 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include <string.h> -#include <inttypes.h> - #include "a52.h" #include "a52_internal.h"
--- a/liba52/imdct.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/imdct.c Sat May 25 22:42:45 2002 +0000 @@ -24,18 +24,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include <math.h> -#include <stdio.h> -#ifdef LIBA52_DJBFFT -#include <fftc4.h> -#endif -#ifndef M_PI -#define M_PI 3.1415926535897932384626433832795029 -#endif -#include <inttypes.h> - #include "a52.h" #include "a52_internal.h" #include "mm_accel.h"
--- a/liba52/parse.c Sat May 25 22:39:29 2002 +0000 +++ b/liba52/parse.c Sat May 25 22:42:45 2002 +0000 @@ -21,12 +21,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include <stdlib.h> -#include <string.h> -#include <inttypes.h> - #include "a52.h" #include "a52_internal.h" #include "bitstream.h"
--- a/ratecontrol.c Sat May 25 22:39:29 2002 +0000 +++ b/ratecontrol.c Sat May 25 22:42:45 2002 +0000 @@ -1,27 +1,24 @@ /* - 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 -*/ - -#include <inttypes.h> -#include <stdio.h> - -#include "common.h" //needed for mpegvideo.h to compile -#include "dsputil.h" //needed for mpegvideo.h to compile + * Rate control for video encoders + * + * 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 + * 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 + */ #include "avcodec.h" +#include "dsputil.h" #include "mpegvideo.h" #define STATS_FILE "lavc_stats.txt"