Mercurial > libavcodec.hg
comparison ratecontrol.c @ 428:dd4f4c3d7171 libavcodec
consistent include usage
author | glantau |
---|---|
date | Sat, 25 May 2002 22:42:45 +0000 |
parents | fce0a2520551 |
children | 295ce90742ff |
comparison
equal
deleted
inserted
replaced
427:c058624083e1 | 428:dd4f4c3d7171 |
---|---|
1 /* | 1 /* |
2 Copyright (C) 2002 Michael Niedermayer <michaelni@gmx.at> | 2 * Rate control for video encoders |
3 | 3 * |
4 This program is free software; you can redistribute it and/or modify | 4 * Copyright (c) 2002 Michael Niedermayer <michaelni@gmx.at> |
5 it under the terms of the GNU General Public License as published by | 5 * |
6 the Free Software Foundation; either version 2 of the License, or | 6 * This library is free software; you can redistribute it and/or |
7 (at your option) any later version. | 7 * modify it under the terms of the GNU Lesser General Public |
8 | 8 * License as published by the Free Software Foundation; either |
9 This program is distributed in the hope that it will be useful, | 9 * version 2 of the License, or (at your option) any later version. |
10 but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * |
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 * This library is distributed in the hope that it will be useful, |
12 GNU General Public License for more details. | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 You should have received a copy of the GNU General Public License | 14 * Lesser General Public License for more details. |
15 along with this program; if not, write to the Free Software | 15 * |
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 16 * You should have received a copy of the GNU Lesser General Public |
17 */ | 17 * License along with this library; if not, write to the Free Software |
18 | 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 #include <inttypes.h> | 19 */ |
20 #include <stdio.h> | |
21 | |
22 #include "common.h" //needed for mpegvideo.h to compile | |
23 #include "dsputil.h" //needed for mpegvideo.h to compile | |
24 #include "avcodec.h" | 20 #include "avcodec.h" |
21 #include "dsputil.h" | |
25 #include "mpegvideo.h" | 22 #include "mpegvideo.h" |
26 | 23 |
27 #define STATS_FILE "lavc_stats.txt" | 24 #define STATS_FILE "lavc_stats.txt" |
28 | 25 |
29 static int init_pass2(MpegEncContext *s); | 26 static int init_pass2(MpegEncContext *s); |