summaryrefslogtreecommitdiff
path: root/libavutil/log.h
Commit message (Collapse)AuthorAgeFilesLines
* avutil/log: Don't include avutil.hAndreas Rheinhardt2022-02-241-1/+1
| | | | | | | | | | | | It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe for deprecation reasons, but removing it has been forgotten after it had served is purpose. So remove it. For convenience, include version.h instead as LIBAVUTIL_VERSION_INT is supposed to be used when creating AVClasses. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/log: Reorder elements of AVClass to make it smallerAndreas Rheinhardt2021-08-251-5/+5
| | | | | | Putting child_next besides child_class_iterate is actually nicer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Remove obsolete version.h inclusionsAndreas Rheinhardt2021-07-221-1/+0
| | | | | | | These have mostly been added because of FF_API_*; yet when these were removed, removing the header has been forgotten. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil: remove deprecated AVClass.child_class_nextJames Almer2021-04-271-13/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/opt: add a more general child class iteration APIAnton Khirnov2020-06-101-0/+18
| | | | | | | Use opaque iteration state instead of the previous child class. This mirrors similar changes done in lavf/lavc. Deprecate the av_opt_child_class_next() API.
* avutil/log: Add av_log_once() for printing a message just once with a high ↵Michael Niedermayer2020-02-121-0/+21
| | | | | | | | | log level Compared to ad-hoc if(printed) ... code this allows the user to disable it by adjusting the log level Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc'James Almer2017-10-231-14/+0
|\ | | | | | | | | | | | | * commit '35cf146a33ce41a1adb6c9bd5a0827eacb1b6bfc': lavu: Drop deprecated av_dlog macro Merged-by: James Almer <jamrial@gmail.com>
| * lavu: Drop deprecated av_dlog macroVittorio Giovara2017-03-231-14/+0
| | | | | | | | Deprecated in 05/2015.
* | lavu: remove comma at final enumeration items to fix pedantic warningsMichael Behrisch2016-10-261-1/+1
| |
* | avutil/log: Fix occured typoMichael Niedermayer2016-04-281-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/log: added av_log_format_line2 which returns buffer lengthAndreas Weis2016-04-271-0/+17
| | | | | | | | | | | | | | | | | | 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>
* | avutil/log: modify AV_LOG_MAX_OFFSET for AV_LOG_TRACEZhang Rui2015-06-261-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc: fix spelling errorsAndreas Cadhalpun2015-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* | avutil/log: more complete description of av_log functionMatteo Nastasi (mop)2015-04-261-1/+1
| |
* | Merge commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e'Michael Niedermayer2015-04-201-0/+9
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e': log: Introduce a more verbose debug level Conflicts: doc/APIchanges doc/fftools-common-opts.texi libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log: Introduce a more verbose debug levelVittorio Giovara2015-04-191-0/+9
| | | | | | | | And deprecate av_dlog macro.
* | avutil/log: add () to protect the argument of AV_LOG_C()Michael Niedermayer2015-02-171-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu/log: add device category macrosLukasz Marek2014-08-181-0/+10
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Add AV_LOG_PRINT_LEVEL flag to include log severity in default log formatting.tue46wsdgxfjrt2014-04-261-0/+9
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avutil/log: add av_log_get_flags()Michael Niedermayer2014-04-121-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '42ba1c51d9e843135772a3b9e5cf036a37b28bdb'Michael Niedermayer2014-04-031-6/+8
|\ \ | |/ | | | | | | | | | | * commit '42ba1c51d9e843135772a3b9e5cf036a37b28bdb': log: Document AV_LOG_C usage Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log: Document AV_LOG_C usageLuca Barbato2014-04-031-6/+8
| | | | | | | | And move outside the wrong doxygen group.
* | Merge commit '7763118cae4eb468b032dbd29af15a011c2c233b'Michael Niedermayer2014-04-031-0/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit '7763118cae4eb468b032dbd29af15a011c2c233b': log: Support for 256color terminals Conflicts: doc/APIchanges libavutil/log.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log: Support for 256color terminalsLuca Barbato2014-04-031-0/+8
| | | | | | | | | | | | | | | | | | 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>
* | lavu/log: add device categoriesLukasz Marek2014-03-031-0/+6
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | Merge commit '25a1ba814ad80056247fd357ec4c6911324a3f66'Michael Niedermayer2014-02-121-2/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '25a1ba814ad80056247fd357ec4c6911324a3f66': log: Have function parameter names match between .c and .h file Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log: Have function parameter names match between .c and .h fileDiego Biurrun2014-02-121-2/+3
| | | | | | | | This fixes two related Doxygen warnings.
* | avutil/log: document log callback thread saftey requirementsMichael Niedermayer2013-10-231-0/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '4272bb6ef1533846a788c259cc498562d0704444'Michael Niedermayer2013-10-061-10/+98
|\ \ | |/ | | | | | | | | | | * commit '4272bb6ef1533846a788c259cc498562d0704444': doxy: Document avlog Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxy: Document avlogLuca Barbato2013-10-051-10/+98
| | | | | | | | Provide some information for every function and add a group.
* | Merge commit '523c7bd23c781aa0f3a85044896f5e18e8b52534'Michael Niedermayer2012-12-191-5/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '523c7bd23c781aa0f3a85044896f5e18e8b52534': misc typo, style and wording fixes Conflicts: libavcodec/options_table.h libavutil/pixfmt.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * misc typo, style and wording fixesDiego Biurrun2012-12-181-5/+6
| |
* | opt: Add support to query rangesMichael Niedermayer2012-12-081-0/+8
| | | | | | | | | | Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: 256 color supportPaul B Mahol2012-07-071-0/+2
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avutil: add get_category() for the case where one AVClass can have more than ↵Michael Niedermayer2012-06-191-0/+8
| | | | | | | | | | | | 1 category Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | log: add AV_CLASS_CATEGORY_NBMichael Niedermayer2012-06-031-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | log: add category to AVClassMichael Niedermayer2012-06-011-0/+18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspectStefano Sabatini2012-02-061-0/+2
| | | | | | | | Factorize code and provide ratio parsing consistency.
* | lavu: introduce av_log_format_line.Nicolas George2011-12-081-0/+10
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-131-5/+13
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (31 commits) tiffenc: initialize forgotten avctx. avplay: free the active audio packet at exit. avplay: free rdft data used for spectrogram analysis. log.h: make AVClass a named struct fix ac3 encoder documentation vc1: more prettyprinting cosmetics vc1: prettyprint some tables vc1: K&R formatting cosmetics AVOptions: bump minor and add APIchanges entry. cmdutils/avtools: simplify show_help() by using av_opt_child_class_next() AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_* Remove all uses of deprecated AVOptions API. AVOptions: add av_opt_next, deprecate av_next_option. AVOptions: add functions for evaluating option strings. AVOptions: split get_number(). AVOptions: add av_opt_get*, deprecate av_get*. AVOptions: add av_opt_set*(). AVOptions: add new API for enumerating children. rv34: move inverse transform functions to DSP context flvenc: Write the right metadata entry count ... Conflicts: avconv.c cmdutils.c doc/APIchanges ffplay.c ffprobe.c libavcodec/ac3dec.c libavcodec/h264.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options.c libavdevice/libdc1394.c libavdevice/v4l2.c libavfilter/vf_drawtext.c libavformat/flvdec.c libavformat/mpegtsenc.c libavformat/options.c libavutil/avutil.h libavutil/opt.c libswscale/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * log.h: make AVClass a named structJindrich Makovicka2011-10-121-1/+1
| | | | | | | | | | | | | | | | 'struct AVClass' is used in the code since 641c7afe3c17334b81e3e2eef88f1751eb68f89f, but AVClass is typedeffed as an anonymous struct. Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * AVOptions: add new API for enumerating children.Anton Khirnov2011-10-121-4/+12
| | | | | | | | | | | | | | | | | | 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.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-241-5/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: Consistently use '@' instead of '\' for Doxygen markup. Use av_printf_format to check the usage of printf style functions Add av_printf_format, for marking printf style format strings and their parameters ARM: enable thumb for Cortex-M* CPUs nsvdec: Propagate error values instead of returning 0 in nsv_read_header(). build: remove SRC_PATH_BARE variable build: move basic rules and variables to main Makefile build: move special targets to end of main Makefile lavdev: improve feedback in case of invalid frame rate/size vfwcap: prefer "framerate_q" over "fps" in vfw_read_header() v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters() fbdev: prefer "framerate_q" over "fps" in device context bktr: prefer "framerate" over "fps" for grab_read_header() ALSA: implement channel layout for playback. alsa: support unsigned variants of already supported signed formats. alsa: add support for more formats. ARM: allow building in Thumb2 mode Conflicts: common.mak doc/APIchanges libavcodec/vdpau.h libavdevice/alsa-audio-common.c libavdevice/fbdev.c libavdevice/libdc1394.c libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Use av_printf_format to check the usage of printf style functionsMartin Storsjö2011-06-231-5/+2
| | | | | | | | | | | | | | | | 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>
* | Fix zero-length gnu_printf format string warning.Clément Bœsch2011-06-211-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-181-0/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: lavc: add opt_find to AVCodecContext class. h264: Complexify frame num gap shortening code intreadwrite.h: fix AV_RL32/AV_RB32 signedness. Fix decoding of mpegts streams with h264 video that does *NOT* have b frames Add minor bumps and APIChanges entries for lavf private options. ffmpeg: deprecate -vc and -tvstd ffmpeg: use new avformat_open_* API. ffserver: use new avformat_open_* API. ffprobe: use new avformat_open_* API. ffplay: use new avformat_open_* API. cmdutils: add opt_default2(). dict: add AV_DICT_APPEND flag. lavf: add avformat_write_header() as a replacement for av_write_header(). Deprecate av_open_input_* and remove their uses. lavf: add avformat_open_input() as a replacement for av_open_input_* AVOptions: add av_opt_find() as a replacement for av_find_opt. AVOptions: add av_opt_set_dict() mapping a dictionary struct to a context. ffmpeg: don't abuse a global for passing frame size from input to output ffmpeg: don't abuse a global for passing pixel format from input to output ffmpeg: initialise encoders earlier. Conflicts: cmdutils.c doc/APIchanges ffmpeg.c ffplay.c ffprobe.c libavcodec/h264.c libavformat/avformat.h libavformat/utils.c libavformat/version.h libavutil/avutil.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * AVOptions: add av_opt_find() as a replacement for av_find_opt.Anton Khirnov2011-06-161-0/+7
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace dprintf with av_dlogLuca Barbato2011-01-291-0/+11
| | | | | | | | dprintf clashes with POSIX.1-2008
* | Check syntax even if DEBUG is not defined.Reimar Döffinger2011-05-111-1/+1
| |