Michael Behrisch
c5ac86256b
lavu: remove comma at final enumeration items to fix pedantic warnings
8 years ago
Michael Niedermayer
492011f3c6
avutil/log: Fix occured typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Andreas Weis
fb9187129c
avutil/log: added av_log_format_line2 which returns buffer length
...
The new function behaves the same as av_log_format_line, but also forwards
the return value from the underlying snprintf call. This will allow
callers to accurately determine the size requirements for the line buffer.
Signed-off-by: Andreas Weis <github@ghulbus-inc.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Zhang Rui
d38bc6361d
avutil/log: modify AV_LOG_MAX_OFFSET for AV_LOG_TRACE
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Andreas Cadhalpun
ed0b1db640
doc: fix spelling errors
...
Neccessary -> Necessary
formated -> formatted
thee -> the
eventhough -> even though
seperately -> separately
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
10 years ago
Matteo Nastasi (mop)
9c3c7b4579
avutil/log: more complete description of av_log function
10 years ago
Vittorio Giovara
c253340ae6
log: Introduce a more verbose debug level
...
And deprecate av_dlog macro.
10 years ago
Michael Niedermayer
61eb602d27
avutil/log: add () to protect the argument of AV_LOG_C()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lukasz Marek
3c19744218
lavu/log: add device category macros
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
tue46wsdgxfjrt
669a09fb37
Add AV_LOG_PRINT_LEVEL flag to include log severity in default log formatting.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
4f698be8f6
avutil/log: add av_log_get_flags()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Luca Barbato
42ba1c51d9
log: Document AV_LOG_C usage
...
And move outside the wrong doxygen group.
11 years ago
Luca Barbato
7763118cae
log: Support for 256color terminals
...
And provide extended coloring capabilities for debugging.
The default colors do not change in 256 more to keep
supporting people using Black on White, White on Black and
Solarized terminals.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Lukasz Marek
19b3a25048
lavu/log: add device categories
...
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
11 years ago
Diego Biurrun
25a1ba814a
log: Have function parameter names match between .c and .h file
...
This fixes two related Doxygen warnings.
11 years ago
Michael Niedermayer
05eb0f125c
avutil/log: document log callback thread saftey requirements
...
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
Diego Biurrun
523c7bd23c
misc typo, style and wording fixes
12 years ago
Michael Niedermayer
a8e0d51bb8
opt: Add support to query ranges
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
1842b27564
lavu: 256 color support
...
Signed-off-by: Paul B Mahol <onemda@gmail.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
Michael Niedermayer
2e39e7d0f1
log: add AV_CLASS_CATEGORY_NB
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5f509fa2e1
log: add category to AVClass
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Nicolas George
26c6fec9d9
lavu: introduce av_log_format_line.
13 years ago
Jindrich Makovicka
67bbf07fb5
log.h: make AVClass a named struct
...
'struct AVClass' is used in the code since
641c7afe3c
, but AVClass is typedeffed as
an anonymous struct.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
641c7afe3c
AVOptions: add new API for enumerating children.
...
This will allow the caller to enumerate child contexts in a generic way
and since the API is recursive, it also allows for deeper nesting (e.g.
AVFormatContext->AVIOContext->URLContext)
This will also allow the new setting/reading API to transparently apply
to children contexts.
13 years ago
Martin Storsjö
9abbe8cc13
Use av_printf_format to check the usage of printf style functions
...
This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Clément Bœsch
4a34e54b0e
Fix zero-length gnu_printf format string warning.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Anton Khirnov
dc59ec5e79
AVOptions: add av_opt_find() as a replacement for av_find_opt.
14 years ago
Reimar Döffinger
3b6bbfa063
Check syntax even if DEBUG is not defined.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Luca Barbato
9ef5a9deaf
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
(cherry picked from commit dfd2a005eb
)
14 years ago
Luca Barbato
dfd2a005eb
Replace dprintf with av_dlog
...
dprintf clashes with POSIX.1-2008
14 years ago
Michael Niedermayer
1c1c80f0a3
2nd try to fix av_log() repeated detection
...
Originally committed as revision 25174 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
eee9119ad1
Add parameter names to av_log/av_vlog function declarations.
...
Doxygen gets confused without an explicit parameter name.
Originally committed as revision 23972 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2c1bb26535
Make it possible for a log context to keep track of its parent context.
...
This is usefull to keep track and display relations where things are a
bit more complex (like AVProtocols or demuxers used by demuxers and such)
Originally committed as revision 23199 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
8d2a5139da
av_default_item_name() so Simply AVClasses need 1 function less.
...
Originally committed as revision 23198 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
3fe1ec39c6
Add means to adjust the log level per context.
...
Originally committed as revision 23059 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jai Menon
707cd944d6
Fix typo.
...
Originally committed as revision 22988 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2308b6c19a
Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
...
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
68485d2728
Remove useless definition of struct AVCLASS.
...
Originally committed as revision 19402 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
082dea8e40
Remove all remaining code that was disabled through the major version bump.
...
Originally committed as revision 17903 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7d685b486b
spelling/grammar/consistency review part III
...
Originally committed as revision 16849 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bfe3676feb
spelling/grammar/consistency review part II
...
Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
af5f434f8c
add the necessary include for LIBAV*_VERSION_*
...
Originally committed as revision 16571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
91605c69fb
minor wording fix
...
Originally committed as revision 13068 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago