Luca Barbato
9a4c10e3af
lavu: Move preprocessor macros in a separate file
...
And remove all the circular inclusions of avutil.h while at it.
11 years ago
Diego Biurrun
b83d1ee3b4
avutil: Move library version related macros to version.h
...
This is a more sensible place for these macros.
11 years ago
Luca Barbato
c85aad9cb2
doxy: Define a group for libswscale documentation
...
Uniform the style and eliminate a warning on newer doxygen version..
11 years ago
Michael Niedermayer
85cabf1ca9
avutil: add av_fopen_utf8()
...
fopen() on windows uses UTF-16, we use UTF-8 everywhere, this
function bridges the gap by using avpriv_open()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Luca Barbato
4272bb6ef1
doxy: Document avlog
...
Provide some information for every function and add a group.
11 years ago
Anton Khirnov
40020e171a
doxy: add a section about versioning.
12 years ago
Anton Khirnov
bc8c1cdc7b
lavfi doxy: add a page for lavfi.
12 years ago
Nicolas George
2a1d7ea5f8
lavu: add parens to macro argument.
12 years ago
Nicolas George
76c8060654
lavu: add av_pure to av_int_list_length_for_size.
12 years ago
Nicolas George
af0d270aac
lavu: add helper functions for integer lists.
...
Add av_int_list_length() to compute a list length.
Add av_opt_set_int_list() to set a binary option.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Clément Bœsch
18d9398143
doxy: add ref for lavfi, lpp and lsws.
12 years ago
Michael Niedermayer
5595e7a102
doxy: fix swr group name
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Peter Ross
9ccc349f77
ensure comment blocks that contain doxygen commands start with double asterix
...
Reveiwed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
01b760190d
lavr: add general API usage doxy
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Michael Niedermayer
183117fed7
libavutil: loose idiotic circular dependancies between version and avutil.h
...
This fixes the recently appearing PIX_FMT warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Andrey Utkin
cb3591e697
avutil: Cast AV_NOPTS_VALUE to int64_t explicitly
...
Thus comparsion against int64_t value will not raise warning
(from -Wextra set) about comparsion of unsigned and signed integer
commiter added () and changed the litteral to unsigned
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
86ab7b0f2f
Create version.h headers for libraries that lack them
13 years ago
Samuel Pitoiset
8c14f7a593
Add XTEA encryption support in libavutil
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
bc3dbcc8e5
Add Blowfish encryption support in libavutil
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
143f1e9203
eval: Add the isinf() function and tests for it
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
491846e4be
avutil: fix project name reference in doxy section
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c41899a377
lavu: split version info into version.h
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
d3d3a32c9d
lavu: add av_usleep() function
...
This function implements a delay using the first available
of the following functions:
- nanosleep()
- usleep()
- Sleep() (Windows)
The conditional #includes in time.c are simplified by including
unistd.h and windows.h whenever they are available rather than
having these lines triggered by specific functions.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
dc7e336cae
lavf, lavu: version bumps and APIchanges for av_gettime() move
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Michael Niedermayer
e69263cd01
avutil: add get_category() for the case where one AVClass can have more than 1 category
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
359abb18cf
lavu/error: add av_make_error_string() and av_err2str() convenience utilities
...
These functions are modeled after the corresponding utilities in
libavutil/timestamp.h.
13 years ago
Anton Khirnov
b0f0dfc485
Bump lavu minor and add an APIChanges entry for audioconvert functions.
13 years ago
Michael Niedermayer
5f509fa2e1
log: add category to AVClass
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Samuel Pitoiset
154486f9ad
opt: Add av_opt_set_bin()
...
Introduce a new function to set binary data through AVOption,
avoiding having to convert the binary data to a string inbetween.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Stefano Sabatini
f2ee065638
lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h
...
Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from
libavcodec/avcodec.h to libavutil/pixfmt.h.
The definition is more useful in libavutil, where it can be shared for
example by libavfilter and libswscale.
13 years ago
Michael Niedermayer
f8196759b4
fifo: add av_fifo_grow()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Anton Khirnov
d89eca507c
Add missing version bumps and APIchanges/Changelog entries.
13 years ago
Clément Bœsch
9548deeea9
lavu/bprint: add av_bprint_reset().
13 years ago
Carl Eugen Hoyos
143a5c55ff
Add yuva422p pix_fmt.
13 years ago
Michael Niedermayer
eadac34c80
cmdutils/avutil: Move cpu caps parse code into av_parse_cpu_caps()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Mans Rullgard
3527a73933
avutil: add av_parse_cpu_flags() function
...
This moves the cpu flag parsing code from avconv to avutil so
it can be accessed elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Justin Ruggles
0c0d1bce7c
avutil: add audio fifo buffer
...
The functions operate on the sample level rather than the byte level and work
with all audio sample formats.
13 years ago
Justin Ruggles
0109a09dc3
avutil: use align == 0 for default alignment in audio sample buffer functions
13 years ago
Nicolas George
b2db35995f
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>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
4d693b023c
avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt()
...
Based on a patch by Clément Bœsch <ubitux@gmail.com>
13 years ago
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