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
Stefano Sabatini
9bc393908a
eval: add sqrt function for computing the square root
13 years ago
Anton Khirnov
79eff91325
AVOptions: deprecate av_opt_set_defaults2
...
It's a hack which was created to allow for multiple options with
different defaults to refer to same field (e.g. 'b' vs 'ab'). There is
no need for it anymore.
13 years ago
Clément Bœsch
61e2e29691
av_string: add av_asprintf().
13 years ago
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
...
It allows to search for options only with AVClass, without allocating
the corresponding context.
13 years ago
Stefano Sabatini
f2011ed234
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more generic interface than av_fifo_peek()
for peeking at a FIFO buffer data.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Stefano Sabatini
69e2c1a95a
lavu: add av_get_media_type_string() convenience function
...
Avoid code duplication.
13 years ago
Stefano Sabatini
323b930699
fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()
...
The new function provides a more flexible interface for peeking at a
FIFO buffer data.
13 years ago
Stefano Sabatini
e2affa8ce7
audioconvert: define unique strings for AV_CH_LAYOUT_5POINT{0,1}_BACK
...
Previously the string for AV_CH_LAYOUT_5POINT{0,1}_BACK was the same
of the string for AV_CH_LAYOUT_5POINT{0,1}.
This is required for discerning the two channel layouts, given a
channel layout string.
13 years ago
Carl Eugen Hoyos
96676e1abf
Unbreak libavutil API.
14 years ago
Mans Rullgard
abc78a5a7c
Do not include log.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
d49ea4afb4
Do not include pixfmt.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e91709ca17
Do not include rational.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
ee8aecd23a
Do not include intfloat_readwrite.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago