Mercurial > libavutil.hg
annotate avutil.h @ 799:cb32a271f4cd libavutil
Add a function to convert a number to a av_malloced string.
| author | michael |
|---|---|
| date | Sun, 13 Dec 2009 17:09:41 +0000 |
| parents | 41da9d9d39b7 |
| children | 98783d518982 |
| rev | line source |
|---|---|
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
1 /* |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
2 * copyright (c) 2006 Michael Niedermayer <michaelni@gmx.at> |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
3 * |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
4 * This file is part of FFmpeg. |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
5 * |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
6 * FFmpeg is free software; you can redistribute it and/or |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
7 * modify it under the terms of the GNU Lesser General Public |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
8 * License as published by the Free Software Foundation; either |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
9 * version 2.1 of the License, or (at your option) any later version. |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
10 * |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
11 * FFmpeg is distributed in the hope that it will be useful, |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
14 * Lesser General Public License for more details. |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
15 * |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
16 * You should have received a copy of the GNU Lesser General Public |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
17 * License along with FFmpeg; if not, write to the Free Software |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
19 */ |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
20 |
| 567 | 21 #ifndef AVUTIL_AVUTIL_H |
| 22 #define AVUTIL_AVUTIL_H | |
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
23 |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
24 /** |
|
642
70bdd5501662
Use full internal pathname in doxygen @file directives.
diego
parents:
636
diff
changeset
|
25 * @file libavutil/avutil.h |
| 466 | 26 * external API header |
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
27 */ |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
28 |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
29 |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
30 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
31 #define AV_TOSTRING(s) #s |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
32 |
| 459 | 33 #define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c) |
| 34 #define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c | |
| 35 #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) | |
| 453 | 36 |
| 681 | 37 #define LIBAVUTIL_VERSION_MAJOR 50 |
|
799
cb32a271f4cd
Add a function to convert a number to a av_malloced string.
michael
parents:
798
diff
changeset
|
38 #define LIBAVUTIL_VERSION_MINOR 7 |
|
798
41da9d9d39b7
Implement av_bmg_next(), a Box-Muller Gaussian random generator.
stefano
parents:
796
diff
changeset
|
39 #define LIBAVUTIL_VERSION_MICRO 0 |
| 453 | 40 |
| 459 | 41 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |
| 42 LIBAVUTIL_VERSION_MINOR, \ | |
| 43 LIBAVUTIL_VERSION_MICRO) | |
| 44 #define LIBAVUTIL_VERSION AV_VERSION(LIBAVUTIL_VERSION_MAJOR, \ | |
| 45 LIBAVUTIL_VERSION_MINOR, \ | |
| 46 LIBAVUTIL_VERSION_MICRO) | |
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
47 #define LIBAVUTIL_BUILD LIBAVUTIL_VERSION_INT |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
48 |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
49 #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION) |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
50 |
| 545 | 51 /** |
| 52 * Returns the LIBAVUTIL_VERSION_INT constant. | |
| 53 */ | |
| 54 unsigned avutil_version(void); | |
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
55 |
|
792
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
56 /** |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
57 * Returns the libavutil build-time configuration. |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
58 */ |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
59 const char * avutil_configuration(void); |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
60 |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
61 /** |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
62 * Returns the libavutil license. |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
63 */ |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
64 const char * avutil_license(void); |
|
57659b3ef05c
Add functions to return library license and library configuration.
diego
parents:
784
diff
changeset
|
65 |
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
66 #include "common.h" |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
67 #include "mathematics.h" |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
68 #include "rational.h" |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
69 #include "intfloat_readwrite.h" |
|
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
70 #include "log.h" |
|
671
e847c4a1d29a
Split avutil.h, move all the pixel format definitions to the new
stefano
parents:
670
diff
changeset
|
71 #include "pixfmt.h" |
|
267
d363937cc410
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
lu_zero
parents:
diff
changeset
|
72 |
| 567 | 73 #endif /* AVUTIL_AVUTIL_H */ |
