annotate avcore.h @ 10:356600e12af7 libavcore

Make av_fill_image_linesizes() return a meaningful error core rather than -1.
author stefano
date Fri, 30 Jul 2010 08:42:15 +0000
parents f214f755f5de
children 97c3fe501477
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
1 /*
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
2 * This file is part of FFmpeg.
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
3 *
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
4 * FFmpeg is free software; you can redistribute it and/or
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
5 * modify it under the terms of the GNU Lesser General Public
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
6 * License as published by the Free Software Foundation; either
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
7 * version 2.1 of the License, or (at your option) any later version.
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
8 *
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
9 * FFmpeg is distributed in the hope that it will be useful,
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
12 * Lesser General Public License for more details.
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
13 *
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
14 * You should have received a copy of the GNU Lesser General Public
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
15 * License along with FFmpeg; if not, write to the Free Software
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
17 */
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
18
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
19 #ifndef AVCORE_AVCORE_H
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
20 #define AVCORE_AVCORE_H
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
21
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
22 /**
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
23 * @file
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
24 * shared media utilities for the libav* libraries
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
25 */
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
26
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
27 #include <libavutil/avutil.h>
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
28
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
29 #define LIBAVCORE_VERSION_MAJOR 0
8
f214f755f5de Move fill_image_linesize() and fill_image_data_ptr() from
stefano
parents: 1
diff changeset
30 #define LIBAVCORE_VERSION_MINOR 2
0
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
31 #define LIBAVCORE_VERSION_MICRO 0
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
32
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
33 #define LIBAVCORE_VERSION_INT AV_VERSION_INT(LIBAVCORE_VERSION_MAJOR, \
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
34 LIBAVCORE_VERSION_MINOR, \
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
35 LIBAVCORE_VERSION_MICRO)
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
36 #define LIBAVCORE_VERSION AV_VERSION(LIBAVCORE_VERSION_MAJOR, \
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
37 LIBAVCORE_VERSION_MINOR, \
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
38 LIBAVCORE_VERSION_MICRO)
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
39 #define LIBAVCORE_BUILD LIBAVCORE_VERSION_INT
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
40
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
41 #define LIBAVCORE_IDENT "Lavcore" AV_STRINGIFY(LIBAVCORE_VERSION)
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
42
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
43 /**
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
44 * Return the LIBAVCORE_VERSION_INT constant.
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
45 */
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
46 unsigned avcore_version(void);
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
47
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
48 /**
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
49 * Return the libavcore build-time configuration.
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
50 */
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
51 const char *avcore_configuration(void);
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
52
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
53 /**
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
54 * Return the libavcore license.
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
55 */
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
56 const char *avcore_license(void);
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
57
a644213e4818 Add libavcore.
stefano
parents:
diff changeset
58 #endif /* AVCORE_AVCORE_H */