Mercurial > libavcodec.hg
annotate libpostproc/mangle.h @ 1231:b88dfc4bbf8c libavcodec
* introducing new public interface in imgconvert.c
+ avcodec_get_pix_fmt
converts textual representation of pixel format into
the actual id. Complements avcodec_get_pix_fmt_name.
+ avpicture_layout
serializes given picture into a flat array.
Complements avpicture_fill.
* adding a new option -pix_fmt to the ffmpeg, in order to control
pixel format for the codecs that do support it, like rawvideo,
for example.
* reducing complexity of the rawvideo codec by splitting it in two
and making it more reliable via hooking up to the avpicture_layout.
Plus adding new FourCC as described here: http://www.fourcc.org
* A tiny fix for avienc.c that makes avih and video strf consistent
regarding codec FourCC.
| author | romansh |
|---|---|
| date | Wed, 07 May 2003 19:01:45 +0000 |
| parents | 556b5d0b5228 |
| children | 336a239ad9a4 |
| rev | line source |
|---|---|
| 1069 | 1 /* mangle.h - This file has some CPP macros to deal with different symbol |
| 2 * mangling across binary formats. | |
| 3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net> | |
| 4 * File licensed under the GPL, see http://www.fsf.org/ for more info. | |
| 5 */ | |
| 6 | |
| 7 #ifndef __MANGLE_H | |
| 8 #define __MANGLE_H | |
| 9 | |
| 10 /* Feel free to add more to the list, eg. a.out IMO */ | |
|
1161
556b5d0b5228
mangle on mingw32 patch by ("Sascha Sommer" <saschasommer at freenet dot de>)
michaelni
parents:
1069
diff
changeset
|
11 #if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__OS2__) || \ |
| 1069 | 12 (defined(__OpenBSD__) && !defined(__ELF__)) |
| 13 #define MANGLE(a) "_" #a | |
| 14 #else | |
| 15 #define MANGLE(a) #a | |
| 16 #endif | |
| 17 | |
| 18 #endif /* !__MANGLE_H */ | |
| 19 |
