~medibuntu-maintainers/mplayer/medibuntu.precise

« back to all changes in this revision

Viewing changes to ffmpeg/libavutil/avutil.h

  • Committer: Gauvain Pocentek
  • Date: 2012-03-06 11:59:12 UTC
  • mfrom: (66.1.15 precise)
  • Revision ID: gauvain@pocentek.net-20120306115912-h9d6kt9j0l532oo5
* Merge from Ubuntu:
  - put back faac support
  - recommends apport-hooks-medibuntu
  - change Maintainer, Uploaders & Vcs-* fields.
* New upstream snapshot
* upload to unstable
* Build against external libmpeg2
* drop 51_FTBFS_arm.patch again
* no longer build depend on libcdparanoia-dev on the Hurd
* Fix FTBFS on the hurd.
  Thanks to Samuel Thibault <sthibault@debian.org> (Closes: #654974)
* Fix FTBFS on arm
* New upstream snapshot, Closes: #650339, #643621, #481807
* Imported Upstream version 1.0~rc4+svn34492
* Bump standards version
* Bump dependency on libav >= 4:0.8~, Closes: #653887
* Fix build-indep
* Build mplayer-gui again, Closes: #568514
* Drop debian/all-lang-config-mak.sh, no longer needed
* include .dfsg1 in version number
* remove get-orig-source target
* no longer prune compiler flags from the environment
* No longer advertise nor build 3fdx, mga and dxr3 backends,
  Closes: #496106, #442181, #533546
* beautify mplayer version identification string
* Brown paperbag upload.
* Next try to fix build failure on sparce after recent binutils change.
* Brown paperbag upload.
* Really fix build failure on sparc after recent binutils change.
* Properly set Replaces/Conflicts on mplayer2{,-dbg} to avoid
  file overwrite errors.
* Adjust versioning of mplayer listed in the mplayer-dbg's Depends field.
* Fix build failure on sparc after recent binutils change.
* Urgency medium bumped because of RC-level bugfix
  and speeding up x264 transition.
* Update to my @debian.org email.
* Upload to unstable
* Enable joystick support on Linux only, Closes: #638408
* Rebuild fixes toolchain issue on arm, Closes: #637077
* New upstream snapshot
* following the discussion started by Diego Biurrun <diego@biurrun.de>
  in debian-devel, I have prepared a new packaging of 'mplayer'
  (with code that comes from CVS)
* the upstream tar.bz cannot be distributed by Debian, since it contains
   CSS code; so I am repackaging it 
* I have tried my best to address all known issues:
  - the package contains the detailed Copyright made by Diego Biurrun 
  - the package does not contain CSS code, or  AFAIK other code on which 
     there is active patent enforcement
  - there is a script  debian/cvs-changelog.sh  that shows all changes
     done to files included in this source.
    This should comply with GPLv2 sec 2.a  (in spirit if not in letter)
    For this reason, the source code contains CVS directories.
* needs   make (>= 3.80) for 'html-chunked-$(1)' in DOCS/xml/Makefile

* some corrections, as suggested Diego Biurrun
  - binary codecs should go into /usr/lib/codecs (upstream default)
  - better template 'mplayer/install_codecs'
  - an empty 'font=' in mplayer.conf breaks mplayer: postinst corrected
* correction in 'mplayer/cfgnote'
* better mplayer.postinst and mplayer.config

* New upstream release
* better debian/copyright file
* do not ship a skin
* New upstream release
* changed DEB_BUILD_OPTIONS to DEB_BUILD_CONFIGURE ,
  DEB_BUILD_OPTIONS is used as in debian policy
* use gcc-3.4
* changed xlibs-dev to a long list of dependencies, for Debian/etch
* try to adhere to  http://www.mplayerhq.hu/DOCS/tech/binary-packaging.txt
  (see README.Debian for details)
* removed dependency on xlibmesa-dev, disabled opengl
* New upstream release
* Simon McVittie <hacks@pseudorandom.co.uk> wonderful work:
- Work around Debian bug #267442 (glibc's sys/uio.h and gcc's altivec.h have
  conflicting uses for __vector) by re-ordering #includes
- Fix potential symlink attack in ./configure
- Disable support for binary codecs on platforms for which those codecs
  aren't available; also disable the corresponding Debconf note when it's
  inappropriate
- Changed Build-Depends: so it works in pbuilder
- Explicitly build-depend on libjpeg62-dev, libfontconfig1-dev,
  libungif4-dev 
- Tweak debian/rules to avoid certain errors being ignored
- Use --language=all
* provide a target  'debian/rules get-orig-source' 
  that recreates the orig.tar.gz ; then use the above orig.tar.gz
* rewrote some parts of debian/rules
* don't clean and recompile docs if upstream ships them
* mplayer-doc was shipping too much stuff
* translated man pages where not installed properly
* compile with libdv4-dev
* correct README.Debian
* Forgot build-dep on libtheora
* Must not depend on libxvidcore
* New upstream release
* new release.
* rc1 to become 0.90
* new pre-release
* new pre-release
* gtk bug fixed.
* new release.
* version bumped
* 0.60 pre2 release
* 0.60 pre-release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * external API header
27
27
 */
28
28
 
 
29
/**
 
30
 * @mainpage
 
31
 *
 
32
 * @section libav_intro Introduction
 
33
 *
 
34
 * This document describe the usage of the different libraries
 
35
 * provided by Libav.
 
36
 *
 
37
 * @li @ref libavc "libavcodec" encoding/decoding library
 
38
 * @li @subpage libavfilter graph based frame editing library
 
39
 * @li @ref libavf "libavformat" I/O and muxing/demuxing library
 
40
 * @li @ref lavd "libavdevice" special devices muxing/demuxing library
 
41
 * @li @ref lavu "libavutil" common utility library
 
42
 * @li @subpage libpostproc post processing library
 
43
 * @li @subpage libswscale  color conversion and scaling library
 
44
 *
 
45
 */
 
46
 
 
47
/**
 
48
 * @defgroup lavu Common utility functions
 
49
 *
 
50
 * @brief
 
51
 * libavutil contains the code shared across all the other Libav
 
52
 * libraries
 
53
 *
 
54
 * @note In order to use the functions provided by avutil you must include
 
55
 * the specific header.
 
56
 *
 
57
 * @{
 
58
 *
 
59
 * @defgroup lavu_crypto Crypto and Hashing
 
60
 *
 
61
 * @{
 
62
 * @}
 
63
 *
 
64
 * @defgroup lavu_math Maths
 
65
 * @{
 
66
 *
 
67
 * @}
 
68
 *
 
69
 * @defgroup lavu_string String Manipulation
 
70
 *
 
71
 * @{
 
72
 *
 
73
 * @}
 
74
 *
 
75
 * @defgroup lavu_mem Memory Management
 
76
 *
 
77
 * @{
 
78
 *
 
79
 * @}
 
80
 *
 
81
 * @defgroup lavu_data Data Structures
 
82
 * @{
 
83
 *
 
84
 * @}
 
85
 *
 
86
 * @defgroup lavu_audio Audio related
 
87
 *
 
88
 * @{
 
89
 *
 
90
 * @}
 
91
 *
 
92
 * @defgroup lavu_error Error Codes
 
93
 *
 
94
 * @{
 
95
 *
 
96
 * @}
 
97
 *
 
98
 * @defgroup lavu_misc Other
 
99
 *
 
100
 * @{
 
101
 *
 
102
 * @defgroup lavu_internal Internal
 
103
 *
 
104
 * Not exported functions, for internal usage only
 
105
 *
 
106
 * @{
 
107
 *
 
108
 * @}
 
109
 */
 
110
 
 
111
 
 
112
/**
 
113
 * @defgroup preproc_misc Preprocessor String Macros
 
114
 *
 
115
 * String manipulation macros
 
116
 *
 
117
 * @{
 
118
 */
29
119
 
30
120
#define AV_STRINGIFY(s)         AV_TOSTRING(s)
31
121
#define AV_TOSTRING(s) #s
35
125
 
36
126
#define AV_PRAGMA(s) _Pragma(#s)
37
127
 
 
128
/**
 
129
 * @}
 
130
 */
 
131
 
 
132
/**
 
133
 * @defgroup version_utils Library Version Macros
 
134
 *
 
135
 * Useful to check and match library version in order to maintain
 
136
 * backward compatibility.
 
137
 *
 
138
 * @{
 
139
 */
 
140
 
38
141
#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
39
142
#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
40
143
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
41
144
 
 
145
/**
 
146
 * @}
 
147
 *
 
148
 * @defgroup lavu_ver Version and Build diagnostics
 
149
 *
 
150
 * Macros and function useful to check at compiletime and at runtime
 
151
 * which version of libavutil is in use.
 
152
 *
 
153
 * @{
 
154
 */
 
155
 
42
156
#define LIBAVUTIL_VERSION_MAJOR 51
43
 
#define LIBAVUTIL_VERSION_MINOR  7
 
157
#define LIBAVUTIL_VERSION_MINOR 21
44
158
#define LIBAVUTIL_VERSION_MICRO  0
45
159
 
46
160
#define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
54
168
#define LIBAVUTIL_IDENT         "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
55
169
 
56
170
/**
 
171
 * @}
 
172
 *
 
173
 * @defgroup depr_guards Deprecation guards
57
174
 * Those FF_API_* defines are not part of public API.
58
175
 * They may change, break or disappear at any time.
 
176
 *
 
177
 * They are used mostly internally to mark code that will be removed
 
178
 * on the next major version.
 
179
 *
 
180
 * @{
59
181
 */
60
182
#ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
61
183
#define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
63
185
#ifndef FF_API_FIND_OPT
64
186
#define FF_API_FIND_OPT                 (LIBAVUTIL_VERSION_MAJOR < 52)
65
187
#endif
 
188
#ifndef FF_API_AV_FIFO_PEEK
 
189
#define FF_API_AV_FIFO_PEEK             (LIBAVUTIL_VERSION_MAJOR < 52)
 
190
#endif
 
191
#ifndef FF_API_OLD_AVOPTIONS
 
192
#define FF_API_OLD_AVOPTIONS            (LIBAVUTIL_VERSION_MAJOR < 52)
 
193
#endif
 
194
 
 
195
/**
 
196
 * @}
 
197
 */
 
198
 
 
199
/**
 
200
 * @addtogroup lavu_ver
 
201
 * @{
 
202
 */
66
203
 
67
204
/**
68
205
 * Return the LIBAVUTIL_VERSION_INT constant.
79
216
 */
80
217
const char *avutil_license(void);
81
218
 
 
219
/**
 
220
 * @}
 
221
 */
 
222
 
 
223
/**
 
224
 * @addtogroup lavu_media Media Type
 
225
 * @brief Media Type
 
226
 */
 
227
 
82
228
enum AVMediaType {
83
 
    AVMEDIA_TYPE_UNKNOWN = -1,
 
229
    AVMEDIA_TYPE_UNKNOWN = -1,  ///< Usually treated as AVMEDIA_TYPE_DATA
84
230
    AVMEDIA_TYPE_VIDEO,
85
231
    AVMEDIA_TYPE_AUDIO,
86
 
    AVMEDIA_TYPE_DATA,
 
232
    AVMEDIA_TYPE_DATA,          ///< Opaque data information usually continuous
87
233
    AVMEDIA_TYPE_SUBTITLE,
88
 
    AVMEDIA_TYPE_ATTACHMENT,
 
234
    AVMEDIA_TYPE_ATTACHMENT,    ///< Opaque data information usually sparse
89
235
    AVMEDIA_TYPE_NB
90
236
};
91
237
 
 
238
/**
 
239
 * @defgroup lavu_const Constants
 
240
 * @{
 
241
 *
 
242
 * @defgroup lavu_enc Encoding specific
 
243
 *
 
244
 * @note those definition should move to avcodec
 
245
 * @{
 
246
 */
 
247
 
92
248
#define FF_LAMBDA_SHIFT 7
93
249
#define FF_LAMBDA_SCALE (1<<FF_LAMBDA_SHIFT)
94
250
#define FF_QP2LAMBDA 118 ///< factor to convert from H.263 QP to lambda
96
252
 
97
253
#define FF_QUALITY_SCALE FF_LAMBDA_SCALE //FIXME maybe remove
98
254
 
 
255
/**
 
256
 * @}
 
257
 * @defgroup lavu_time Timestamp specific
 
258
 *
 
259
 * Libav internal timebase and timestamp definitions
 
260
 *
 
261
 * @{
 
262
 */
 
263
 
 
264
/**
 
265
 * @brief Undefined timestamp value
 
266
 *
 
267
 * Usually reported by demuxer that work on containers that do not provide
 
268
 * either pts or dts.
 
269
 */
 
270
 
99
271
#define AV_NOPTS_VALUE          INT64_C(0x8000000000000000)
 
272
 
 
273
/**
 
274
 * Internal time base represented as integer
 
275
 */
 
276
 
100
277
#define AV_TIME_BASE            1000000
 
278
 
 
279
/**
 
280
 * Internal time base represented as fractional value
 
281
 */
 
282
 
101
283
#define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
102
284
 
 
285
/**
 
286
 * @}
 
287
 * @}
 
288
 * @defgroup lavu_picture Image related
 
289
 *
 
290
 * AVPicture types, pixel formats and basic image planes manipulation.
 
291
 *
 
292
 * @{
 
293
 */
 
294
 
103
295
enum AVPictureType {
104
296
    AV_PICTURE_TYPE_I = 1, ///< Intra
105
297
    AV_PICTURE_TYPE_P,     ///< Predicted
119
311
 */
120
312
char av_get_picture_type_char(enum AVPictureType pict_type);
121
313
 
 
314
/**
 
315
 * @}
 
316
 */
 
317
 
122
318
#include "common.h"
123
319
#include "error.h"
124
 
#include "mathematics.h"
125
 
#include "rational.h"
126
 
#include "intfloat_readwrite.h"
127
 
#include "log.h"
128
 
#include "pixfmt.h"
 
320
 
 
321
/**
 
322
 * @}
 
323
 * @}
 
324
 */
129
325
 
130
326
#endif /* AVUTIL_AVUTIL_H */