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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1069
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
1 /* mangle.h - This file has some CPP macros to deal with different symbol
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
2 * mangling across binary formats.
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
3 * (c)2002 by Felix Buenemann <atmosfear at users.sourceforge.net>
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
4 * File licensed under the GPL, see http://www.fsf.org/ for more info.
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
5 */
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
6
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
7 #ifndef __MANGLE_H
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
8 #define __MANGLE_H
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
9
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
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
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
12 (defined(__OpenBSD__) && !defined(__ELF__))
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
13 #define MANGLE(a) "_" #a
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
14 #else
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
15 #define MANGLE(a) #a
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
16 #endif
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
17
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
18 #endif /* !__MANGLE_H */
8528d0b9e508 moving postprocess to ffmpeg/libavcodec
michaelni
parents:
diff changeset
19