Justin Ruggles
5cc51a5847
avutil: Add av_get_default_channel_layout()
...
Also, use the new function in the AC-3 encoder.
13 years ago
Nicolas George
38c3b68e3a
pixdesc: put components always in the same order.
13 years ago
Nicolas George
b75c67dc01
lavu: add av_bprintf and related.
13 years ago
Anton Khirnov
4d851f8dcf
cpu: add av_set_cpu_flags_mask().
13 years ago
Diego Biurrun
cfac648e6a
doxygen: Remove documentation for non-existing parameters; misc small fixes.
13 years ago
Justin Ruggles
c9bca80132
avutil: add AVERROR_UNKNOWN
...
Useful to return instead of -1 when the cause of the error is unknown,
typically from an external library.
13 years ago
Diego Biurrun
b315042c8c
Remove libpostproc.
...
This library does not fit into Libav as a whole and its code is just a
maintenance burden. Furthermore it is now available as an external project,
which completely obviates any reason to keep it around.
URL: http://git.videolan.org/?p=libpostproc.git
13 years ago
Michael Niedermayer
68fac5c2b8
doxy: Disable the main index page.
...
Theres no usefull or even remotely complete information on it currently.
Which just leads to confusion.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Justin Ruggles
0b42a9388c
avutil: add av_rescale_q_rnd() to allow different rounding
13 years ago
Stefano Sabatini
c28e7af70d
lavu: add timestamp.h header with convenience timestamp utilities
13 years ago
Anton Khirnov
38d5533228
pixdesc: mark pseudopaletted formats with a special flag.
...
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
13 years ago
Stefano Sabatini
70ffda3217
lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect
...
Factorize code and provide ratio parsing consistency.
13 years ago
Clément Bœsch
0eaa123b34
lavu: add public timecode API.
13 years ago
Paul B Mahol
8b933129b9
avutil: make intfloat api public
...
The functions are already av_ prefixed and intfloat header is already provided.
Install libavutil/intfloat.h
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Paul B Mahol
f9ca1ac796
sws/pixfmt/pixdesc: add support for yuva444p
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Conflicts:
libavutil/avutil.h
libavutil/pixfmt.h
13 years ago
Alex Converse
08628b6afb
Revert "sws/pixfmt/pixdesc: add support for yuva444p"
...
This reverts commit fc115c80b7
.
Tests are broken.
13 years ago
Paul B Mahol
fc115c80b7
sws/pixfmt/pixdesc: add support for yuva444p
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Stefano Sabatini
999495734b
lavu/eval: add if() and ifnot() eval functions
...
They allow to implement the if/then/else logic, which cannot be
implemented otherwise.
For example the expression:
A*B + not(A)*C
always evaluates to NaN if B is NaN, even in the case where A is 0.
13 years ago
Janne Grunau
c04a954da6
lavu: bump lavu minor for av_popcount64
...
Add it to doc/APIchanges and update and correct other entries.
13 years ago
Michael Niedermayer
5a8e994287
mem: add av_max_alloc() to limit the maximum amount that may be allocated in one piece
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
1674073b4d
libavutil: increase LIBAVUTIL_VERSION_MICRO to 100
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
1be323054e
Add basic libavdevice documentation.
13 years ago
Justin Ruggles
b2890f5ed6
audioconvert: add some additional channel and channel layout macros
13 years ago
Justin Ruggles
1d2449a613
audioconvert: change 7.1 "wide" layout to use side surround channels
13 years ago
Nicolas George
26c6fec9d9
lavu: introduce av_log_format_line.
13 years ago
Nicolas George
976b095939
lavu/error: define AVERROR_BUG.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
757cb3b46a
avutil: av_x_if_null: remove const for the return value.
...
This is the usual weirdness with const/non-const pointers through a function.
See the prototype of strchr for a standard example.
The function had to be moved down, below the point where stdint.h is
indirectly included.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
313d30c180
avutil: revert project name messing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
cc276c85d1
Make channel layout masks unsigned
...
It makes more sense for a bit mask to use an unsigned type.
The change should be source and binary compatible on all
supported systems, hence micro version bump.
Fixes a few invalid shifts.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Ronald S. Bultje
6b0768e202
Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].
13 years ago
Clément Bœsch
573ffbb3b5
lavu: add av_get_alt_sample_fmt().
13 years ago
Justin Ruggles
bbb46f3ec7
libavutil: add utility functions to simplify allocation of audio buffers.
...
Based on code by Stefano Sabatini.
13 years ago
Justin Ruggles
8889cc4f5b
libavutil: add planar sample formats and av_sample_fmt_is_planar()
13 years ago
Luca Barbato
e361b5089a
doxy: structure libavformat groups
13 years ago
Luca Barbato
e97e5a2e02
doxy: introduce an empty structure in libavcodec
13 years ago
Luca Barbato
757cd8d876
doxy: provide a start page and document libavutil
...
Introduce a basic layout, the subpages are currently left empty.
Split libavutil in multiple groups as example of the structure
13 years ago
Martin Storsjö
627067118c
avutil: Add av_timegm as a public function
...
This is useful, since the normal timegm function isn't a standard
function (requiring _BSD_SOURCE or _SVID_SOURCE on glibc to
be visible, and not available on e.g. windows). The widely available
function mktime uses the local time zone, which requires ugly
workarounds to handle UTC time.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Nicolas George
e7062a1e9f
audioconvert: make av_get_channel_layout accept composite names.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Reimar Döffinger
ba04ecfdac
avstring: Add locale independent implementations of strcasecmp/strncasecmp
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
07b172fe8f
avstring: Add locale independent implementations of toupper/tolower
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Sebastien Zwickert
d66ee6ac48
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
424655f749
lavu: update minor number and add APIchanges entry after recent av_strtok() addition
13 years ago
Anton Khirnov
492bd1a28f
AVOptions: bump minor and add APIchanges entry.
13 years ago
Stefano Sabatini
2b43bfa0c8
lavu: bump micro after gcd(), random(), and hypot() additions in eval
13 years ago
Marton Balint
cbfca6225a
avutil: bump minor version because of av_get_default_channel_layout type fix
...
Well, probably an ABI breakage at least for 32bit, but hopefully it will go
unnoticed because the fix happened realtively soon.
Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c3a774969a
avutil: bump for av_get_default_channel_layout()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Jason Garrett-Glaser
96a59cf37b
x86: XOP/FMA4 CPU detection support
13 years ago
Clément Bœsch
a70e787410
lavu: add av_x_if_null().
13 years ago
Stefano Sabatini
8cee38a298
eval: implement not() expression
13 years ago